[HELP] Can you set a VM proxy outside of the guest VM?

Jan 24, 2023
21
1
8
Hi there!
I was wondering if it were possible to set a proxy / VPN connection on a VM without the guest OS knowing about it?
Specifically, I want Windows to route all its traffic through a proxy, without configuring anything on the Windows OS. So it's all on the network bridge.

Is it possible to set a proxy like this?
 
yes, using a router which is connected by a vpn, it could be PVE itself or the recommended way is an another VM (can be debian server or Router like OpenWrt / pfSense).
So this would require connecting the Windows OS via VPN to the router?
Is it possible by having the actual network bridge be connected to the Proxy / router VPN, so that the Windows OS has absolutely nothing on it that could be detected as a VPN or proxy connection?
 
no, Windows OS just need to use the Router as its gateway.
It's the router which will be connected to the VPN, then it will nat/masquerade for your VM.
Right that's absolutely true! Thank you so much. I'll implement that now.

EDIT: Just wanted to add that I installed Pfsense and it works perfectly to use that as the network connection instead of my own. Still figuring out how to actually route traffic through a proxy/VPN inside of Pfsense, but at leasting routing traffic through Pfsense was a breeze.
Thank you for the help.
 
Last edited: