RE: IP_MASQ in recent kernels...

Alex Pikus (beachnet@emi.net)
Sun, 18 Feb 1996 09:42:03 -0500


Is there an IP_MASQ mailing list or announce list ... where is one to find
out about these patches, etc. without searching through all of the ftp
sites?

BTW, what is the status of the IP_MASQ code in the KERNEL, any plans to go
BETA and when?

Thank you!

Alex.

----------
From: Jos Vos[SMTP:jos@xos.nl]
Sent: Saturday, February 17, 1996 8:10 PM
To: Julia Anne Case
Cc: linux-kernel@vger.rutgers.edu
Subject: Re: IP_MASQ in recent kernels...

> I'm not following what is happening recently with some of the IP code in
> the kernels... I got the new ipfwadm, but that doesn't allow me to set
> up the IP_MASQ rules. and ipfw complains when I try. Is that code
> changing and I just need to wait for new tools?

Linux 1.3.66 needs ipfwadm 2.0beta2, which you can find on ftp.xos.nl.
Masquerading rules are special cases of forwarding rules (it's a policy
like "accept" or "reject", see the manual page of ipfwadm).
An example:

ipfwadm -F -a masq -S yournet/24 -D 0.0.0.0/0

enables masquerading for all connections initiated from "yournet".
The -M flag of ipfwadm is only for listing the kernel administration
of masqueraded sessions, masquerading rules are set with the -F flag.

Masquerading in 1.3.66 only works only you have applied a small patch.
Both ipfwadm and the kernel patch you can find on

ftp://ftp.xos.nl/pub/linux/ipfwadm/

--
--    Jos Vos <jos@xos.nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204