Re: [code] gethostbyaddr() + ip_masq = problems :> Sammy on Fri, Sep 12, 1997 at 07:06:58AM -0500

From: Eric Green (thrytis@IMAXX.NET)
Date: 09/12/97

On Thu, 11 Sep 1997, Peter Hartman wrote:
>   I have been mulling this one over and wanted to throw it at you all to
> see if ideas could be had.  My mud is running on a machine behind a
> firewall.  The firewall machine is linux-2.0.30 running ipfwadm and
> redir
> (redir redirects port 4000 from gateway -> internal_mud_machine).
> However
> the mud machine (which is masqueraded) thinks that every connection is
> from gateway, rather than unique hosts.  How can I fix this?  Can you
> point me in the right direction on what files to dig through to have the
> mud detect the actual host.

If you compile in ipautofw masquerade support, you can use the kernel
to forward the traffic from one port to a port on a machine behind
the firewall.  To the firewalled machine, the connection appears
as if it comes from the actual system connecting, not the firewall,
so the address is correct.

You will need to get the ipautofw program in order to configure
this.  You can find a copy at


     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | |

This archive was generated by hypermail 2b30 : 12/08/00 PST