Re: mport trouble
-----BEGIN PGP SIGNED MESSAGE-----
Bastian Blank wrote:
> On Wed, Aug 03, 2005 at 06:16:24PM -0600, curby . wrote:
> Get a name.
>>Ok, that makes perfect sense. We haven't told it which port, but at
>>least our installation supports mport.
>>$ iptables -A FORWARD -p tcp -m mport --dports 22 -j ACCEPT
>>iptables: No chain/target/match by that name
> Where did you found the information that mport supports --dports? The
> iptables manpage specifies --destination-ports since many years.
Plus, out of the manpage (sorry for wrapping)
This module matches a set of source or destination ports. Up to
15 ports can be specified. It can only be used in conjunction with -p
tcp or -p udp.
Match if the source port is one of the given ports. The
flag --sports is a convenient alias for this option.
Match if the destination port is one of the given ports.
The flag --dports is a convenient alias for this option.
Match if the both the source and destination ports are
equal to each other and to one of the given ports.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
-----END PGP SIGNATURE-----