Re: iptables: forwarding on internal device

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



Hi Marcus,

On Fri, Feb 6, 2009 at 13:13, Marcus Moeller <mm@xxxxxxx> wrote:
> I am trying to forward packages on an internal device using iptables:
>
> /sbin/iptables -A FORWARD -i eth0 -o eth0 -m state --state
> NEW,RELATED,ESTABLISHED -j ACCEPT

What is your network topology? How are the packages being routed and
yet leaving through the same interface? Are you using supernetting? Or
VLANs based on IP addresses?

What are the IPs in your network interfaces?

> but the packages are still blocked, e.g.:
> Feb  6 20:58:28 firewall kernel: DROP-TCP IN=eth0 OUT=eth0
> SRC=192.168.100.177 DST=172.28.2.184 LEN=40 TOS=0x00 PREC=0x00 TTL=127
> ID=16609 PROTO=TCP SPT=7166 DPT=3590 WINDOW=0 RES=0x00 ACK RST URGP=0

>From the dump of the iptables it looks like it is reaching the my_drop chain.

In your iptables output the interfaces for the rules do not show... It
is also hard to read because lines are wrapped in the e-mail... Could
you please run 'iptables -nvL' and post the output to
http://pastebin.centos.org/, send us the link here? That might help
diagnose your problem.

Filipe
_______________________________________________
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