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

Jan 24, 2023
21
1
3
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).
 
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:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!