Hi Tim,

I suspect it is because you have the protocol as ALL, There are more protocols than TCP and UDP. You would need to create a rule for TCP and one for UDP if you want to open the port for both.

iptables -A INPUT -p tcp --dport 3977 -j ACCEPT
iptables -A INPUT -p udp --dport 3977 -j ACCEPT

Failing that you could use
--destination-port
instead of dport.

Regards

David


On 14/02/15 23:59, Tim wrote:
I am running Debian and I am trying to open 3 ports realising I am using iptables I tried the following (as interpreted from a few pages I googled):

iptables -A INPUT -p ALL --dport 3977 -j ACCEPT

but I get the following error

iptables v1.4.21: unknown option "--dport"

But dport is listed in many of the results I googled, has dport been depreciated and replaced with something else??

This is for internal LAN operation not external internet access

Thanks in advance

Tim



--
Next meeting:  Bournemouth, Tuesday, 2015-03-03 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread on mailing list:  mailto:[email protected]
How to Report Bugs Effectively:  http://goo.gl/4Xue

Reply via email to