Re: networking in parallels (NAT iptables related)

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

 



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.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux