HTTP Proxy missing NO_PROXY support

Mar 23, 2023
5
2
3
Boise, ID
I am running Proxmox (and everything else) behind a HTTP MitM 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.
 

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!