ipchains and ipmasqadm

Wu, Hu-Hwa HU@cceng.com
Thu, 30 Nov 2000 10:18:40 -0500


Have you ever tried mark forwarding rather than the portfw ??

ipchains -I input -p tcp -y -d 192.168.1.1 80 -m 1

ipmasqadm mfw -A -m 1 -r 192.168.1.3 80

-Hu



> -----Original Message-----
> From: Michael Malinak [mailto:mm@crushedice.com]
> Sent: Thursday, November 30, 2000 9:07 AM
> To: GLLUG
> Subject: ipchains and ipmasqadm
> 
> 
> 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?
> 
> 
> 
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
>