/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! */


> -----Original Message-----
> From: Kelvin Kuhan Param [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 28, 1999 5:58 PM
> To: [EMAIL PROTECTED]
> Subject: [Masq] IP Masquerading Problems with SuSE 6.2
> 
[snip]
> echo "1" > /proc/sys/net/ipv4/ip_forward.
> 
> After issueing the above command, I used vi to check the 
> contents of the
> above file. And it contained  "1".
> 
[snip]
> 
> Upon reboot, I get an error message stating the masquerade 
> failed because
> IP Forwarding was not enabled.

Well, yeah, you get that messsage because IP forwarding is enabled (duh).
Writing 1 to /proc/sys/net/ipv4/ip_forward enables IP forwarding until you
reboot.  Bummer.  If you're using a script to set up your ipchains/ipmasqadm
stuff, then at the beginning of that script you should put a line that reads
'echo "1" >/proc/sys/net/ipv4/ip_forward'.  Also, read the IP-MASQ mini(it's
NOT small) HOWTO, available from http://ipmasq.cjb.net/  It's got other ways
to enable IP forwarding, as I recall.
        Greg

_______________________________________________
Masq maillist  -  [EMAIL PROTECTED]
Admin requests can be handled at http://www.indyramp.com/masq-list/ -- THIS INCLUDES 
UNSUBSCRIBING!
or email to [EMAIL PROTECTED]

PLEASE read the HOWTO and search the archives before posting.
You can start your search at http://www.indyramp.com/masq/
Please keep general linux/unix/pc/internet questions off the list.

Reply via email to