[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: IP Masquerading
> I got ip masqurading working.
> My only problem is that I have to change the value of
> /proc/sys/net/ipv4/ip_forward to 1 every time I reboot.
Enable ip forwarding in control panel, or set FORWARD_IPV4=true in
/etc/sysconfig/network (which is what the control panel does). Then the
startup scripts do it for you.
> I have to change it with vi and when I save the file, vi gives me
the
> fallowing message: the file has changed since reading it!!!. I select
to
> over write it anyway and it works till I reboot
If you want to change it do a echo "1" > proc/sys/net/ipv4/ip_forward,
don't use vi as it's not a "real" text file.
> I have to do it this way, if I type /proc/sys/net/ipv4/ip_forward at the
>prompt, I get Permition Denied. I am root when I do this.
>Than the value is reset to 0 agan.
>Any ideas???
It's not an executable.