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

Re: RV: error sintáctico en iptables



Laur@. wrote:
>
> ¿alguien sabria decirme porque me sale este error al ejecutar esta regla?,
> he probado a poner y quitar cosas, pero no se soluciona:
> $IPTABLES -A FORWARD -s 128.100.192.24 -i eth0 -o eth1 -p tcp --dport
> 7021 -m state --state NEW, ESTABLISHED  -j ACCEPT
                            ^
> $IPTABLES -A FORWARD -d 128.100.192.24 -i eth1 -o eth0 -p tcp --sport
> 7021 -j ACCEPT
>
> --> dejandolo asi no me da el error:
> 	$IPTABLES -A FORWARD -s 128.100.192.24 -i eth0 -o eth1 -p tcp --dport
> 7021 -j ACCEPT
> 	$IPTABLES -A FORWARD -d 128.100.192.24 -i eth1 -o eth0 -p tcp --sport
> 7021 -j ACCEPT

Los estados van separados por comas sin espacio en blanco entre ellos...

--state NEW,ESTABLISHED

Saludos!

--
nmag only
gnupg 0x978B82FF [pgp.mit.edu] && GNU/Linux Registered User #312624




Reply to: