How to configure Red Hat Satellite 6 with proxy server between the Satellite server and the Internet?

Solution Verified - Updated

Environment

  • Red Hat Satellite 6

Issue

  • How to properly configure Satellite 6 where a proxy server sits between the satellite and internet. Also, how to list all Satellite 6 components that communicate directly to the internet ?
  • How to configure a new proxy in case of a network change for satellite ?

Resolution

See How many types of Proxy Settings are present with the Red Hat Satellite 6 to get more information on http proxy types and usage on the Satellite server.

Note For Setting the proxy is done by hammer, not by satellite-installer.

  • Satellite 6.16 and earlier:
  1. Add an HTTP proxy entry to Satellite:
# hammer http-proxy create --name=myproxy \
--url http://myproxy.example.com:8080  \
--username=proxy_username \
--password=proxy_password
  1. Configure Satellite to use this HTTP proxy by default:
# hammer settings set --name=content_default_http_proxy --value=myproxy
  • Satellite 6.17 and later:

    • Add an HTTP proxy entry to Satellite and use by default:
# hammer http-proxy create --name=myproxy \
--url http://myproxy.example.com:8080  \
--username=proxy_username \
--password=proxy_password \
--content-default-http-proxy true
  • In case of a proxy change, remember to update the /etc/rhsm/rhsm.conf file with it as well.
SBR
Product(s)
Components
Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.