On 07/25/2016 09:48 AM, Russell Senior wrote:
>
>>> Aha!  I remember now, you need to turn on forwarding on the X200.
>>>
>>> Check "cat /proc/sys/net/ipv4/conf/all/forwarding" ... it is probably 0.

It is.

>>> If so, "echo 1 > /proc/sys/net/ipv4/conf/all/forwarding" will turn it
>>> on.  You can add this to your script with the iptables rule.

First I tried:

rsteff@ThinkPad-X200-Tablet:~$ sudo echo 1 > 
/proc/sys/net/ipv4/conf/all/forwarding
bash: /proc/sys/net/ipv4/conf/all/forwarding: Permission denied
rsteff@ThinkPad-X200-Tablet:~$

Note that I was not asked for a password.

Then I tried it without sudo:

rsteff@ThinkPad-X200-Tablet:~$ echo 1 > 
/proc/sys/net/ipv4/conf/all/forwarding
bash: /proc/sys/net/ipv4/conf/all/forwarding: Permission denied
rsteff@ThinkPad-X200-Tablet:~$

-- 
Regards,

Dick Steffens

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to