What's new

VPN. Will this work?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

torleif

Occasional Visitor
Hi
I am trying to make my torrentclient on my linux server to go through my openvpn client (pia) on my asus router and I only want my torrent client to use the vpn client.
Will it work to make ip aliases on my server like this:

auto eth0
allow-hotplug eth0
iface eth0 inet static
address 192.168.1.42
netmask 255.255.255.0
gateway 192.168.1.1

auto eth0:0
allow-hotplug eth0:0
iface eth0:0 inet static
address 192.168.1.43
netmask 255.255.255.0

Then I bind my torrentclient to 192.168.1.43.

And then on my router I use the script (VPN_Select.sh) Martineau made and bind it to 192.168.1.43.
Will I also have a "fail switch" since my torrentclient is using 192.168.1.43 and if it loose connection to the ip alias it will be disconeted?

Thanks :)
 
Last edited:

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top