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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Block Port 1433 Only

Status
Not open for further replies.

Teaguec

IS-IT--Management
Oct 2, 2002
2
US
I want to block port #1433 on my cisco 2501 router to inbound traffic, how do I do this? I am using ios software version 10.2 so I can't use the "any" command on the access-list.
 
I am not too sure where you got the idea that you can't use the any keyword. the correct syntax would be

access-list 101 deny tcp any eq 1433 any eq 1433
access-list 101 deny udp any eq 1433 any eq 1433
access-list 101 deny tcp any any eq 1433
access-list 101 deny udp any any eq 1433
access-list 101 permit ip any any established

you don't have to use the established keyword, and you may or may not need all of the entries depending on what you are trying to accomplish.....here is a link explaining extended access-list for IOS version 12.2

Erik Rudnick, CCIE No. 9545
mailto:erik@kuriosity.com
 
Thanks Erik but when typing for example "access-list 101 deny tcp any eq 1433 any eq 1433" while in config mode I receive an error that reads, "invalid input detected at marker and it points to the first character "a" in the word any. As I indicated earlier for some reason I can't use the "any" command I only assumed it was because the "any" command came out after IOS version 10.2.
 
"any" is shortcut for: 0.0.0.0 255.255.255.255 Peter Mesjar
CCNA, A+ certified
pmesjar@centrum.sk
 
oops, just got back from vacation....and reread....i thought that you said IOS version 12.2 not 10.2.....sorry about that.....but you can use 0.0.0.0 255.255.255.255 just like pmesjar stated.... Erik Rudnick, CCIE No. 9545
mailto:erik@kuriosity.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top