Re: IP masquerade: To work or not to work??

B.Candler@pobox.com
Thu, 8 Oct 1998 08:51:12 +0100


On Wed, Oct 07, 1998 at 11:58:58PM +0200, Emerson Holgan wrote:
> But when I boot with my new kernel, I was surprised to see " DISABLING
> IPV4 PACKET FORWARDING" among my usual bootin messages!

Edit /etc/sysconfig/network and set FORWARD_IPV4=true

(The actual effect of this is to do echo "1" >/proc/sys/net/ipv4/ip_forward
at runtime; the default is "0" which disables forwarding, which is the
correct behaviour according to the relevant RFC)

> But when I run /sbin/modprobe ip_masq, my system returns to me the
> following error:CANT LOCATE MODULE!!

ls /lib/modules/net/*/ipv4 for a list of masquerading modules (there is not
one called ip_masq, but you can load ip_masq_ftp etc)

You will save yourself a lot of hassle if you simply install the
kernel-2.0.35-2.i386.rpm from ftp.redhat.com/pub/redhat/redhat-5.1/updates
- it has masquerading built in

-
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/