[c-nsp] closing ports

abs abhishake00 at yahoo.com
Thu Sep 24 02:58:40 EDT 2009


Hello all, 
I am new to this so please excuse my ignorance.

I am running the following version of IOS: Cisco IOS Software, 2800 Software (C2800NM-ADVENTERPRISEK9-M), Version 12.4(11)T, RELEASE SOFTWARE (fc2)

I recently made some changes to the config at which point a port scan on the router is showing all ports to be open.  I only want 80, 8080, and 22 to be open.  I know this is something very basic but I cannot seem to figure it out.  Here is my partial config.  Please let me know if additional information is required.  Thank you in advance.

==============================

ip nat inside source list 2 interface Cable-Modem0/0/0 overload
ip nat inside source list 4 interface Cable-Modem0/0/0 overload
ip nat inside source static tcp 192.168.2.210 8080 interface Cable-Modem0/0/0 8080
ip nat inside source static tcp 192.168.2.208 22 interface Cable-Modem0/0/0 22
ip nat inside source static tcp 192.168.2.208 80 interface Cable-Modem0/0/0 80

access-list 2 permit 192.168.2.0 0.0.0.255
access-list 2 deny   any
access-list 4 permit 192.168.54.0 0.0.0.255
access-list 4 deny   any

================ end config ================





      


More information about the cisco-nsp mailing list