From: lst_hoe01@kwsoft.de
To: netfilter@lists.netfilter.org
Subject: Re: Firewall did not block SSH - what is wrong
Date: Wed, 23 Feb 2005 08:42:59 +0100 [thread overview]
Message-ID: <1109144579.421c34033a74f@webmail.kwsoft.de> (raw)
In-Reply-To: <17870.1109099790@www17.gmx.net>
Zitat von ju0815nk@gmx.net:
> Hi,
>
> thanks for your help. Actually, I wanted to block all incoming traffic that
> is not related to connections originating from my machine. Should a default
> policy of dropping all packets plus allowing only related packages be
> sufficient ?
>
> e.g.
>
> $IPTABLES -P INPUT DROP
> $IPTABLES -A INPUT -i $EXTIF -s $UNIVERSE -d $EXTIP -m state --state \
> ESTABLISHED,RELATED -j ACCEPT
I would loose the "-d $EXTIP" because you want ESTABLISHED and RELATED also on
your internal IFs. Traffic coming in your external IF for your internal net or
your internal IF should be checked in the FORWARD chain.
> Is there any way to test iptables-based firewalls without access to a second
> machine ?
> I installed the rule you told me and commented out the one allowing
> connections to the firewall - but how can I test that it works for me
> (except testing if my email/mozilla works)?
There are many online scanners available at the net. For example
http://scan.sygatetech.com/. Choose one and see what's happening.
Regards
Andreas
next prev parent reply other threads:[~2005-02-23 7:42 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-22 19:16 Firewall did not block SSH - what is wrong ju0815nk
2005-02-23 7:42 ` lst_hoe01 [this message]
-- strict thread matches above, loose matches on Subject: below --
2005-02-21 19:36 Hilmar Berger
2005-02-22 13:25 ` lst_hoe01
2005-02-22 13:39 ` Samuel Díaz García
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=1109144579.421c34033a74f@webmail.kwsoft.de \
--to=lst_hoe01@kwsoft.de \
--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.