two public ip's on a pix

May 10, 2007 2 Replies

I have a PIX 501 with two public IP's, one on the interface and one with the static command. Behind the firewall i have two webservers (both listen on port 80).



I am NAT'ing port 80 from both of the public IP's to etch of the servers.



When the two servers sends data out to the Internet they use the same public address (the firewall's interface IP).



Is it possible to change this? I want the second server to use the "static commands IP".



Best Regards Martin


Yes, for the second one, remove the 'tcp' and port numbers from the static command.

static (inside,outside) tcp PUBLICIP 80 INTERNALIP 80 netmask 255.255.255.255

becomes

static (inside,outside) PUBLICIP INTERNALIP netmask 255.255.255.255

Thank you walter, It worked :-)

Walter Roberson skrev:

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required