Solved

ACL question

Posted on 2003-10-28
2
195 Views
Last Modified: 2011-08-18
Hi guys,

Whats the differnce between ip access-group 101 in and ip access-group 101 out?

Cheers,
Blue Print
0
Comment
Question by:blueprint123
2 Comments
 
LVL 13

Accepted Solution

by:
td_miles earned 50 total points
Comment Utility
"in" applies the access list to traffic "entering" the interface from an external source
"out" applies the access list to traffic leaving the interface from your router

as an example, if you have the access list:

access-list 101 permit ip w.x.y.z any
access-list 101 deny ip any any

==========
you could then apply this:
interface ethernet0
  ip access-group 101 in

which would permit any traffic from the device w.x.y.z that is connected to the ethernet0 interface (eg. via a switch) to enter the ethernet0 interface of the router. All other traffic would be denied.
==========
if you applied it:
interface ethernet0
  ip access-group 101 out

it would allow any traffic that was from the device w.x.y.z to LEAVE the ethernet0 interface. This traffic would have to be either generated locally by the router, or have entered the router from another interface and have been routed to ethernet0.
==========

In summary, think of the "in" and "out" in relation to the viewpoint of that router interface and an external device. If the external device is sending traffic to the router, then the traffic is "inbound". If the router is sending traffic to the other device, then the traffic is "outbound".

0
 
LVL 7

Expert Comment

by:NicBrey
Comment Utility
Just to add to td_miles comment:
Outgoing  ACL's  do not apply to traffic generated by the router itself. So, if you deny outgoing ICMP for example, you would still be able tto ping from the router console.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

In this tutorial I will show you with short command examples how to obtain a packet footprint of all traffic flowing thru your Juniper device running ScreenOS. I do not know the exact firmware requirement, but I think the fprofile command is availab…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now