Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Close ports

Status
Not open for further replies.

cbeazley

MIS
Aug 22, 2002
76
CA
I have a 2505 router that I need to apply some security on. I can shut down some ports by using 'no service tcp-small-servers' (and udp) but after running a scan I can still see ports 2001, 4001, 6001 and 9001 open.

What are these ports used for and how do I shut them down without using an ACL ?
 
You may try the following access-list:

access-list 199 deny tcp any any eq 2001
access-list 199 deny udp any any eq 2001
<you should repeat the process for each port you want to block>
Do not forget the implicit deny all at the end of the access-list:
access-list 199 permit ip any any

The access-list should be applied to to input interface:
interface <type> <number>
ip access-group 199 in

Any port over 1023 is user defined.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top