I just installed raspbian 2018-11-19 on a new Pi 3. I am using the wired connection which is set to a static IP address (wifi is an issue for the future). I installed transmission and began to run this program but I can not open the TCP port I have specified (51412). I guess I need to open the port and here is what I have tried:
On my router *TP-Link (TL-WR841N) I forwarded this port to the IP address I chose. No joy. I thought I would have a play with iptables (does raspbian still use IP tables)
I think this is acceptedsudo iptables -A INPUT -p tcp --dport 51412 -j ACCEPT
but makes no difference. I can neither save this setting nor stop/restart iptables which makes me wonder whether this task is active.Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp dpt:51412
ACCEPT tcp -- anywhere anywhere tcp dpt:51412
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
the firewalld module is not running so I can't see that being a problem.
Any ideas how to open the TCP port? Do I need to start TCP?
Cheers