Configuring a proxy

James Smith

New Member
Jul 12, 2016
4
0
1
33
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.