networking in parallels (NAT iptables related)

Tim ignored_mailbox at yahoo.com.au
Mon Jan 15 04:50:51 UTC 2007


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.




More information about the fedora-list mailing list