From: "Alexander W. Janssen" <yalla@ynfonatic.de>
To: Pablo Allietti <pablo@lacnic.net>
Cc: netfilter@lists.netfilter.org
Subject: Re: How to block all ports except port 21,22,80,8080 ???
Date: Tue, 18 Feb 2003 20:40:14 +0100 [thread overview]
Message-ID: <20030218194014.GB23914@ynfonatic.de> (raw)
In-Reply-To: <20030218121919.GA11554@omega.lacnic.net.uy>
[-- Attachment #1: Type: text/plain, Size: 683 bytes --]
On Tue, Feb 18, 2003 at 03:19:19PM +0300, Pablo Allietti wrote:
> iptables -A INPUT -i lo -j ACCEPT
>
> Another Question when i put this line in iptables -L say
>
> Chain INPUT (policy DROP)
> target prot opt source destination
> ACCEPT all -- anywhere anywhere
>
> whit this i do open all ports for any connection of outside?????
No it won't. Try "iptables -vnL" instead, it will show you that the rule is
limited to traffic coming from the lo-interface.
Alex.
--
"Mr Data, when I said 'Fire at Will', I didn't mean for you to be so literal."
Instructions for use of this post: Insert tounge in cheek. Read as normal.
[-- Attachment #2: Type: application/pgp-signature, Size: 248 bytes --]
next prev parent reply other threads:[~2003-02-18 19:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-18 8:12 How to block all ports except port 21,22,80,8080 ??? jacob_chan
2003-02-18 8:57 ` Ralf Spenneberg
2003-02-18 9:30 ` Ralf Spenneberg
2003-02-18 10:15 ` Patrick Maartense
2003-02-18 12:45 ` Ralf Spenneberg
2003-02-18 13:40 ` How to Block MSN Miguel Amador L.
2003-02-18 15:49 ` Arnt Karlsen
2003-02-18 16:03 ` How to block all ports except port 21,22,80,8080 ??? Alexander W. Janssen
2003-02-18 12:19 ` Re2: " Pablo Allietti
2003-02-18 19:40 ` Alexander W. Janssen [this message]
2003-02-18 19:51 ` Alexander W. Janssen
2003-02-18 9:02 ` Joel Newkirk
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=20030218194014.GB23914@ynfonatic.de \
--to=yalla@ynfonatic.de \
--cc=netfilter@lists.netfilter.org \
--cc=pablo@lacnic.net \
/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