On Friday 19 May 2006 10:03, Luis wrote:
> now i want to add in that line the port 5000 8888
> 50001 and other else
> how can i do that ?
From the man page...
multiport
This module matches a set of source or destination ports. Up to 15
ports can be specified.
A port range (port:port) counts as two ports. It can only be used in
conjunction with -p
tcp or -p udp.
--source-ports [!] port[,port[,port:port...]]
Match if the source port is one of the given ports. The
flag --sports is a conve-
nient alias for this option.
--destination-ports [!] port[,port[,port:port...]]
Match if the destination port is one of the given ports. The
flag --dports is a con-
venient alias for this option.
--ports [!] port[,port[,port:port...]]
Match if either the source or destination ports are equal to
one of the given ports.
--
Brian J. Schrock
Attachment:
pgpO0gGi15o9m.pgp
Description: PGP signature