Hello,
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
(66.33.231.208/1488) to inside:172.16.0.17/443 (12.32.216.59/443)
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
to inside:172.16.0.17/443 duration 0:00:30 bytes 0 SYN Timeout
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