From: Anton Sidorov <asidorov@mfmdb.com>
To: netfilter@lists.netfilter.org
Subject: ESTABLISHED makes possible to connect to internal servers
Date: Tue, 10 Apr 2007 18:39:10 +0100 [thread overview]
Message-ID: <461BCBBE.5060003@mfmdb.com> (raw)
Hi,
I have a slight problem and can not find any answers myself or in the
Internet.
I run iptables on Debian based router/firewall.
I do not use nat and private IP addresses.
vlan2 and vlan3 are external connections to ISPs
vlan101 and vlan82 are internal interfaces.
The problem is that if I put
iptables -A FORWARD -m state --state ESTABLISHED,RELATED -j ACCEPT
or just
iptables -A FORWARD -m state --state ESTABLISHED -j ACCEPT
it is possible to access my internal web server (and not only web
server) from outside
despite I did not open port 80 in FORWARD chain and policy for FORWARD
is DROP.
As soon as I remove those lines I can not connect to the Internet from
behind the firewall.
I've been fighting with that problem for two weeks now.
I rewrite my script several times and brought it to bare basic but
nothing has fixed the problem.
kernel 2.6.18-4-686
iptables v1.3.6
Please any hints or tips would be really appreciated.
Best regards,
Anton.
next reply other threads:[~2007-04-10 17:39 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-10 17:39 Anton Sidorov [this message]
2007-04-11 15:06 ` ESTABLISHED makes possible to connect to internal servers Maximilian Wilhelm
2007-04-11 18:02 ` Anton Sidorov
2007-04-14 14:11 ` Arnd-Hendrik Mathias
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=461BCBBE.5060003@mfmdb.com \
--to=asidorov@mfmdb.com \
--cc=netfilter@lists.netfilter.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.