Re: [fw-wiz] pix config for nat port 80 and port 8080 to same internal ip and port?



Paul Melson wrote:
On Wed, Mar 19, 2008 at 3:50 PM, Jim Morris <ml@xxxxxxxxx> wrote:
What I really want to do is have a request for port 80 or port 8080 redirect to the same port 8162
so this would be what I want to do, but of course this doesn't work as static nat needs the
destinations to be different...

static (inside,outside) tcp xxx.xxx.xxx.34 www xxx.xxx.xxx.34 8162 netmask 255.255.255.255 0 0
static (inside,outside) tcp xxx.xxx.xxx.34 8080 xxx.xxx.xxx.34 8162 netmask 255.255.255.255 0 0

Do you get an error message or does it just "not work" ?

PaulM


Yes you get an error message, something like...

ERROR: duplicate of existing static

tcp from inside:xxx.xxx.xxx.35/8162 to outside:xxx.xxx.xxx.35/80 netmask 255.255.255.255


--
Jim Morris, http://blog.wolfman.com
_______________________________________________
firewall-wizards mailing list
firewall-wizards@xxxxxxxxxxxxxxxxxxxxx
https://listserv.icsalabs.com/mailman/listinfo/firewall-wizards