‘Insert clipboard’s contents’ sounds like a fancy way of saying paste 🤷🏻♂️
‘Insert clipboard’s contents’ sounds like a fancy way of saying paste 🤷🏻♂️
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, @jet@hackertalks.com, @lungdart@lemmy.ca, 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! ;)
Thanks for replying :)
I think I’m getting it, but my brain is definitely pickled at this point :D
I’ve also found this post and a Stack Exchange thread to go with it, and it’s sinking in slowly
https://schnouki.net/post/2014/openvpn-for-a-single-application-on-linux/
I need to go to bed for the night though, I’ve just realised that it’s gone 3 am :o
Thank you :)
The reply from @jet@hackertalks.com 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 :)
Apologies for the slow reply :)
These are the things that I don’t understand. When you say I need to specify the destinations, does that mean the destination of the traffic, like lemmy.dbzer0.com, or the destination network interface like tun0 or enp2s0?
I’m searching for split tunnel VPN, but the majority of results are either sales sites, or Stack Overflow with no confirmed answers.
I’ve been having a bit more luck with this page after searching for Jet’s answer below:
https://manpages.ubuntu.com/manpages/trusty/man8/ip-netns.8.html
but I’m still confused >.<
Apologies for the slow reply :)
I’m reading up on this at the moment. If I’m understanding it correctly, I would run that command to launch a program, but could I use it for something that launches at startup?
My Minecraft and Qbittorrent instances start automatically, so could I change them to something like
ip netns exec vpn ~/qbittorrent/start.sh
ip netns exec clear ~/minecraft/start.sh
or change the application’s autostart Command box to ip netns exec vpn qbittorrent %U if the current entry is just qbittorrent %U
Do these make sense?
If you’re on a time crunch, go ahead and use network namespaces under network manager to set up something like what you want as another user suggested.
I’d love to, but I have no idea how >.< :D
I have a vague idea of what they are and what they do, but everything I’ve found assumes a level of understanding that I don’t have yet. I’ve found this man page from searcing an example posted in another reply, and it’s helped, but I’m still confused :)
https://manpages.ubuntu.com/manpages/trusty/man8/ip-netns.8.html
Either that, or the page says that it’s been updated in the last month, but the content is about how to connect to the World Wide Web ‘(WWW)’ with a free AOL floppy disc
Same result for me in the UK