Hi,
I am by far a cisco expert, and i apologise in advance for my crappy IOS config. Here is the situation:
I am configuring my 1721 with a WIC 1T (serial) connected to a PPP connection, then NATted out to the rest of the network through the Fast Ethernet Interface. Here is my config file:
Current configuration : 2225 bytes
!
version 12.3
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname TheRouter
!
no logging console
enable secret 5 xxxxxxxxxxxxxxxxx
enable password 7 xxxxxxxxxxxxxxxxxxxxxxx
!
ip subnet-zero
!
!
no ip domain lookup
!
!
!
!
!
interface FastEthernet0
description connected to EthernetLAN
ip address 192.168.8.3 255.255.255.0
ip nat inside
speed auto
full-duplex
!
interface Serial0
description connected to Internet
ip address 61.88.xxx.xxx 255.255.255.252
ip access-group 106 in
ip nat outside
encapsulation ppp
no fair-queue
!
router rip
version 2
passive-interface Serial0
network 192.168.8.0
no auto-summary
!
ip nat pool Cisco1721-natpool-0 61.88.172.106 61.88.xxx.xxx netmask 255.255.255.252
ip nat inside source list 1 pool Cisco1721-natpool-0 overload
ip nat inside source list 10 interface Serial0 overload
ip nat inside source static tcp 192.168.8.1 25 61.88.xxx.xxx 25 extendable
ip nat inside source static tcp 192.168.8.1 110 61.88.xxx.xxx 110 extendable
ip nat inside source static tcp 192.168.8.1 53 61.88.xxx.xxx 53 extendable
ip classless
ip route 0.0.0.0 0.0.0.0 61.88.xxx.xxx
no ip http server
!
access-list 1 permit 192.168.8.0 0.0.0.255
access-list 106 permit tcp any any eq ftp-data
access-list 106 permit tcp any any eq ftp
access-list 106 permit tcp any any eq telnet
access-list 106 permit ip any any
access-list 106 permit tcp any any eq smtp
access-list 106 permit icmp any any echo
access-list 106 permit icmp any any echo-reply
access-list 106 permit tcp any any eq www
access-list 106 permit tcp any any eq pop3
access-list 106 permit tcp any any eq domain
access-list 106 permit udp any any eq domain
access-list 106 permit udp any any eq nameserver
access-list 106 permit tcp any any eq 4899
access-list 106 permit tcp any any eq 6600
dialer-list 1 protocol ip permit
no cdp run
snmp-server community public RO
snmp-server location xxxxxxxxxxxxxxxxx
snmp-server contact xxxxxxxxxxxxxxxxxx
snmp-server enable traps tty
!
line con 0
exec-timeout 0 0
password 7 xxxxxxxxxxxxxxxxxxxxxxxx
login
line aux 0
line vty 0 4
password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxx
login
!
no scheduler allocate
!
end
(4899 and 6600 are for a remote management software)
The problem is mainly two things:
One:
i am unable to type 'no ip nat pool Cisco1721-natpool-0' to get rid of that nat pool. apparently its "in use", I have tried getting rid of the references to nat on the interfaces (no ip nat inside, outside etc..), but still nothing. This doesnt REALLY worry me, having the line 'ip nat inside source list 10 interface Serial0 overload' doesnt affect it does it?
Two:
Although I have enabled all the different ports in access list 106, and applied it to s 0, a port scanning program (NetScanTool v5.1) detected only the Telnet port was open. I can telnet to it fine. Any reason for this? should i maybe use the port numbers instead of the key words? apparently 4899 and 6600 are still closed, so i dont know if that would work either. grrr
Thanks in Advance and i apologise again for being such a stupid newbie to cisco routers
-Trav
I am by far a cisco expert, and i apologise in advance for my crappy IOS config. Here is the situation:
I am configuring my 1721 with a WIC 1T (serial) connected to a PPP connection, then NATted out to the rest of the network through the Fast Ethernet Interface. Here is my config file:
Current configuration : 2225 bytes
!
version 12.3
service timestamps debug uptime
service timestamps log uptime
service password-encryption
!
hostname TheRouter
!
no logging console
enable secret 5 xxxxxxxxxxxxxxxxx
enable password 7 xxxxxxxxxxxxxxxxxxxxxxx
!
ip subnet-zero
!
!
no ip domain lookup
!
!
!
!
!
interface FastEthernet0
description connected to EthernetLAN
ip address 192.168.8.3 255.255.255.0
ip nat inside
speed auto
full-duplex
!
interface Serial0
description connected to Internet
ip address 61.88.xxx.xxx 255.255.255.252
ip access-group 106 in
ip nat outside
encapsulation ppp
no fair-queue
!
router rip
version 2
passive-interface Serial0
network 192.168.8.0
no auto-summary
!
ip nat pool Cisco1721-natpool-0 61.88.172.106 61.88.xxx.xxx netmask 255.255.255.252
ip nat inside source list 1 pool Cisco1721-natpool-0 overload
ip nat inside source list 10 interface Serial0 overload
ip nat inside source static tcp 192.168.8.1 25 61.88.xxx.xxx 25 extendable
ip nat inside source static tcp 192.168.8.1 110 61.88.xxx.xxx 110 extendable
ip nat inside source static tcp 192.168.8.1 53 61.88.xxx.xxx 53 extendable
ip classless
ip route 0.0.0.0 0.0.0.0 61.88.xxx.xxx
no ip http server
!
access-list 1 permit 192.168.8.0 0.0.0.255
access-list 106 permit tcp any any eq ftp-data
access-list 106 permit tcp any any eq ftp
access-list 106 permit tcp any any eq telnet
access-list 106 permit ip any any
access-list 106 permit tcp any any eq smtp
access-list 106 permit icmp any any echo
access-list 106 permit icmp any any echo-reply
access-list 106 permit tcp any any eq www
access-list 106 permit tcp any any eq pop3
access-list 106 permit tcp any any eq domain
access-list 106 permit udp any any eq domain
access-list 106 permit udp any any eq nameserver
access-list 106 permit tcp any any eq 4899
access-list 106 permit tcp any any eq 6600
dialer-list 1 protocol ip permit
no cdp run
snmp-server community public RO
snmp-server location xxxxxxxxxxxxxxxxx
snmp-server contact xxxxxxxxxxxxxxxxxx
snmp-server enable traps tty
!
line con 0
exec-timeout 0 0
password 7 xxxxxxxxxxxxxxxxxxxxxxxx
login
line aux 0
line vty 0 4
password 7 xxxxxxxxxxxxxxxxxxxxxxxxxxx
login
!
no scheduler allocate
!
end
(4899 and 6600 are for a remote management software)
The problem is mainly two things:
One:
i am unable to type 'no ip nat pool Cisco1721-natpool-0' to get rid of that nat pool. apparently its "in use", I have tried getting rid of the references to nat on the interfaces (no ip nat inside, outside etc..), but still nothing. This doesnt REALLY worry me, having the line 'ip nat inside source list 10 interface Serial0 overload' doesnt affect it does it?
Two:
Although I have enabled all the different ports in access list 106, and applied it to s 0, a port scanning program (NetScanTool v5.1) detected only the Telnet port was open. I can telnet to it fine. Any reason for this? should i maybe use the port numbers instead of the key words? apparently 4899 and 6600 are still closed, so i dont know if that would work either. grrr
Thanks in Advance and i apologise again for being such a stupid newbie to cisco routers
-Trav