-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
curby . wrote:
> I seem to be having a little trouble with the iptables mport match in
> a basic sarge installation (3.0r0a-ppc).
>
> $ iptables -A FORWARD -p tcp -j ACCEPT
> $
>
> Ok, no problem so far.
>
> $ iptables -A FORWARD -p tcp -m mport -j ACCEPT
> iptables v1.2.11: mport expects an option
> Try `iptables -h' or 'iptables --help' for more information.
> $
>
> 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
> $
>
> Now this is weird. The same command works fine in other places
> (meaning it's probably not a syntax error). Any ideas what I'm doing
> wrong?
>
I just tried the same thing (same install but 386) and got the same
result. However, can you use `-m multiport'. Apparently it does the same
thing & works for me.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFC8Xq5V63eDkW7v4cRAmSvAKCVnrBa/W0yPhOAtKFiwzYsbHfsSgCeKGM+
pQZJsKwxVzoChOELTYbMrY4=
=aRgu
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to debian-firewall-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
No comments:
Post a Comment