Configuring a System to Use a Proxy for ULN

If the system needs to use a proxy service to access ULN, specify the enableProxy and httpProxy settings in /etc/sysconfig/rhn/up2date as shown in the following example.

enableProxy=1
httpProxy=http://proxysvr.example.com:3128

If the proxy server requires authentication, also specify the enableProxyAuth, proxyUser, and proxyPassword settings.

enableProxy=1
httpProxy=http://proxysvr.example.com:3128
enableProxyAuth=1
proxyUser=user
proxyPassword=password   

Caution:

All dnf users require read access to /etc/dnf/dnf.conf or /etc/sysconfig/rhn/up2date. If these files must be world-readable, don't use a proxy password that's the same as any user's login password, and especially not root's password.