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

ACL commands

durhamcs
Level 1
Level 1

I have a Pix 515e with 3 inter faces.

outside 206.135.121.3

inside 10.0.14.3

dmz 192.168.10.254

I would like to give a remote host 216.102.151.102 access to a server on the inside 10.0.102.5 using range 16151 -16241.

What are the commands I need to input for this to work?

1 Reply 1

vikrantarora
Level 1
Level 1

Please follow these steps:

Step 1. Write the access list allowing tcp traffic. public_ip_assigned_to_server should be one of the IP's given by your ISP.

access-list acl_out permit tcp host 216.102.151.102 host public_ip_assigned_to_server range 16151 16241

Step 2. Apply the access-list to the incoming traffic on the outside interface

access-group acl_out in interface outside

Step 3. Inbound access is denied by default, so put in a static after defining an access list as done in Step 1 above.

static (inside,outside) public_ip_assigned_to_server 10.0.102.5 netmask 255.255.255.255

This should be all. Hope it works!

vik

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: