Quote:> I needed some help from you setting up a masquerading for a PPP connection.
> I know it's possible to enable masquerading from within ppp.conf, but I was
> wondering if it was also possible to set ipfw rules to achieve the same
> result "a l" linux...
Well, sort of.
You have to set up ipfw with divert IIRC.
Quote:> Can you help me posting the necessary commands to bring up these rules? Are
> there any advantages/disadvantages compared to what I'd get from the pppd
> capabilities?
BSDers usually call it NAT, for Network Address Translation.
There are no real benefits to doing it through ipfw, except that ipfw
executes at the kernel level and thus the NAT code works at the kernel
level. Some believe this to be an advantage, others claim it is a
disadvantage.
It's certainly way easier to just do it inside ppp, unless of course you're
running without ppp (for example, you have a cablemodem with a DHCP
connection).
--
The truth speaks for itself. I'm just a messenger.
--- Lyta Alexander
"Babylon 5: Between the Darkness and the Light"