ipchains and ipmasqadm

Michael Malinak mm@crushedice.com
Thu, 30 Nov 2000 09:06:48 -0500


I'm using ipchains on my server to share a single IP.  I'm using ipmasqadm
to forward ports to my inside machines (mostly games and stuff).  One
problem I'm having is that if I try to forward a port like port 80 to one of
my local machines, it works from the outside but not the inside.
Ex:
Server 192.168.1.1 port 80 forwarded to WWWServer port 80
(ipmasqadm portfw -a -P tcp -L 192.168.1.1 80 -R 192.168.1.3 80)
Client 192.168.1.2
WWWServer 192.168.1.3

I want all www requests from client to be served by WWWServer.  This doesn't
happen.
What's wrong with the setup?