ip forwarding - permission denied

ZIYAD A. M. AL-BATLY zamb at spymac.com
Fri Apr 1 07:18:07 UTC 2005


On Fri, 2005-04-01 at 06:38 +0100, 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?
> 
> thankyou
> 
> David

sudo sh -c 'echo 1 > /proc/sys/net/ipv4/ip_forward'

Ziyad.





More information about the ubuntu-users mailing list