Questa la mia configurazione:
Codice: Seleziona tutto
!
version 12.4
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
service internal
!
hostname Bagigio
!
boot-start-marker
boot-end-marker
!
enable secret 5 xxxxxxxxxxxxxxxxx
!
aaa new-model
!
!
!
!
aaa session-id common
clock timezone MET 1
clock summer-time MEDT recurring last Sun Mar 2:00 last Sun Oct 3:00
!
crypto pki trustpoint TP-self-signed-4268052272
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-4268052272
revocation-check none
rsakeypair TP-self-signed-4268052272
!
!
crypto pki certificate chain TP-self-signed-4268052272
certificate self-signed 01 nvram:IOS-Self-Sig#B.cer
dot11 syslog
ip cef
!
!
no ip dhcp use vrf connected
no ip dhcp conflict logging
ip dhcp excluded-address 192.168.0.1 192.168.0.10
!
ip dhcp pool CASA
network 192.168.0.0 255.255.255.0
default-router 192.168.0.1
domain-name CASA
dns-server 88.149.128.12 88.149.128.22
!
!
ip domain name xxxxxx.dyndns.org
ip name-server 88.149.128.12
ip name-server 88.149.128.22
ip inspect max-incomplete low 297
ip inspect max-incomplete high 372
ip inspect one-minute high 1721
ip inspect one-minute low 1377
ip inspect name IDS ftp
ip inspect name IDS dns
ip inspect name IDS h323
ip inspect name IDS https
ip inspect name IDS icmp
ip inspect name IDS realaudio
ip inspect name IDS tftp
ip inspect name IDS tcp
ip inspect name IDS udp
ip inspect name IDS http
ip inspect name IDS ssh
ip ddns update method dyndns
HTTP
add http://xxxxxxx:[email protected]/nic/update?system=dyndns&hostname=<h>&myip=<a>
interval maximum 28 0 0 0
!
login block-for 300 attempts 3 within 30
!
multilink bundle-name authenticated
!
!
username xxxxx password 7 xxxxxxxxx
!
!
archive
log config
hidekeys
!
!
ip ssh time-out 15
ip ssh version 2
!
!
!
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
no dsl bitswap
!
interface ATM0.1 point-to-point
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Vlan1
ip address 192.168.0.1 255.255.255.0
ip access-group 199 out
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
hold-queue 100 out
!
interface Dialer0
ip ddns update hostname xxx.dyndns.org
ip ddns update dyndns
ip address negotiated
ip access-group 100 in
ip nat outside
ip inspect IDS out
ip virtual-reassembly
encapsulation ppp
ip tcp header-compression
dialer pool 1
dialer-group 1
no cdp enable
ppp pap sent-username xxxxxx password 7 xxxxxxxxx
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 Dialer0
!
!
no ip http server
ip http authentication local
no ip http secure-server
ip nat translation timeout 300
ip nat translation tcp-timeout 120
ip nat translation udp-timeout 100
ip nat translation finrst-timeout 10
ip nat translation dns-timeout 30
ip nat translation icmp-timeout 30
ip nat inside source static udp 192.168.0.10 88 interface Dialer0 88
ip nat inside source static udp 192.168.0.10 3074 interface Dialer0 3074
ip nat inside source static tcp 192.168.0.10 3074 interface Dialer0 3074
ip nat inside source static udp 192.168.0.8 22 interface Dialer0 2222
ip nat inside source static tcp 192.168.0.3 5000 interface Dialer0 5000
ip nat inside source static udp 192.168.0.3 5001 interface Dialer0 5001
ip nat inside source static udp 192.168.0.2 4672 interface Dialer0 4672
ip nat inside source static tcp 192.168.0.2 4662 interface Dialer0 4662
ip nat inside source static tcp 192.168.0.8 8000 interface Dialer0 8000
ip nat inside source static tcp 192.168.0.8 8001 interface Dialer0 8001
ip nat inside source list 1 interface Dialer0 overload
!
!
access-list 1 permit 192.168.0.0 0.0.0.255
access-list 100 remark *** ACL PER INTERFACCIA ESTERNA ***
access-list 100 remark *** REGOLE PER VIRUS & co ***
access-list 100 deny ip host 0.0.0.0 any
access-list 100 deny ip 127.0.0.0 0.255.255.255 any
access-list 100 deny ip 192.0.2.0 0.0.0.255 any
access-list 100 deny ip 224.0.0.0 31.255.255.255 any
access-list 100 deny ip 10.0.0.0 0.255.255.255 any
access-list 100 deny ip 172.16.0.0 0.15.255.255 any
access-list 100 deny ip 192.168.0.0 0.0.255.255 any
access-list 100 permit icmp any any echo
access-list 100 permit icmp any any echo-reply
access-list 100 permit icmp any any host-unreachable
access-list 100 permit icmp any any net-unreachable
access-list 100 deny icmp any any
access-list 100 deny udp any any eq netbios-ss
access-list 100 deny udp any any eq netbios-ns
access-list 100 deny udp any any eq netbios-dgm
access-list 100 remark *****************************
access-list 100 remark *** REGOLE PER XBOX LIVE ***
access-list 100 permit udp any any eq 88
access-list 100 remark ****************************
access-list 100 remark *** REGOLE PER SSH ***
access-list 100 permit tcp any any eq 22
access-list 100 remark ****************************
access-list 100 deny tcp any any lt 1024
access-list 100 deny udp any any lt 1024
access-list 100 permit ip any any
access-list 199 remark *** ACL PER INTERFACCIA ETHERNET ***
access-list 199 remark *** REGOLE PER XBOX LIVE ***
access-list 199 permit udp any host 192.168.0.10 eq 88
access-list 199 permit tcp any host 192.168.0.10 gt 1024
access-list 199 permit udp any host 192.168.0.10 gt 1024
access-list 199 remark ****************************
access-list 199 remark *** REGOLE PER SSH ***
access-list 199 permit tcp any host 192.168.0.1 eq 22
access-list 199 permit tcp any host 192.168.0.8 eq 22
access-list 199 remark ****************************
access-list 199 remark *** REGOLE PER STARCRAFT 2 ***
access-list 199 permit tcp any host 192.168.0.3 eq 1119
access-list 199 permit udp any host 192.168.0.3 eq 1119
access-list 199 permit tcp any host 192.168.0.3 eq 1120
access-list 199 remark ******************************
access-list 199 remark *** REGOLE PER EMULE ***
access-list 199 permit tcp any host 192.168.0.2 eq 4662
access-list 199 permit udp any host 192.168.0.2 eq 4672
access-list 199 permit udp any host 192.168.0.3 eq 5001
access-list 199 permit tcp any host 192.168.0.3 eq 5000
access-list 199 remark ************************
access-list 199 remark *** REGOLE PER IL SERVER BITTORRENT***
access-list 199 permit tcp any host 192.168.0.8 eq 8000
access-list 199 permit tcp any host 192.168.0.8 eq 8001
access-list 199 remark ************************
access-list 199 permit tcp any any established
access-list 199 deny ip any any
dialer-list 1 protocol ip permit
no cdp run
!
!
!
!
control-plane
!
!
line con 0
logging synchronous
no modem enable
stopbits 1
speed 115200
line aux 0
line vty 0 1
access-class 1 in
exec-timeout 120 0
privilege level 15
password 7 xxxxxxxx
logging synchronous
length 0
transport input telnet ssh
line vty 2 4
exec-timeout 120 0
privilege level 15
logging synchronous
length 0
transport input ssh
!
scheduler max-task-time 5000
sntp server 207.46.197.32
sntp server 192.43.244.18
end

Il router è un 877 con la IOS c870-advipservicesk9-mz.124-15.T8.bin
Attendo fiducioso un'illuminazione =)
Grazie.