[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netfilter
Subject:    Re: --dport/--sport clarification
From:       Samuel Jean <sj-netfilter () cookinglinux ! org>
Date:       2005-01-31 21:56:54
Message-ID: 41FEAA6E.1040202 () cookinglinux ! org
[Download RAW message or body]

R. DuFresne wrote:
> ipfwadm and I believe ipchains allowed port ranges, as in 135:139.  Does
> this worj te same with --dport/--sport?  My reading indicates the list or
> 'range' requires that the ports be a comma seperated list, rather then the
> ole 'range' option of old.

No, it still stands in iptables.

--sport 80:5000 is allowed.

However, --sports (which is an option to multiport or mport matches) does take
list of port.

--sports 22,80,25,110,...

> 
> Thanks,
> 
> 
> Ron DuFresne

Did I misunderstand your question ?

Samuel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic