I have a cisco 1700 series router with a eth1 interface and a serial0 interface that is doing nat to the internet. I am trying to create an access-list set to control traffic inbound and I have 2 static statements ot put servers on the internet
Now here is the tricky part I tested some access-lists on the inbound traffic
access-list 103 permit icmp any any
Access-list 103 permit 53 any any
access-list 103 deny tcp any host PUBIP eq smtp
access-list 103 deny tcp any host PUBIP eq 135
access-list 103 deny tcp any host PUBIP eq 139
access-list 103 deny tcp any host PUBIP eq 445
access-list 103 deny tcp any host PUBIP eq 2301
access-list 103 deny tcp any host PUBIP eq 8080
access-list 103 permit tcp any host SER0IP eq telnet
access-list 103 permit tcp any host PUBIP2 eq 1352
access-list 103 permit udp any host PUBIP2 eq 1352
access-list 103 permit tcp any host PUBIP2 eq smtp
access-list 103 permit tcp any host PUBIP eq 1494
access-list 103 permit udp any host PUBIP eq 1604
access-list 103 permit tcp any host PUBIP eq 3389
ip access-group 103 in
I could not get a response form PUBIP or PUBIP2 so I removed the access group from ser0 interface
I had no problems with the router but it was wide open to the internet (not good)
So I tested some basic access list with access to my services needed
Access-list 103 permit icmp any any
access-list 103 permit tcp any host SER0IP eq telnet
access-list 103 permit tcp any host PUBIP2 eq 1352
access-list 103 permit udp any host PUBIP2 eq 1352
access-list 103 permit tcp any host PUBIP2 eq smtp
access-list 103 permit tcp any host PUBIP eq 1494
access-list 103 permit udp any host PUBIP eq 1604
access-list 103 permit tcp any host PUBIP eq 3389
ip access-group 103 in
still no response
so I ping from the internet ser0 ip got replies
ping PIBIP no response
ping PUBIP2 no response
I then remove access-group 103 form the interface and this should leave it open to the internet
I then ping and port scan the public ip’s and the ser0 interface. i get response from the interface and one public ip but not the other
So I then telnet in to the router and ping the interface good then the PUBIP nope then the PUBIP2 good
What could stop the one nated public ip address from responding ?
Here is osme of the config
interface Ethernet0
ip address 192.168.60.254 255.255.255.0
ip nat inside
no ip route-cache
!
interface Serial0
description Lease Line
ip address 64.80.60.14 255.255.255.XXX
ip access-group 103 in
ip nat outside
no ip route-cache
ip nat inside source list 1 interface Serial0 overload
ip nat inside source static 192.168.200.2 PUBIP1
ip nat inside source static 192.168.200.1 PUBIP2
ip nat inside source static 192.168.60.3 PUBIP
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0
ip route 192.168.2.0 255.255.255.0 192.168.60.253
Any ideas ?
btw i'm using ver 12.1
Now here is the tricky part I tested some access-lists on the inbound traffic
access-list 103 permit icmp any any
Access-list 103 permit 53 any any
access-list 103 deny tcp any host PUBIP eq smtp
access-list 103 deny tcp any host PUBIP eq 135
access-list 103 deny tcp any host PUBIP eq 139
access-list 103 deny tcp any host PUBIP eq 445
access-list 103 deny tcp any host PUBIP eq 2301
access-list 103 deny tcp any host PUBIP eq 8080
access-list 103 permit tcp any host SER0IP eq telnet
access-list 103 permit tcp any host PUBIP2 eq 1352
access-list 103 permit udp any host PUBIP2 eq 1352
access-list 103 permit tcp any host PUBIP2 eq smtp
access-list 103 permit tcp any host PUBIP eq 1494
access-list 103 permit udp any host PUBIP eq 1604
access-list 103 permit tcp any host PUBIP eq 3389
ip access-group 103 in
I could not get a response form PUBIP or PUBIP2 so I removed the access group from ser0 interface
I had no problems with the router but it was wide open to the internet (not good)
So I tested some basic access list with access to my services needed
Access-list 103 permit icmp any any
access-list 103 permit tcp any host SER0IP eq telnet
access-list 103 permit tcp any host PUBIP2 eq 1352
access-list 103 permit udp any host PUBIP2 eq 1352
access-list 103 permit tcp any host PUBIP2 eq smtp
access-list 103 permit tcp any host PUBIP eq 1494
access-list 103 permit udp any host PUBIP eq 1604
access-list 103 permit tcp any host PUBIP eq 3389
ip access-group 103 in
still no response
so I ping from the internet ser0 ip got replies
ping PIBIP no response
ping PUBIP2 no response
I then remove access-group 103 form the interface and this should leave it open to the internet
I then ping and port scan the public ip’s and the ser0 interface. i get response from the interface and one public ip but not the other
So I then telnet in to the router and ping the interface good then the PUBIP nope then the PUBIP2 good
What could stop the one nated public ip address from responding ?
Here is osme of the config
interface Ethernet0
ip address 192.168.60.254 255.255.255.0
ip nat inside
no ip route-cache
!
interface Serial0
description Lease Line
ip address 64.80.60.14 255.255.255.XXX
ip access-group 103 in
ip nat outside
no ip route-cache
ip nat inside source list 1 interface Serial0 overload
ip nat inside source static 192.168.200.2 PUBIP1
ip nat inside source static 192.168.200.1 PUBIP2
ip nat inside source static 192.168.60.3 PUBIP
ip classless
ip route 0.0.0.0 0.0.0.0 Serial0
ip route 192.168.2.0 255.255.255.0 192.168.60.253
Any ideas ?
btw i'm using ver 12.1