Static nat is not working if i use the same public IP as the Outside interface.
Configuration example :
ASA Version 7.2(2)
ip address 184.108.40.206 255.255.255.0
ip address 192.168.1.1 255.255.255.0
access-list inside_access_in extended permit ip any any
access-list inside_nat0_outbound extended permit ip 192.168.1.0 255.255.255.0 192.168.57.0 255.255.255.0
access-list web extended permit tcp any host 220.127.116.11 eq www
global (outside) 1 interface
nat (inside) 0 access-list inside_nat0_outbound
nat (inside) 1 0.0.0.0 0.0.0.0
static (inside,outside) 18.104.22.168 192.168.1.250 netmask 255.255.255.255
access-group web in interface outside
access-group inside_access_in in interface inside
route outside 0.0.0.0 0.0.0.0 22.214.171.124 1
If i change the outside IP address with 126.96.36.199, the static nat is working.
If i change the PIX version with 7.1(1) the static nat is working if use the same public Ip address.
What is the difference between the 7.1(1) and the 7.2(2) ?
Thanks for your help
What services do you wish to forward to 192.168.1.250? Use port forwarding instead for each port you wish to forward...I did www and ftp below.
no static (inside,outside) interface 192.168.1.250 netmask 255.255.255.255
static (inside,outside) tcp interface www 192.168.1.250 www netmask 255.255.255.255
static (inside,outside) tcp interface ftp 192.168.1.250 ftp netmask 255.255.255.255
Please rate helpful posts.