I have come across articles advising for the following:
iptables -A INPUT -p tcp 1000:2000 -j ACCEPT
And others stating that the above will not work and iptables only supports multiple port declarations with the --multiport
option.
Is there a correct way to open many ports with iptables?