05-10-2007 02:27 AM - edited 03-11-2019 03:11 AM
Hi,
I working on following scenario. I need some clarification on this.
nameif ethernet0 outside security0
nameif ethernet1 inside security100
ip address outside 209.165.201.2 255.255.255.248
ip address inside 209.165.201.9 255.255.255.248
static (inside,outside) 209.165.201.5 209.165.201.12 netmask 255.255.255.255
For the above confifuration, what should I enter in the access-list.
access-list acl_out permit tcp any host 209.165.201.12
access-group acl_out in interface outside
OR
access-list acl_out permit tcp any host 209.165.201.5
access-group acl_out in interface outside
For both what should IP sould I enter to acsess my Inside Server.
Solved! Go to Solution.
05-10-2007 04:01 AM
Hi
You can only configure one ip address in your static statement so it could be any spare ip address from your 209.165.201.0/29 subnet so you may as well use .5 if that is free.
HTH
Jon
05-10-2007 02:38 AM
Hi
You should use the following
access-list acl_out permit tcp any host 209.165.201.5
access-group acl_out in interface outside
HTH
Jon
05-10-2007 03:01 AM
Hi,
Thanks for you comment. what destination IP slould the end user use.
If it's 209.165.201.5, how the packet will be sent to default Gateway as the destination IP in same LAN.
05-10-2007 03:27 AM
Hi
The destination IP address should be 209.165.201.5 as that is the address you are presenting to the outside.
When you configure a static on the ASA/Pix it then becomes responsible for that IP address so it will respond to arp requests. So when the router receives the packet it will arp out for 209.165.201.5 and the ASA/pix will respond with the mac address of it's external interface.
Hope this makes sense
Jon
05-10-2007 03:47 AM
static (inside,outside) 209.165.X.X 209.165.201.12 netmask 255.255.255.255
access-list acl_out permit tcp any host 209.165.X.X
access-group acl_out in interface outside
Shall I configure any no in the place of X irrespective of the Subnet.
or should I configure only 209.165.201.5.
05-10-2007 04:01 AM
Hi
You can only configure one ip address in your static statement so it could be any spare ip address from your 209.165.201.0/29 subnet so you may as well use .5 if that is free.
HTH
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