[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [SOLVED] Re: lost configuration after reboot



> Jan.Minar@seznam.cz wrote: 
> On Thu, Jan 15, 2004 at 08:54:50AM -0500, Harland Christofferson wrote:
> > At Thursday, 15 January 2004, Jan Minar <Jan.Minar@seznam.cz> wrote:
> > >On Wed, Jan 14, 2004 at 05:49:46PM -0500, Debian User wrote:
> > >>               packets were not being forwarded from the 192.168.1.
> > >> 1 eth1 interface to the 10.20.1.158 eth0 interface.
> 
> <snip>
> 
> > I also needed to echo 1 > proc/sys/net/ipv4/ip_forward to get it 
> > working too.
> 
> Shame on me, I still keep to forget...
> The Debian way is to configure this in /etc/network/options:
> 
> ip_forward=yes
> 

For parameters changed via /proc fs, changes across reboots can also be
"saved" in /etc/sysctl.conf

cat /etc/sysctl.conf
#
# /etc/sysctl.conf - Configuration file for setting system variables
# See sysctl.conf (5) for information.
#
#kernel.domainname = example.com
#net/ipv4/icmp_echo_ignore_broadcasts=1
net/ipv4/ip_forward=1


Cheers,
Erich



Reply to: