From: Pascal Hambourg <pascal.mail@plouf.fr.eu.org>
To: netfilter@lists.netfilter.org
Subject: Re: Filter ips
Date: Fri, 01 Sep 2006 12:14:11 +0200 [thread overview]
Message-ID: <44F807F3.4030906@plouf.fr.eu.org> (raw)
In-Reply-To: <4298.200.87.170.170.1157063657.squirrel@admin.ucbcba.edu.bo>
Hello,
nunezj@ucbcba.edu.bo a écrit :
>
> I put this rules in the my script:
>
> iptables -A INPUT -s 192.168.0.5/32 -d 0/0 -p tcp --dport 20,21 -j DROP
>
> but it doesn't work.
What do you mean *exactly* ?
--dport expects a port interval, not a port list : --dport 20:21
prev parent reply other threads:[~2006-09-01 10:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-08-31 22:34 Filter ips nunezj
2006-09-01 7:35 ` Jan Engelhardt
2006-09-01 7:46 ` Gáspár Lajos
2006-09-01 7:56 ` Jan Engelhardt
2006-09-01 8:05 ` Gáspár Lajos
2006-09-01 10:14 ` Pascal Hambourg [this message]
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=44F807F3.4030906@plouf.fr.eu.org \
--to=pascal.mail@plouf.fr.eu.org \
--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