All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Patrick Ahler" <patrick@vikus.com>
To: netfilter@lists.netfilter.org
Subject: --sport
Date: Wed, 5 Mar 2003 11:21:19 -0500	[thread overview]
Message-ID: <ABEKJILKOKKGGDJKHKDFGEALCAAA.patrick@vikus.com> (raw)

1. Is there a way to specify a range of source ports when setting a rule. My
ftp server uses ports 5000-5020 for passive but I don't want to have to
write a rule for each port. (For a network firewall). The ftp server is
behind the firewall.


iptables -A FORWARD -p tcp --sport 5000 -m state --state
NEW,ESTABLISHED,RELATED -j ACCEPT



             reply	other threads:[~2003-03-05 16:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05 16:21 Patrick Ahler [this message]
2003-03-05 16:36 ` --sport Sven Schuster
2003-03-05 19:52   ` --sport Martin Josefsson
2003-03-05 21:30     ` --sport Sven Schuster
2003-03-05 16:40 ` --sport Maciej Soltysiak

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=ABEKJILKOKKGGDJKHKDFGEALCAAA.patrick@vikus.com \
    --to=patrick@vikus.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.