$ iptables -A INPUT -m tcp --sport 6500:6400 -j ACCEPT iptables v1.4.21: invalid portrange (min > max) Error message added with d15fb34c Signed-off-by: Jiri Popelka <jpopelka@xxxxxxxxxx> --- extensions/libxt_tcp.man | 1 - 1 file changed, 1 deletion(-) diff --git a/extensions/libxt_tcp.man b/extensions/libxt_tcp.man index 7a16118..8019461 100644 --- a/extensions/libxt_tcp.man +++ b/extensions/libxt_tcp.man @@ -7,7 +7,6 @@ name or a port number. An inclusive range can also be specified, using the format \fIfirst\fP\fB:\fP\fIlast\fP. If the first port is omitted, "0" is assumed; if the last is omitted, "65535" is assumed. -If the first port is greater than the second one they will be swapped. The flag \fB\-\-sport\fP is a convenient alias for this option. -- 2.3.2 -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html