1 :INPUT,FORWARD,OUTPUT 2 -p tcp -m multiport --sports 53,1024:65535;=;OK 3 -p tcp -m multiport --dports 53,1024:65535;=;OK 4 -p udp -m multiport --sports 53,1024:65535;=;OK 5 -p udp -m multiport --dports 53,1024:65535;=;OK 6 -p udp -m multiport --ports 53,1024:65535;=;OK 7 -p udp -m multiport --ports 53,1024:65535;=;OK 8 -p sctp -m multiport --sports 53,1024:65535;=;OK 9 -p sctp -m multiport --dports 53,1024:65535;=;OK 10 -p dccp -m multiport --sports 53,1024:65535;=;OK 11 -p dccp -m multiport --dports 53,1024:65535;=;OK 12 -p udplite -m multiport --sports 53,1024:65535;=;OK 13 -p udplite -m multiport --dports 53,1024:65535;=;OK 14 -p tcp -m multiport --sports 1024:65536;;FAIL 15 -p udp -m multiport --sports 1024:65536;;FAIL 16 -p tcp -m multiport --ports 1024:65536;;FAIL 17 -p udp -m multiport --ports 1024:65536;;FAIL 18 -p tcp -m multiport --ports 1,2,3,4,6,7,8,9,10,11,12,13,14,15;=;OK 19 # fix manpage, it says "up to 15 ports supported" 20 # ERROR: should fail: iptables -A INPUT -p tcp -m multiport --ports 1,2,3,4,6,7,8,9,10,11,12,13,14,15,16 21 # -p tcp -m multiport --ports 1,2,3,4,6,7,8,9,10,11,12,13,14,15,16;;FAIL 22 -p tcp --multiport;;FAIL 23 -m multiport;;FAIL 24