Re: How to activate NAT in 2.2.1x ?

From: Wolfgang Wegner (wolfgang@leila.ping.de)
Date: Fri Jun 02 2000 - 06:53:45 EST


Hi,
[...]
> I presume you know about the input, output and forward chain of ipchains?
> You can set the default forward policy to masquerade, and thus enable NAT,
> like this:
>
> #Set default forward policy to masquerade
> ipchains -P forward MASQ
sorry, i think i was a bit too unspecific...
I do already have masquerading enabled (the simplest form of NAT), but
what i want is "real" NAT to specific addresses. (i.e. i have a host
A whose packets are tunneled to gateway G, who shall translate A's
address to B and act as B in the local net via proxy-arp.)
I have the whole setup running (tunnel, proxy-arp and masquerading),
the only missing link is NAT to make A look as B in G's local network.

Hope this makes it clearer, despite A, B, and G... ;-)

Regards,
Wolfgang

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:14 EST