I am running Proxmox (and everything else) behind a HTTP MitM proxy.
I have set /etc/environment appropriately:
This works fine when running stuff in the terminal, but updating does not work from the GUI. I tried setting Datacenter → Options → HTTP proxy, but since I am using a combination of the default Debian repositories for the base OS and Proxmox Offline Mirror for the Proxmox sources (hosted internally, pmxmirror.example.com) then the update still fails, since the GUI does not have a way to set NO_PROXY, and tries to access pmxmirror.example.com via the proxy, which fails, since that host is not resolvable from the public internet.
How do I add a NO_PROXY value to the GUI operations? I am somewhat surprised if I am the first person to encounter this, as most large enterprise networks have a similar setup of inspecting all external traffic but allowing direct internal access by bypassing the proxy.
I have set /etc/environment appropriately:
Code:
all_proxy="http://proxy-web.example.com:80"
ALL_PROXY="http://proxy-web.example.com:80"
http_proxy="http://proxy-web.example.com:80"
HTTP_PROXY="http://proxy-web.example.com:80"
https_proxy="http://proxy-web.example.com:80"
HTTPS_PROXY="http://proxy-web.example.com:80"
no_proxy="localhost,127.0.0.1,.example.com"
NO_PROXY="localhost,127.0.0.1,.example.com"
This works fine when running stuff in the terminal, but updating does not work from the GUI. I tried setting Datacenter → Options → HTTP proxy, but since I am using a combination of the default Debian repositories for the base OS and Proxmox Offline Mirror for the Proxmox sources (hosted internally, pmxmirror.example.com) then the update still fails, since the GUI does not have a way to set NO_PROXY, and tries to access pmxmirror.example.com via the proxy, which fails, since that host is not resolvable from the public internet.
How do I add a NO_PROXY value to the GUI operations? I am somewhat surprised if I am the first person to encounter this, as most large enterprise networks have a similar setup of inspecting all external traffic but allowing direct internal access by bypassing the proxy.