ipchains masq/forwarding question

Thomas Tate plug-discuss@lists.plug.phoenix.az.us
Wed, 8 Jan 2003 18:14:28 -0700


Nevermind -- the ip masquerading howto explains how to do this 
implicitly. It mentions a tool called ipmasqadm that does this exact 
job. All I had to do was:

# ipmasqadm portfw -a -P tcp -L <outside ip> 8888 -R 192.168.1.2 80

On Wed, 8 Jan 2003 5:59PM -0700, Thomas Tate wrote:
> Random question for all those well versed in kernel 2.2's ipchains and 
> masquerading: how do I forward a port from the outside world through 
> the 2.2 masq firewall to another box on the inside LAN? Eg:
>
> <foo.bar.com> --> <firewall> --> <cryastaldragon>
>
> Inside lan is running on the 192.168.1.0/24 net, with the firewall set 
> as 192.168.1.1. All I'm looking for is a rule that will forward port 80 
> to crystaldragon.
>
> --
> Thomas "Mondoshawan" Tate
> mondoshawan@tank.dyndns.org
> http://tank.dyndns.org:8080
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
--
Thomas "Mondoshawan" Tate
mondoshawan@tank.dyndns.org
http://tank.dyndns.org:8080