Linux Netfilter discussions
 help / color / mirror / Atom feed
* icmp echo reply && FORWARD chain
@ 2004-05-02 14:24 Jee J.Z.
  2004-05-02 14:46 ` Antony Stone
  0 siblings, 1 reply; 6+ messages in thread
From: Jee J.Z. @ 2004-05-02 14:24 UTC (permalink / raw)
  To: netfilter

Hi all,

My rules on a gateway linux box (PC2) are set as follows:

Internet(PC1 and so on)-----------(eth0)-PC2-(eth1)-------------Internal
networks(PC3 and so on...)

iptables -F
iptables -F -t nat
iptables -I FORWARD -j QUEUE
iptables -t nat -A POSTROUTING -o eth0 -j SNAT --to global_ip
iptables -t nat -A PREROUTING -i eth1 -j DNAT --to 192.168.0.2

ICMP echo request packets from PC1 or PC3 to PC2 can be caught by the
FORWARD chain queuing to userspace, however, ICMP echo reply (in response to
ping request from PC2) packets from PC1 or PC3 to PC2 will be ignored by the
FORWARD chain. Is this a reasonable phenomenon? Could anyone tell me the
reasons? Thanks a lot in advance!

Cheers,
Jee



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-05-02 23:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-02 14:24 icmp echo reply && FORWARD chain Jee J.Z.
2004-05-02 14:46 ` Antony Stone
2004-05-02 15:29   ` Jee J.Z.
2004-05-02 15:42     ` Antony Stone
2004-05-02 22:43       ` Jee J.Z.
2004-05-02 23:03         ` Antony Stone

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox