What's new
  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Foward port 51413 tcp/udp (Transmission)

Joel Teixeira

Occasional Visitor
Guys,

On my nat-start file I have the following rules (I took the official RMerlin documentation as example and adapted, not sure if correctly):

iptables -t nat -I VSERVER 1 -p tcp --dport 9091 -j DNAT --to 192.168.1.2
iptables -t nat -I VSERVER 2 -p tcp --dport 51413 -j DNAT --to 192.168.1.2
iptables -t nat -I VSERVER 3 -p udp --dport 51413 -j DNAT --to 192.168.1.2

My transmission server is working on a second router (Tp-Link WDR4300 with OpenWrt) with the following rules on firewall file:

config rule
option name Transmission
option src *
option proto tcp
option dest_port 9091
option target ACCEPT

config rule
option name Transmission-R2
option src *
option proto tcp
option dest_port 51413
option target ACCEPT

config rule
option name Transmission-R3
option src *
option proto udp
option dest_port 51413
option target ACCEPT

And the output of iptables -L is:

root@OpenWrt:~# iptables -L | grep 51413
ACCEPT tcp -- anywhere anywhere tcp dpt:51413 /* Transmission-R2 */
ACCEPT udp -- anywhere anywhere udp dpt:51413 /* Transmission-R3 */

It's OK to access the transmission server from WAN but when I check the port 51413 transmission say it's closed (attached image). Could you guys tell me what I'm doing wrong.
 

Attachments

  • snapshot4.png
    snapshot4.png
    99.5 KB · Views: 569

Latest threads

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top