03-03-2009 06:27 PM - edited 03-06-2019 04:22 AM
I need an extended acl for two hosts (192.168.51.1 and 192.168.51.2) connected to a 2950, which is connected to G0/1 on my router (see attachment). I want local hosts on 192.168.50.0/24 and hosts from the internet to access these servers. I know there's a lot of other stuff that I need to configure (ie. ports, destination hosts address), but this is just to start me off. Thanks in advance.
Solved! Go to Solution.
03-03-2009 06:51 PM
David
It's not entirely clear whay you want. If you simply want an acl that allows all IP from Internet and internal to those hosts then
access-list 101 permit ip any host 192.168.51.1
access-list 101 permit ip any host 192.168.51.2
int gi0/1
ip access-group 101 out
Note you don't need to have the LAN address ie. 192.168.50.0/24 because you have to use a source address of any because of the Internet addresses.
Jon
03-03-2009 06:51 PM
David
It's not entirely clear whay you want. If you simply want an acl that allows all IP from Internet and internal to those hosts then
access-list 101 permit ip any host 192.168.51.1
access-list 101 permit ip any host 192.168.51.2
int gi0/1
ip access-group 101 out
Note you don't need to have the LAN address ie. 192.168.50.0/24 because you have to use a source address of any because of the Internet addresses.
Jon
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