How to configure Red Hat Satellite 6 with proxy server between the Satellite server and the Internet?
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.
-
Instructions to configure Proxy settings on Red Hat Satellite 6.15 : Configuring Satellite Server with HTTP Proxy
-
Instructions to configure Proxy settings on Red Hat Satellite 6.16 : Configuring Satellite Server with HTTP Proxy
-
Instructions to configure Proxy settings on Red Hat Satellite 6.17 : Configuring Satellite Server with HTTP Proxy
-
Instructions to configure Proxy settings on Red Hat Satellite 6.18 : Configuring Satellite Server with HTTP Proxy
Note For Setting the proxy is done by hammer, not by satellite-installer.
- Satellite 6.16 and earlier:
- 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
- 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.conffile with it as well.
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.