Thank you :)
The reply from @[email protected] below lead me to the man page for ip netns here:
https://manpages.ubuntu.com/manpages/trusty/man8/ip-netns.8.html
As far as I understand it, I could run programs like this:
ip netns exec vpn ~/qbittorrent/start.sh
ip netns exec clear ~/minecraft/start.sh
but I can’t figure out how to get the VPN to only run under the namespace. When I run it now, it reroutes all connections through it. I’ve got an OpenVPN connection that I’ve set one of my network connections to connect to automatically, but it doesn’t seem to make a difference. As soon as I connect the VPN, everything goes through it.
I’m still reading though, so hopefully I’ll figure it out :)
Sorry, I forgot to reply sooner >.<
I’ve been trying to get my head around this and also looking into Docker containers with Gluetun, as that looks a bit easier to start with. I think for the moment I’m going to go down the Docker route, and at least get the bulk of the programs separated, and give myself some breathing space to learn a bit more.
Docker isn’t ideal, as not everything has a Docker version, but the main programs that I originally mentioned do, and it will let me open the Minecraft servers to the kids in the extended family, especially as it’s getting colder and darker here.
I just want to say thank you to you, @[email protected], @[email protected], and everyone else who’s helped :)
I’m not giving up on this, I’m just going a bit more towards the basics and learning to walk before I try to run. This switching from Windows malarkey is hard work! ;)