[CentOS-docs] forwarding on internal device

Manuel Wolfshant

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


Manuel Wolfshant wrote:
> 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
>>   
> try:
>
>     iptables -A FORWARD -i eth0 -o eth0 -m state --state 
> NEW,ESTABLSIHED -j ACCEPT
and use the proper spelling, of course.....



More information about the CentOS-docs mailing list