From: MAB <mabaeyens@eresmas.com>
To: "Simpson, Doug" <dsimpson@friedmancorp.com>,
"'netfilter@lists.netfilter.org'" <netfilter@lists.netfilter.org>
Subject: Re: ssh
Date: Wed, 15 Jan 2003 18:44:09 +0000 [thread overview]
Message-ID: <200301151844.10222.mabaeyens@eresmas.com> (raw)
In-Reply-To: <20ED00AA0BC135449469D6EF0AE79C971046@ozlan.fcdomain.net>
El Mar 14 Ene 2003 21:28, Simpson, Doug escribió:
> whoops - forgot this is a dual homed computer and I am opening the eth0 to
> the outside world for ssh.
> I did find this -
> iptables -A INPUT -p tcp --syn --destination-port 22 -j ACCEPT
With this rule you mean you accept every incoming packet from the internet
through the por 22, and specially packets with the SYN,RST,ACK bit sets to 1
(you accept people should establish a connection to the 22 port)
> iptables -A INPUT -p tcp --syn -j DROP
And, out of that, every incoming TCP packet, DROPs
-Miguel Angel Baeyens
KeyID: 0x6FB7A511 en rediris.es
next prev parent reply other threads:[~2003-01-15 18:44 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-14 21:28 ssh Simpson, Doug
2003-01-15 12:09 ` ssh Zander
2003-01-15 18:44 ` MAB [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-14 15:26 ssh Piszcz, Justin Michael
2004-07-14 15:42 ` ssh Antony Stone
2004-07-14 15:57 ` ssh Koyama Mituru
2004-07-14 16:07 ` ssh Antony Stone
2004-07-14 14:15 ssh IT Clown
2004-07-14 14:25 ` ssh Koyama Mituru
2003-01-14 19:59 ssh Simpson, Doug
2002-06-24 12:23 ssh Daniel Sercaianu
2002-06-24 13:31 ` ssh Antony Stone
2002-06-24 13:47 ` ssh Maciej Soltysiak
2002-06-24 13:56 ` ssh Ramin Alidousti
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=200301151844.10222.mabaeyens@eresmas.com \
--to=mabaeyens@eresmas.com \
--cc=dsimpson@friedmancorp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox