LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   net.ipv4.ip_forward=1 How define it on boot ? (https://www.linuxquestions.org/questions/linux-newbie-8/net-ipv4-ip_forward%3D1-how-define-it-on-boot-121991/)

sergiodemoura 12-02-2003 01:22 PM

net.ipv4.ip_forward=1 How define it on boot ?
 
How define it on boot ?


iīm trying to put:
net.ipv4.ip_forward=1
net.ipv4.conf.eth0.rp_filter=0

is it correct ?:rolleyes:

Tinkster 12-02-2003 02:23 PM

Something like

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

in /etc/rc.d/rc.local?


Cheers,
Tink

stickman 12-02-2003 02:49 PM

Or put them in /etc/sysctl.conf.

sergiodemoura 12-03-2003 06:31 AM

my sysctl.conf. what I need to make VPN over IPSEC ?
 
net.ipv4.ip_forward=1
net.ipv4.conf.all.rpfilter=0
net.ipv4.conf.default.rpfilter=0
net.ipv4.conf.eth0.rpfilter=0
net.ipv4.conf.eth1.rpfilter=0
net.ipv4.conf.eth2.rpfilter=0
net.ipv4.conf.lo.rpfilter=0
net.ipv4.conf.ipsec0.rpfilter=0

The net.ipv4.ip_forward=1 is ok. but the rest not...
why it fails ?

Tinkster 12-03-2003 12:50 PM

Feature not compiled into the kernel?


Cheers,
Tink

sergiodemoura 12-04-2003 05:52 AM

feature not compiled in the kernel
 
well, I donīt know....


what is the option in the kernel ?


All times are GMT -5. The time now is 09:28 PM.