I want to hide all network traffic from my vms behind a Mullvad VPN, but i have no idea how. I can only find tutorials for docker containers, but not VMs. Is there an easy way of doing this? Im not much of a network pro.
i just have my binhex-delugevpn docker have privoxy enabled, then i setup the vms to use the privoxy ip/port for all traffic, problem solved.
Your ISP doesn’t care where / what you’re surfing or downloading. This will be work for you that you will not see a benefit from… the only service that you need to VPN will be torrenting. So look for a solution that has a torrent app and vpn client in a VPN or docker - and call it good.
If you have spare hardware I recommend pfsense with WireGuard so you can setup policy based routing and send only the IP’s you want through the vpn tunnel
Let me try to explain some stuff to you , and hopefully you will be able to figure out a way to configure your server for your needs:
I personally was using OpenVPN , until i switched to wire guard.
but the principal remains the same , essentially you could forward traffic for internet using virtual interface in Unraid say br0 for all your VMs.
Then you would use docker container for vpn on that interface , and that way you could hide only VMs behind said vpn, and not the server (if u understood you correctly)
Unless you want to hide the whole server behind vpn then its just host network as your network interface for VPN docker
Can u explain where you enter the IP?
This depends on the OS your using. See this guide for ubuntu:
Google: “Setup proxy server for *****”