aiuto su configurazione router 2621
Inviato: gio 26 gen , 2006 12:15 am
mi sono ritrovato tra le mani un 2621 e lo ho settato per funzionare (per ora) come router di casa
volevo sapere se secondo voi ho commesso degli errori di configurazione o se cmq posso migliorare la configurazione raggiunta .
a casa ho una macchina su cui girano sempre amule e Dc e quindi ho forwardato le porte necessarie .
Current configuration : 2007 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cisco2621
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$BM8W$sLBWuDXmMhJaIYhQzSNk01
!
no aaa new-model
ip subnet-zero
ip cef
!
!
no ip domain lookup
ip name-server 213.156.xx.xx
ip name-server 213.156.xx.xx
!
ip audit po max-events 100
!
!
interface FastEthernet0/0
ip address 172.16.0.254 255.255.255.0
ip nat inside
speed auto
full-duplex
!
interface FastEthernet0/1
ip address 23.243.1xx.xxx 255.255.248.0
ip access-group 101 in
ip nat outside
speed auto
full-duplex
!
ip nat pool ovrld-nat 23.243.1xx.xxx 23.243.1xx.xxx netmask 255.255.248.0
ip nat inside source list 2 pool ovrld-nat overload
ip nat inside source static tcp 172.16.0.4 4662 23.243.1xx.xxx 4662 extendable
ip nat inside source static udp 172.16.0.4 4672 23.243.1xx.xxx 4672 extendable
ip nat inside source static udp 172.16.0.4 4665 23.243.1xx.xxx 4665 extendable
ip nat inside source static tcp 172.16.0.4 9176 23.243.1xx.xxx 9176 extendable
ip nat inside source static udp 172.16.0.4 9176 23.243.1xx.xxx 9176 extendable
no ip http server
no ip http secure-server
ip classless
ip route 0.0.0.0 0.0.0.0 23.243.11x.X
!
!
access-list 1 permit 172.16.0.0 0.0.0.255
access-list 2 permit 172.16.0.0 0.0.0.255
access-list 101 permit icmp any any
access-list 101 deny tcp any any range ftp-data telnet
access-list 101 deny tcp any any eq www
access-list 101 deny tcp any any eq 2000
access-list 101 deny tcp any any eq 2049
access-list 101 deny udp any any eq 2049
access-list 101 permit tcp any any eq 4662
access-list 101 permit udp any any eq 4665
access-list 101 permit udp any any eq 4672
access-list 101 deny tcp any any range 6000 6010
access-list 101 permit tcp any any gt 1023
access-list 101 permit udp any any gt 1023
!
line con 0
line aux 0
line vty 0 4
access-class 1 in
exec-timeout 0 0
vorrei soprattutto sotituire l'access-list 101 con una route-map cosi da avere piu flessibilita di configurazione (attualmente se dovessi togliere una riga devo riscrivere tutta l'access list ).
la mia connessione adsl è fastweb adsl 6 mb
che ve ne pare ?
volevo sapere se secondo voi ho commesso degli errori di configurazione o se cmq posso migliorare la configurazione raggiunta .
a casa ho una macchina su cui girano sempre amule e Dc e quindi ho forwardato le porte necessarie .
Current configuration : 2007 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Cisco2621
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$BM8W$sLBWuDXmMhJaIYhQzSNk01
!
no aaa new-model
ip subnet-zero
ip cef
!
!
no ip domain lookup
ip name-server 213.156.xx.xx
ip name-server 213.156.xx.xx
!
ip audit po max-events 100
!
!
interface FastEthernet0/0
ip address 172.16.0.254 255.255.255.0
ip nat inside
speed auto
full-duplex
!
interface FastEthernet0/1
ip address 23.243.1xx.xxx 255.255.248.0
ip access-group 101 in
ip nat outside
speed auto
full-duplex
!
ip nat pool ovrld-nat 23.243.1xx.xxx 23.243.1xx.xxx netmask 255.255.248.0
ip nat inside source list 2 pool ovrld-nat overload
ip nat inside source static tcp 172.16.0.4 4662 23.243.1xx.xxx 4662 extendable
ip nat inside source static udp 172.16.0.4 4672 23.243.1xx.xxx 4672 extendable
ip nat inside source static udp 172.16.0.4 4665 23.243.1xx.xxx 4665 extendable
ip nat inside source static tcp 172.16.0.4 9176 23.243.1xx.xxx 9176 extendable
ip nat inside source static udp 172.16.0.4 9176 23.243.1xx.xxx 9176 extendable
no ip http server
no ip http secure-server
ip classless
ip route 0.0.0.0 0.0.0.0 23.243.11x.X
!
!
access-list 1 permit 172.16.0.0 0.0.0.255
access-list 2 permit 172.16.0.0 0.0.0.255
access-list 101 permit icmp any any
access-list 101 deny tcp any any range ftp-data telnet
access-list 101 deny tcp any any eq www
access-list 101 deny tcp any any eq 2000
access-list 101 deny tcp any any eq 2049
access-list 101 deny udp any any eq 2049
access-list 101 permit tcp any any eq 4662
access-list 101 permit udp any any eq 4665
access-list 101 permit udp any any eq 4672
access-list 101 deny tcp any any range 6000 6010
access-list 101 permit tcp any any gt 1023
access-list 101 permit udp any any gt 1023
!
line con 0
line aux 0
line vty 0 4
access-class 1 in
exec-timeout 0 0
vorrei soprattutto sotituire l'access-list 101 con una route-map cosi da avere piu flessibilita di configurazione (attualmente se dovessi togliere una riga devo riscrivere tutta l'access list ).
la mia connessione adsl è fastweb adsl 6 mb
che ve ne pare ?