mport or multiport?

afshin lamei afshinlamei at gmail.com
Tue Jul 12 12:26:07 CEST 2005


Dear all,
"iptables -A INPUT -p tcp -m mport --ports 20:23,80 -j DROP " from
patch-o-matic is perfect, but what is that: Source port or Destination
port?
I know that with "multiport" i can detrmine source ans dest ports, but
it is not so good because it doesn't accept ranges (eg: 20:50).



More information about the netfilter mailing list