[plug] 2.2.3 and PPP problem.

Peter Caffin pc at it.net.au
Sun Mar 21 21:42:54 WST 1999


On Sun, 21 Mar 1999, Trevor Phillips wrote:
> David Campbell wrote:
> > b) ip forwarding requires a "cat 1 > /proc/sysconf/net/ipv4/forward"
> > (or similar).
> 
> Yep, know this. I think it's /proc/sys/net/ipvr/ip_forward. ^_^

I created a shell script called /etc/rc.boot/ip_forward_init which takes
care of this for me automatically at boot-time:

  #!/bin/sh
  echo -n "Echoing 1 to /proc/sys/net/ipv4/ip_forward: "
  echo "1" >/proc/sys/net/ipv4/ip_forward
  echo "Done."

Works a treat. Hope that clears up the exact syntax :).

--:     _           _    _ _
 _oo__ |_|_ |__  _ |  _ |_|_o _  pc at it dot net dot a u |
//`'\_ | (/_|(/_|  |_(_|| | || |            it.net.au/~pc |
/        




More information about the plug mailing list