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 but the packages are still dropped. Best Regards Marcus
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 NEW matches only the first packet of a connection
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 ACCEPTand use the proper spelling, of course.....
On 06/02/2009, Marcus Moeller <mm at gcug.de> wrote:> > > 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 > > but the packages are still dropped. >Marcus, Please do not use the docs mailing list for general support queries. Alan. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos-docs/attachments/20090206/fce3b40d/attachment-0002.html>