Re: iptables

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



Yes I solved it
I only need to set a \ in a line

-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf
Of Robert Nichols
Sent: Tuesday, April 26, 2011 6:02 PM
To: centos@xxxxxxxxxx
Subject: Re:  iptables


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.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux