Steven Jan Springl wrote:
> Top
> 
> The following rule:
> 
> REDIRECT-  lan  10  tcp  10,200  1000:100000  192.168.2.0/24
> 
> generates the following iptables rule:
> 
> -A lan_dnat -p 6 -m multiport --dports 10,200 --sport 1000:10000 -d 
> 192.168.2.0/24 -j REDIRECT --to-port 10 -m comment --comment "This is a test 
> line"
> 
> which fails with the following message:
> 
> iptables-restore v1.3.6: multiport can only have one option.

If your iptables/kernel have 'Repeat match support' then revision 6173
should handle this correctly. Otherwise, this is a restriction of
iptables/netfilter (that I should document).

-Tom
-- 
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ [EMAIL PROTECTED]
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Shorewall-users mailing list
Shorewall-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to