Configuring a proxy

James Smith

New Member
Jul 12, 2016
4
0
1
32
I configured a proxy in my /etc/profile file with the "http_proxy" variable and i made sure it works by testing it in a browser but my vms dont use it. How is this possible ?
Thank you.
 
this proxy setting only applies to the PVE host
each OS in the VM has its own way to set a proxy (Linux vx Windows ) so it is not possible to configure this from ouside the VM
 
this proxy setting only applies to the PVE host
each OS in the VM has its own way to set a proxy (Linux vx Windows ) so it is not possible to configure this from ouside the VM
Yes, but i do not want to configure the proxy within the vm's os. There is no other way?
Thanks.
 
You can create a transparent proxy in a VM and route the whole traffic through that node. I did this years ago and it worked for "ordinary" http traffic. HTTPS cannot be proxied transparently, so you're on your own then. Please google for transparent proxy squid.

Another way would be to tunnel your way out to another server behind your proxy. This is even more complicated and needs additional machines, yet it can be done.
 

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!