From: Aleksandar Milivojevic <amilivojevic@pbl.ca>
To: netfilter@lists.netfilter.org
Subject: Re: iptables on Satellite receive only linux PC
Date: Wed, 28 Jul 2004 09:37:53 -0500 [thread overview]
Message-ID: <4107BA41.4060409@pbl.ca> (raw)
In-Reply-To: <41074F24.2BF980C3@neduet.edu.pk>
yunus wrote:
> When I change the line below to accept everything works fine.
>
> $IPTABLES -P FORWARD DROP to $IPTABLES -P FORWARD ACCEPT
Of course it works, because you just deactivated your firewall.
Anything goes through it (all your rules in FORWARD chain have ACCEPT
target, and than you changed default policy to ACCEPT: everything is
accepted).
Also, it seems that you have (incorrect) assumption that packet will go
through both INPUT and FORWARD chains (because you are catching "bad"
packets only in INPUT chain). Packet will go either through INPUT (if
it is destined for local machine) or through FORWARD (if it is to be
routed/forwarded to another machine). It will never go through both.
--
Aleksandar Milivojevic <amilivojevic@pbl.ca> Pollard Banknote Limited
Systems Administrator 1499 Buffalo Place
Tel: (204) 474-2323 ext 276 Winnipeg, MB R3T 1L7
next prev parent reply other threads:[~2004-07-28 14:37 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-28 5:16 iptables on Satellite receive only linux PC yunus
2004-07-28 6:11 ` Cedric Blancher
2004-07-28 7:00 ` yunus
2004-07-28 14:37 ` Aleksandar Milivojevic [this message]
2004-07-31 9:56 ` yunus
2004-07-31 11:05 ` Antony Stone
2004-07-31 11:47 ` John Arthur
2004-08-02 5:36 ` yunus
2004-08-02 6:14 ` Antony Stone
-- strict thread matches above, loose matches on Subject: below --
2004-07-31 23:44 Jason Opperisano
2004-08-01 7:41 ` John Arthur
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=4107BA41.4060409@pbl.ca \
--to=amilivojevic@pbl.ca \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox