xx.xx.xx.59 is the IP of the ASA outside interface, correct?
Main Topics
Browse All TopicsHello,
I am trying to setup port forwarding on an ASA 5510 with no luck. I want to forward www and https requests from the public IP (xx.xx.xx.59) to the webserver on the LAN (172.16.0.17). I have tried this:
access-list 120 extended permit tcp any host xx.xx.xx.59 eq www
access-list 120 extended permit tcp any host xx.xx.xx.59 eq https
static(inside,outside) tcp interface www 172.16.0.17 www netmask 255.255.255.255
static(inside,outside) tcp interface https 172.16.0.17 https netmask 255.255.255.255
access-group 120 in interface outside
I am checking the the status of this with the log viewer from the ASDM and it show me this when I try to bring up the webserver:
6 Mar 19 2008 14:06:43 302013 66.33.231.208 172.16.0.17 Built inbound TCP connection 108 for outside:66.33.231.208/1488
6 Mar 19 2008 14:07:13 302014 66.33.231.208 172.16.0.17 Teardown TCP connection 108 for outside:66.33.231.208/1488
I also tried to check this with the packet tracer. According to this, the packet fails at the NAT command (inside) 101 0.0.0.0 0.0.0.0
Below is relevant parts of the config.
Any help adding this to NAT would be great!
same-security-traffic permit intra-interface
access-list nonat extended permit ip any 172.20.0.0 255.255.255.0
access-list nonat extended permit ip any 172.30.0.0 255.255.255.0
access-list nonat extended permit ip 172.16.0.0 255.255.0.0 192.168.100.0 255.255.255.0
access-list nonat extended permit ip any 192.168.200.0 255.255.255.0
access-list nonat extended permit ip any 192.168.100.0 255.255.255.0
access-list 120 extended permit tcp any host xx.xx.xx.59 eq www
access-list 120 extended permit tcp any host xx.xx.xx.59 eq https
global (outside) 101 interface
nat (outside) 1 192.168.100.0 255.255.255.0
nat (inside) 0 access-list nonat
nat (inside) 101 0.0.0.0 0.0.0.0
static (inside,outside) tcp interface www 172.16.0.17 www netmask 255.255.255.255
static (inside,outside) tcp interface https 172.16.0.17 https netmask 255.255.255.255
access-group 120 in interface outside
route outside 0.0.0.0 0.0.0.0 xx.xx.xx.49 1
route inside 172.16.0.0 255.255.252.0 192.168.10.2 1
route inside 172.16.4.0 255.255.255.0 192.168.10.2 1
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
batry boy,
I made the adjustments you suggested and I have the same results. Yes, that is the IP of the outside interface.
Here is the output of the Packet Tracer
Type -
NAT
Action -
DROP
Show rule in NAT Rules table.
Config
nat (inside) 101 0.0.0.0 0.0.0.0 match ip inside any inside any dynamic translation to pool 101 (No matching global) translate_hits = 2, untranslate_hits = 0
Thanks!
Business Accounts
Answer for Membership
by: batry_boyPosted on 2008-03-19 at 12:11:09ID: 21164767
Instead of this:
access-list 120 extended permit tcp any host xx.xx.xx.59 eq www
access-list 120 extended permit tcp any host xx.xx.xx.59 eq https
try this:
access-list 120 extended permit tcp any interface outside eq www
access-list 120 extended permit tcp any interface outside eq https