10-15-2007 12:23 AM - edited 03-03-2019 07:10 PM
Hi,
we have a problem to setup our pix.
Pix is set as folows:
Users in inside network (connected to inside interface) have addresses for example 192.168.30.x,192.168.31.x
Public address on pix (outside interface) are for example 193.112.1.100, 193.112.1.99....
Now when someone want to access from outside interface (193.112.1.100 - people from internet) to inside address (192.168.30.10 - server) we have a statement: static (inside outside) 193.112.1.100 192.168.30.10 netmask 255.255.255.255 0 0 which translate this traffic. That is ok.
But now we want that people from inside network 192.168.31.x that access public adress 193.112.1.100 (so their destination address is 193.112.1.100) will be returned to address 192.168.30.10.
So what is statment or how to set up this on pix?
pix have only 2 interfaces - inside (priority 100) and outside (priority 0)
Thank you.
Lubos
10-15-2007 12:03 PM
Lobos, if I understand correctly, your inside users are trying to connect to 192.168.30.10 which is an inside server by using its Nated Public address from outside , if this is true you are looking at DNS doctoring or hairpinning.
Hairpining
Public NAT address 192.112.1.100
Inside Local address 192.168.30.10
same-security-traffic permit intra-interface
static (inside,inside) 192.112.1.100 192.168.30.10 netmask 255.255.255.255
global (inside) 1 interface
nat (inside) 1 0 0
10-15-2007 12:50 PM
try with "alias" on inside interface
cris.
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: