/proc/sys/net/ipv4/ip_forward resets to 0 after reboot
Tom Wolfe
twolfe at sawback.com
Wed Dec 5 19:35:17 GMT 2007
Can anyone tell me how to prevent /proc/sys/net/ipv4/ip_forward from
resetting to 0 after a reboot. I do have /etc/network/options set as
follows:
ip_forwared=yes
spoofprotect=yes
syncookies=no
and I do the following manually to allow ip forwarding:
sudo sh -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'
whereupon
cat /proc/sys/net/ipv4/ip_forward
produces
1
and port forwarding is enabled. After reboot though
/proc/sys/net/ipv4/ip_forward
produces
0
Regards,
Tom Wolfe
---
Tom Wolfe, IT Specialist twolfe at sawback.com
Stoney Educational Authority tel: (403) 881-2650
Box 238, Morley AB, T0L 1N0 fax: (403) 881-2793
Morley Community School | Chief Jacob Bearspaw School | Ta-otha School
More information about the edubuntu-users
mailing list