All of lore.kernel.org
 help / color / mirror / Atom feed
* nat table
@ 2002-09-07 16:56 Guillaume
  2002-09-07 19:06 ` Antony Stone
  0 siblings, 1 reply; 2+ messages in thread
From: Guillaume @ 2002-09-07 16:56 UTC (permalink / raw)
  To: netfilter

[-- Attachment #1: Type: text/plain, Size: 936 bytes --]

I have a windows PC behind a linux gateway with iptables. Whit it, the default policy for all is DROP, but the two line "mangle" are ACCEPT.
All work well to go on internet, send/received email,etc...
But there is one thing wich don't want to work, and i don't understand at all what is wrong. I have a small daemon who is listening on my network card eth0 on LAN side at port 3000, and I can't connect on it from my windows browser.
But, when I put policy for nat table "POSTROUTING, OUTPUT" to ACCEPT, it's work! I am able to connect on my daemon.
I don't understand because I have between other the folowing rules:

iptables -t nat -A PREROUTING   -i eth0 -j ACCEPT
iptables -t nat -A POSTROUTING -o eth0 -j ACCEPT
iptables -t nat -A OUTPUT           -o eth0 -j ACCEPT

Why when i put default policy of nat table to DROP, i can't connect? even with this rules?
What i have to do against?

Thanks.

        Guillaume.

[-- Attachment #2: Type: text/html, Size: 2060 bytes --]

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

end of thread, other threads:[~2002-09-07 19:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-07 16:56 nat table Guillaume
2002-09-07 19:06 ` Antony Stone

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.