Linux Netfilter discussions
 help / color / mirror / Atom feed
* --sport
@ 2003-03-05 16:21 Patrick Ahler
  2003-03-05 16:36 ` --sport Sven Schuster
  2003-03-05 16:40 ` --sport Maciej Soltysiak
  0 siblings, 2 replies; 5+ messages in thread
From: Patrick Ahler @ 2003-03-05 16:21 UTC (permalink / raw)
  To: netfilter

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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2003-03-05 21:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-05 16:21 --sport Patrick Ahler
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox