Gentlemen (and ladies? any ladies?),
I'm sooo close to getting my ideal network setup running. Please please help me with the last step!
I have a tomato router running a VPN client through which all my outgoing traffic goes. My VPN provider is AirVPN, they forward ports so that I can access services on my LAN through the VPN - I'm also running an OpenVPN server to which I can connect through a port opened by AirVPN.
Behind the router there are various machines, one of which is a QNAP NAS. I want to run Transmission on the NAS (or rTorrent I suppose I haven't used either before, but they are both available in the QNAP "app store"). Now it sounds simple enough - forward port 12345 on AirVPN, forward same port in router, set Transmission to listen to that port - but I just can't get this to work.
First attempt was to port forward in the basic port forwarding section in the AdvancedTomato GUI. Transmission reports the port is closed, canyouseeme.org reports the port closed, and transmission fails to connect.
Second, I tried the following from the AirVPN website advice on how to forward ports on tomato:
#iptables -I FORWARD -i tun11 -p udp -d 192.168.1.10 —dport 12345 -j ACCEPT
#iptables -I FORWARD -i tun11 -p tcp -d 192.168.1.10 —dport 12345 -j ACCEPT
#iptables -t nat -I PREROUTING -i tun11 -p tcp —dport 12345 -j DNAT —to-destination 192.168.1.10
#iptables -t nat -I PREROUTING -i tun11 -p udp —dport 12345 -j DNAT —to-destination 192.168.1.10
UPnP is turned off on both router and Transmission. The VPN client is set to the following:
Redirect internet traffic: checked
Create NAT on tunnel: checked
I'm not smart enough to figure out the next step here. Can you help? Please let me know if you need more info on VPN settings, iptables or whatever.
Thanks and regards,