12-27-2005 01:17 PM - edited 02-20-2020 09:35 PM
I'm considering putting this ACL on the inside interface to prevent the following ports from going out to the 'net. I don't want to interrupt the other IP traffic and was hoping for just a sanity check to make sure I'm doing this one right. I'd hate to mess up my inside interface.
access-list 130 deny tcp any any eq 135
access-list 130 deny udp any any eq 135
access-list 130 deny udp any any eq netbios-ns
access-list 130 deny udp any any eq netbios-dgm
access-list 130 deny tcp any any eq 138
access-list 130 deny tcp any any eq netbios-ssn
access-list 130 deny tcp any any eq 445
access-list 130 deny tcp any any eq 593
access-list 130 deny tcp any any range 3127 3199
access-list 130 permit ip any any
I'm not sure if I should put the "permit ip any any" at the end of the ACL or at the begining.
Solved! Go to Solution.
12-27-2005 03:22 PM
the entry permitting any any must be placed at the end of the acl, as the acl works in order.
12-27-2005 03:22 PM
the entry permitting any any must be placed at the end of the acl, as the acl works in order.
12-27-2005 03:24 PM
Thanks I'll be implimenting that this week. I was afraid that if I put the any any at the end it would just negate all the previous lines.
08-10-2011 08:22 AM
Hi!
can someone help me and explain what I'm doing wrong by setting up ACL's?
It semms that on my SG 300-52 the following setup blocks all acces on port 3 instead of blocking only for MAC xx:xx:xx:xx:5f:b6
many thanks in advance!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide