Hey guys, I'm trying to achieve something similar (I think) so I guess I can piggyback on this thread?
I'm running a RT-AX56U with 3004.388.8_2
I have an individual wireguard connection which is used solely for tunneling a Transmission client running on the router (installed via Entware). It's mapped up in the VPN director area and it works. Traffic is sent and received.
The only problem is that Transmission can't see it's listening port as being open ("port is CLOSED"), and as I result I get some errors and I assume it's not working as well as it otherwise should be as a result.
I saw Merlin said
here that you need to configure it manually
and that the VPN also needs to support it. My VPN (proton) does support it however it assigns a random port for forwarding on each connection and AFAIK you can only retreive it by using their application on a computer. Perhaps there is some crazy way to scan the ports on that connection, I don't know.
Anyway, is there not some way to achieve this otherwise? Don't I just want a simple routing rule that says,
any traffic that comes down this VPN connection, force it to Transmission on the port that it's listening on - and it would work?
If someone can help me with the command to run that would be much appreciated.
thing - interface - ip
Transmission - br0:0 - 192.168.1.10 (client is listening on 51413)
Wireguard - wgc5 - 10.2.0.2
Note - firewall-start script already has port 51413 allowed
iptables -I INPUT -p tcp --destination-port 51413 -j ACCEPT
iptables -I INPUT -p udp --destination-port 51413 -j ACCEPT