[CentOS] iptables

Tue Apr 26 16:01:32 UTC 2011
Robert Nichols <rnicholsNOSPAM at comcast.net>

On 04/26/2011 10:19 AM, mattias wrote:
> Can anyone see any errors in this scripts
> Iptables says
> Invalid target
> iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
> iptables -A FORWARD -i eth0 -o virbr0 -m state --state RELATED,ESTABLISHED
> -j ACCEPT
> iptables -A FORWARD -i virbr0 -o eth0 -j ACCEPT

Check the file for possible CRLF line terminators.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.