How do one route all traffic though vps except torrent traffic?
Why the hell - you might ask - you want to do that? Isn't it why people buy vpn so they could hide torrent traffic?
I live in Russia and here nobody cares about so called piracy, vpn speed is significantly slower than
my internet connection speed so I thought maybe I should route torrent traffic pass vpn directly to ISP.
What is the better way to do that? Is it a good idea in a first place?
I'm not a network pro and I immediately thought of:
1. spinning up a virtual machine with torrent client
2. spinning up a container?
3. some magic iptables/ip route command?
I prefer spinning up a virtual machine with gentoo so I could experience a joy of configuring it and because I might migrate it to a real server someday but I'm not sure about network configuration. Will I need to create a bridge of something?
I have a gentoo as my host, and vps has debian with openvpn running.
I did some tinkering with openvpn settings changed tcp to udp, turned compression on/off, rcvbuf, sndbuf settings both on client and on server with not much of a result.