ip forwarding - permission denied

Matt Zimmerman mdz at ubuntu.com
Fri Apr 1 06:20:44 UTC 2005


On Fri, Apr 01, 2005 at 05:55:00PM +1200, Christoph Georgi wrote:

> have a look at the permissions for ip_forward or the dir ipv4. Maybe 
> something's messed up there?!
> 
> regards
> .christoph
> 
> david wrote:
> >Greetings
> >
> >In my quest for a net connected Zaurus I seem to have hit a problem.
> >I need to enable ip forwarding with the following command.
> >
> >sudo echo 1 > /proc/sys/net/ipv4/ip_forward
> >
> >But all I get is "permission denied" and I don't understand why. Does
> >anyone know what I'm missing here?

sudo sysctl -w net.ipv4.ip_forward=1

-- 
 - mdz




More information about the ubuntu-users mailing list