From: "Gáspár Lajos" <swifty@freemail.hu>
To: Gopinath <gopinath.u@gmail.com>
Cc: Netfilter IPtableMailinglist <netfilter@lists.netfilter.org>
Subject: Re: Default deny rule
Date: Mon, 21 May 2007 18:03:58 +0200 [thread overview]
Message-ID: <4651C2EE.2080803@freemail.hu> (raw)
In-Reply-To: <d2af4f000705150134r4d5bbf84r96d0f91aae9a725d@mail.gmail.com>
Hi,
Gopinath írta:
> Hi,
>
> My objective is to replace my existing firewall with a Linux firewall.
> We have point to point connectivity through VSAT with one of our
> customer. The only major thing which the firewall need to do is STATIC
> NAT. As you may see since this is a point to point connectiviy all the
> IPs employed are Private IPs. While checking the f/w in simulation
> mode, things were working fine (except default denying). I already
> tried to achieve DEFAULT DENY by changing the default behaviour of
> FORWARD policy to DROP by issuing the command "iptables -P FORWARD
> DROP". But when i do this all the traffic were getting dropped. So
If EVERYTHING is dropped then your rules do not get hit by the traffic.
(Your rules are wrong.)
Try to capture the traffic. Maybe you can find the problem.
>
> again i tried by appending a policy in forward chain (last rule) to
(policy is always the last rule... :D )
> drop all the packets by default. But even this didn't worked out. Hope
> you can understand my requirement & how i do the NATTing from my
> previous mail.
>
> Even though i have worked a bit with iptables before, I am a begginer
> in building a linux firewall with iptables :-)
>
> Cheers :)
> Gopinath.U
Swifty
next prev parent reply other threads:[~2007-05-21 16:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-10 5:28 Default deny rule Gopinath
2007-05-11 10:09 ` Gáspár Lajos
2007-05-14 6:02 ` Gopinath
2007-05-14 12:33 ` Gáspár Lajos
[not found] ` <d2af4f000705150134r4d5bbf84r96d0f91aae9a725d@mail.gmail.com>
2007-05-21 16:03 ` Gáspár Lajos [this message]
2007-05-28 13:45 ` Gopinath
2007-05-29 13:04 ` Gáspár Lajos
2007-05-29 14:44 ` Gopinath
2007-05-30 10:25 ` Gáspár Lajos
2007-05-31 5:11 ` Gopinath
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=4651C2EE.2080803@freemail.hu \
--to=swifty@freemail.hu \
--cc=gopinath.u@gmail.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.