Open a range of ports with iptables

François Patte francois.patte at math-info.univ-paris5.fr
Mon May 29 07:05:37 UTC 2006


redhatdude at bellsouth.net a écrit :
> Hello,
> I'd like to know what is the command to open a range of ports, let's 
> say I wanna open from port 3000 to port 3100 for ftp transfers.

source ports: --sport 3000:3100

destination ports: --dport 3000:3100

> Thanks,

man iptables

-- 
François Patte
UFR de mathématiques et informatique
Université René Descartes
http://www.math-info.univ-paris5.fr/~patte




More information about the fedora-list mailing list