10-17-2010 04:19 PM - edited 03-04-2019 10:08 AM
Hello,
I have a secondary connection to a different ISP that i'm trying to apply an acl on in the inbound direction on a sub interface, but as soon as I apply the acl all traffic originating from inside workstations and going out to the internet is dead..
I have the same style of acl applied to our other isp connection in the inbound direction as well and there are no issuse. Traffic from inside devices can get out to the internet without problems.
The only difference is the 1st ISP connection is on a physical interface on the router and not a sub interface.
Example of the ACL:
permit ip any host x.x.x.x eq www
permit ip any host x.x.x.x eq smtp
deny ip any any log
So applying this inbound allows anyone on the internet to access the web server and the mail server, but deny's anything else.
This makes no sense to me why when I apply the acl inbound on the sub interface that all inside to outside traffic is blocked. Any thoughts?
Dan.
Solved! Go to Solution.
10-17-2010 04:26 PM
There is no difference applying ACL on physical or sub interface as ACL is layer 3 and 4, not lower layer, hence doesn't make any diffrence applying it on the physical or sub interface.
ACL is also stateless, hence if you apply ACL on a router (IOS), then you would also need to allow the return traffic, unless you configure CBAC (ip inspect).
To allow return traffic of your outbound traffic, please configure CBAC (ip inspect).
Here is a sample configuration:
Hope that helps.
10-17-2010 04:26 PM
There is no difference applying ACL on physical or sub interface as ACL is layer 3 and 4, not lower layer, hence doesn't make any diffrence applying it on the physical or sub interface.
ACL is also stateless, hence if you apply ACL on a router (IOS), then you would also need to allow the return traffic, unless you configure CBAC (ip inspect).
To allow return traffic of your outbound traffic, please configure CBAC (ip inspect).
Here is a sample configuration:
Hope that helps.
10-17-2010 04:34 PM
Configuring IP Access Lists
http://www.cisco.com/en/US/customer/products/sw/secursw/ps1018/products_tech_note09186a00800a5b9a.shtml#netdiag
Configuring Commonly Used IP ACLs
http://www.cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080100548.shtml
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