cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
304
Views
0
Helpful
1
Replies

Extended ACL for Two Hosts in DMZ

davidhuynh5
Level 1
Level 1

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.

1 Accepted Solution

Accepted Solutions

Jon Marshall
Hall of Fame
Hall of Fame

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

View solution in original post

1 Reply 1

Jon Marshall
Hall of Fame
Hall of Fame

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card