soul4kills
New Around Here
So I recently got an RT-AX86S and just found out about merlin and have been messing with it a lot to get the most out of it.
Right now I've been trying to figure out how to route only my torrent traffic through OpenVPN on the router. It took me a while to piece together a working solution for it and was successful in setting up OpenVPN routing by port.
But after analyzing what ports were being utilized it isn't enough to route the torrent traffic to the OpenVPN because the port you set in the torrent client is only a listening port. Once connections are made, it's connected with whatever port Windows decides. So for incoming connections they do go to the port set, but for outgoing connections, it is with a random range of ports.
So I researched a little further and saw that you can route by GID group. So that's where I'm stuck at.
I see that the router is able to identify the torrent traffic as "Torrent Series" in Traffic Analyzer. How do I utilize that to set my iptables to route that type of traffic through the VPN.
Right now I've been trying to figure out how to route only my torrent traffic through OpenVPN on the router. It took me a while to piece together a working solution for it and was successful in setting up OpenVPN routing by port.
But after analyzing what ports were being utilized it isn't enough to route the torrent traffic to the OpenVPN because the port you set in the torrent client is only a listening port. Once connections are made, it's connected with whatever port Windows decides. So for incoming connections they do go to the port set, but for outgoing connections, it is with a random range of ports.
So I researched a little further and saw that you can route by GID group. So that's where I'm stuck at.
I see that the router is able to identify the torrent traffic as "Torrent Series" in Traffic Analyzer. How do I utilize that to set my iptables to route that type of traffic through the VPN.