[CentOS-docs] forwarding on internal device

Manuel Wolfshant

wolfy at nobugconsulting.ro
Fri Feb 6 16:29:12 UTC 2009

Marcus Moeller wrote:
> Good Evening,
> I am trying to set up an iptables forward rule in order to forward all
> packages that are routed throgh the internal device eth0:
> iptables -A FORWARD -i eth0 -o eth0 -m state --state NEW -j ACCEPT

	iptables -A FORWARD -i eth0 -o eth0 -m state --state NEW,ESTABLSIHED -j ACCEPT
NEW matches only the first packet of a connection

More information about the CentOS-docs mailing list