Show Table of Contents
5.3. Using an HTTP proxy
Some network environments may only allow external Internet access or access to content servers by going through an HTTP proxy.
Subscription Manager can be configured to use an HTTP proxy for all of its connections to the subscription service. (This is also an advanced configuration option at firstboot.) To configure the proxy:
[root@server1 ~]# subscription-manager config
--server.proxy_hostname=proxy.example.com
--server.proxy_port=8080
--server.proxy_user=admin
--server.proxy_password=secret
Note
Leaving the proxy_hostname argument blank means that no HTTP proxy is used. proxy_port for the proxy server port.

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.