0
My network configuration:
- I run transmission on my Netgear R7000 router, it is running a fork (v2017.2) of [Tomato shibby by Kille72][1].
- My router is not a gateway, it is set up as an access point behind a dedicated router/modem and is on the same subnet. It is not even a DHCP server.
- My router is configured with an ip of 192.168.1.251
My goals:
I want to route all of my transmission traffic through the OpenVPN client of my router without DNS leak.
I want to use port forwarding of my VPN with transmission to successfully forward the assigned port in transmission the client. I am looking to tie the assigned port in transmission with the change of port by my VPN.
What I know so far:
- The limitations of running a cut-down linx system in Tomato seem to cause me issues with running scripts that other people have made online.
- I managed to [run this script][2] to successfully request my port from privateinterentaccess.com but I can't seem to find a working script to send this port automatically to transmission. In the link (or script) you can see the API Private internet access have created to request the port.
- I have found various other scripts, including [another in the link above][3] that does not work, I get regex errors when running the script.
- I have tried also [this script][4] which looks tailored for my use but it doesn't work. After modifying the script I get:
awk: cmd. line:1: Unexpected token awk: cmd. line:1: Unexpected token awk: cmd. line:1: Unexpected token ping: bad address '””' awk: cmd. line:1: Unexpected token
- I have very limited linux knowledge but I am keen to learn and have found this very interesting.
- Most of the info online seems points to people running transmission on a client running behind a router (probably a NAS). This seems to make it harder since I need to forward traffic only from the server I am running both transmission and openVPN on.
Some notes
- I noticed that because Tomato wasn't running bash or sha256sum I had to find a way to install them for the script to request a port to work. I downloaded them from the optware repository.
- There is a routing policy tab in the OpenVPN section of tomato but it seems to be very buggy and I can't work out how to use it without a DNS leak. The only way I don't leak is if I choose the option: redirect internet traffic. [Here are bugs that have been found][5] in the routing policy and here are screenshots of the options I have in open VPN+my current custom config:
Does anyone have any suggestions for the best way I can achieve my goals?
Thanks for taking the time to read!
I have had to remove my links as I do not have a reputation high enough to post more than two. You can view them here: https://pastebin.com/UzdM0fjj