LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 12: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 ?


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

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

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Something like

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

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


Cheers,
Tink
 
Old 12-02-2003, 01: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, 05: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, 11:50 AM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

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


Cheers,
Tink
 
Old 12-04-2003, 04: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 don´t know....


what is the option in the kernel ?
 
  


Reply



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 04:20 AM
net/ipv4/tcp_input.c file CICA Linux - General 6 11-02-2005 06:06 AM
net.ipv4.tcp_syn_retries - how to make change permanent syx Linux - Networking 1 01-05-2005 10:54 AM
/proc/sys/net/ipv4/ip_local_port_range wetwet Linux - Networking 0 07-06-2004 08:47 AM
default values for /proc/sys/net/ipv4 robeb Linux - Networking 0 06-07-2002 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:39 PM.

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
Open Source Consulting | Domain Registration