/* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
/* ALSO: Don't quote this header. It makes you look lame :-) */


On Tue, Apr 24, 2001 at 06:14:36PM +1000 or so it is rumoured hereabouts, 
raf thought:
> /* HINT: Search archives @ http://www.indyramp.com/masq/ before posting! 
> /* ALSO: Don't quote this header. It makes you look lame :-) */
> 
> 
> what are the contents of /proc/sys/net/ipv4/ip_forward?
> it should be 1, not 0. this behaviour sounds like it's 0.
> although setting FORWARD_IPV4 should make it 1.
>  
> raf

I use

echo 1 > /proc/sys/net/ipv4/ip_forward

at the top of my firewall script with similar for other options;

# Enable IP Forwarding, if it isn't already
    echo 1 > /proc/sys/net/ipv4/ip_forward

# Enable dynamic IP Addressing, if it isn't already
    echo 1 > /proc/sys/net/ipv4/ip_dynaddr

Conor
-- 
Conor Daly <[EMAIL PROTECTED]>

Domestic Sysadmin :-)
---------------------
Faenor.cod.ie
 10:49am  up 8 days, 21:03,  0 users,  load average: 0.08, 0.02, 0.01
Hobbiton.cod.ie
 11:14am  up 55 days, 20:24,  3 users,  load average: 0.17, 0.04, 0.01

_______________________________________________
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