LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-09-2007, 11:35 AM   #1
zoshr
LQ Newbie
 
Registered: Feb 2007
Posts: 12

Rep: Reputation: 0
Ubuntu 6.10 - IP forwarding


Hello everyone,

I have a question regarding enabling of ip forwarding in Ubuntu 6.10 disto.
As far as I know the recipe for enabling ip forwarding is to uncomment the line:

net.ipv4.conf.default.forwarding=1

of the file:

/etc/sysctl.conf

, but when I do this my changes are not reflected in the proc fs:

/proc/sys/net/ipv4/ip_forward

when I reboot my system, thus I have to do this manually by issuing:

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

From this point onwards, the feature works.
Is there a special way to make the change permanent in this distro, or?

Thanks!
 
Old 03-09-2007, 01:47 PM   #2
KenJackson
Member
 
Registered: Jul 2006
Location: Maryland, USA
Distribution: Fedora and others
Posts: 757

Rep: Reputation: 145Reputation: 145
Quote:
net.ipv4.conf.default.forwarding=1
That's not the right line. It's this:
Code:
net.ipv4.ip_forward = 1
Or, at least that works for Mandriva. Probably the same on Ubuntu.
 
Old 03-12-2007, 06:37 AM   #3
zoshr
LQ Newbie
 
Registered: Feb 2007
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by KenJackson
That's not the right line. It's this:
Code:
net.ipv4.ip_forward = 1
Or, at least that works for Mandriva. Probably the same on Ubuntu.
Thank you!
 
  


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
Simple Port Forwarding Firewall - not forwarding MadTurki Linux - Security 14 04-09-2006 12:08 PM
Port forwarding from Ubuntu 5.10 server czk101 Linux - Networking 2 01-27-2006 08:16 PM
Netgear WTG624v2 port forwarding and StaticIP, Ubuntu 5.10 restin256 Linux - Networking 9 11-06-2005 07:13 PM
ubuntu port forwarding inspiredbymetal Linux - Newbie 1 09-25-2005 12:12 AM
port forwarding and packet forwarding syrtsardo Linux - Newbie 2 07-03-2003 10:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:25 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
Open Source Consulting | Domain Registration