Ok so please appreciate i’m not TRYING to sound like an idiot… hah…
Is it possible to have one application (think sonarr + usenet) running all traffic through a VPN connection, and also have a seperate application (such as Plex Media server) without VPN on the same PC; without multiple network cards? In my head I am thinking no, because the VPN needs to stay connected at all times and thus without a second network card how would it be possible. But I also know stuff all about Linux so would appreciate any help on this front.
Or alternatively, would there be a way to have something similar to a VM and then route each instance differently through the router and have the router handle VPN/non-VPN aspect? Is this something you could do with Docker containers?
Honestly just got no idea, but wanting to get an idea if it’s at all reasonable before attempting it. At the end of the day I could run everything through the VPN, it just means that my connection is somewhat crippled as my VPN can’t keep up with my connection (and to buy one that can is not an option right now).
This could also be achieved simply with VPN routing, either by IP subnet or ports. It’s been a while since I set this up, but you could probably set up a virtual interface on your primary as well.
This is all about setting the default gateway. I’ve never done it but in theory you should be able to set a default gateway for one IP range and another for a different range. However in practice I’m not sure how this works out. Hoping to at least point you in the right direction
I wanted to do this a long time ago. But my problem was that, for connecting to a remote server from work i had to first connect to a VPN of my work place first. But when i connected most of my traffic was blocked or rather highly restricted.
Fortunately, my work place configured the VPN with a OpenVPN config file. So in that file i changed some code so that only specific ip-destinations were tunneled through. All other destination ip addresses were routed through my wifi directly.
But here you will need to know the ips before hand. Maybe make a list of ip you don’t want to tunnel.
Looks very interesting but concerned I may run into issues with limited knowledge. It looks a little more niche and perhaps not quite as many guides to follow whilst I get my footing with things. Might check it out further though thanks it’s essentially the exact concept I want…
Unfortunately trying to do this without spending any more cash. Hardware specifically designed for for the task with a nice shiny interface would be great though, but alas not an option right now!
After distro hopping for years, I’ve been captivated by Pop!_OS. By far the best Linux desktop out of the box. In a single boot UEFI installation, you get full disk encryption by default! A lot of critical system components rewritten in Rust and the theme is gorgeous.