Guys I need some help in the in/out when applying access list.
I am working on a scenario now ( sorry I dont have a link) however Im confused about which interface to be applying it to the inbound or outbound..
Example... Say you have Network 1 and Network 3. In between those networks say, you have two routers called mutt and jeff. Scenario is for network 3 not to access network 1.
Network 1=172.16.60.0/24 Host machine 172.16.60.100/24 connected to jeff router at int fa 0/0 on the otherside of the router is s0/0 going out to s0/1 on mutt
Network 3=172.16.50.0/24 Server 172.16.50.100/24 connected to mutt router on int fa 0/0 on the otherside is s0/1 which connects back to jeff
Now I understand the standard ACL closest to the destination as possible which in this case would be fa 0/0 on Jeff.
But why on earth would you want that outbound??
Jeff>enable
Jeff#configure terminal
Jeff(config)#access-list 30 deny 172.16.50.0 0.0.0.255
Jeff(config)#access-list 30 permit any
Jeff(config)#interface fastethernet 0/0
Jeff(config-if)#ip access-group 30 out
I would think since the object here is to STOP having network 3 connect to network 1 you want want this ACL INBOUND say on S0/0.... Network 1 can access network 3 but not the other way around...
Please help me on this very confused.