Docs Menu

Docs HomeMongoDB Ops Manager

Configure Ops Manager to Use an HTTP Proxy for Outgoing Traffic

In restricted network environments, you can configure Ops Manager to use a proxy to make outbound network requests.

You can use an HTTP proxy to:

  • fetch MongoDB server and Agent binaries and the Ops Manager version manifest from MongoDB

  • contact any third-party services you have integrated with Ops Manager.

Ops Manager, the Backup Daemon, and MongoDB Agents need direct outbound access to certain MongoDB, Inc.-hosted URLs over HTTPS to download the MongoDB Agent and MongoDB versions.

If you want Ops Manager, the Backup Daemon, and the MongoDB Agents to use a proxy to limit internet access, you can configure your firewall to allow access to MongoDB URLs.

The URLs you add to the firewall's allow list depend upon what you have set as your Installer Download Source. This setting has two subsettings: Ops Manager gets installers from: and Agents get the installers from:. The Agents' installer source is also the Backup Daemon's source.

Ops Manager Source
Agent/Daemon Source
Domains to Allow
MongoDB
MongoDB
MongoDB

Ops Manager

Ops Manager

Ops Manager

URL to Access Ops Manager for Agents to download MongoDB installers from Ops Manager

If you configure an HTTP proxy, you can use the following procedure and the Non Proxy Hosts property to allow the Ops Manager Application Server to bypass the proxy when accessing specific hosts. The hosts that you exclude are typically internal.

Tip

See also:

To learn more about maintaining MongoDB versions in Ops Manager with limited internet access, see Configure Deployment to Have Limited Internet Access.

1
  1. Click the Admin link at the top left.

  2. Click Ops Manager Config.

  3. Click Miscellaneous.

  4. Set the options for the proxy under the HTTP/HTTPS Proxy section:

    Field
    Action
    Specify the hostname of the proxy server.
    Specify the port of the proxy server.
    Specify a pipe-separated (|) list of internal hosts to bypass the outgoing proxy you configured.
    If the proxy server requires authentication, specify the username with which to authenticate.
    If the proxy server requires authentication, specify the password with which to authenticate.

Important

Ops Manager doesn't support NTLM protocol authentication for proxies.

2

Use the command appropriate to your platform.

Platform
Restart Service Command
RHEL, CentOS, Amazon Linux and Ubuntu
sudo service mongodb-mms restart
Other Linux distributions
<install_dir>/bin/mongodb-mms restart
←  Assign Snapshot Stores to Specific Data CentersUpgrade Ops Manager →