[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: networking in parallels (NAT iptables related)



On Sun, 2007-01-14 at 23:28 +0900, javajunkie wrote:
> echo “1” > /proc/sys/net/ipv4/ip_forward
> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> 
> End ------
> 
> but the echo command returns
> bash: echo: write error: Invalid argument 

Try it without quotes, instead:

e.g. echo 1 > /proc/sys/net/ipv4/ip_forward

Or with ASCII plain double quotes:

e.g. echo "1" > /proc/sys/net/ipv4/ip_forward

The page you were quoting from had used typographically correct quotes
(the ones that look like tiny superset 66 and 99 figures), not the ASCII
ones used in programming.

-- 
(Currently testing FC5, but still running FC4, if that's important.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]