LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2003, 01:22 PM   #1
sergiodemoura
LQ Newbie
 
Registered: Aug 2003
Location: Curitiba-Brazil
Distribution: Debian 3.1
Posts: 23

Rep: Reputation: 15
net.ipv4.ip_forward=1 How define it on boot ?


How define it on boot ?


im trying to put:
net.ipv4.ip_forward=1
net.ipv4.conf.eth0.rp_filter=0

is it correct ?
 
Old 12-02-2003, 02:23 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Something like

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

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


Cheers,
Tink
 
Old 12-02-2003, 02:49 PM   #3
stickman
Senior Member
 
Registered: Sep 2002
Location: Nashville, TN
Posts: 1,552

Rep: Reputation: 53
Or put them in /etc/sysctl.conf.
 
Old 12-03-2003, 06:31 AM   #4
sergiodemoura
LQ Newbie
 
Registered: Aug 2003
Location: Curitiba-Brazil
Distribution: Debian 3.1
Posts: 23

Original Poster
Rep: Reputation: 15
Question 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 ?
 
Old 12-03-2003, 12:50 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Feature not compiled into the kernel?


Cheers,
Tink
 
Old 12-04-2003, 05:52 AM   #6
sergiodemoura
LQ Newbie
 
Registered: Aug 2003
Location: Curitiba-Brazil
Distribution: Debian 3.1
Posts: 23

Original Poster
Rep: Reputation: 15
feature not compiled in the kernel

well, I dont know....


what is the option in the kernel ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't create file using echo: /proc/sys/net/ipv4/ip_local_port_change rsumbeling Linux - General 4 07-17-2013 05:20 AM
net/ipv4/tcp_input.c file CICA Linux - General 6 11-02-2005 07:06 AM
net.ipv4.tcp_syn_retries - how to make change permanent syx Linux - Networking 1 01-05-2005 11:54 AM
/proc/sys/net/ipv4/ip_local_port_range wetwet Linux - Networking 0 07-06-2004 09:47 AM
default values for /proc/sys/net/ipv4 robeb Linux - Networking 0 06-07-2002 01:35 AM


All times are GMT -5. The time now is 11:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration