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.
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.