.. _proxy: Proxy ===== Setup will ask if you want to connect through a proxy server and, if so, it will automatically configure the system for you. .. image:: images/18_setup_direct_proxy.png :target: _images/18_setup_direct_proxy.png If you have problems installing via your proxy server, you may want to consider the :ref:`airgap` option as everything will install via the ISO image. Configuration -------------- If you need to make changes after Setup, please see the proxy settings in :ref:`administration` --> Configuration --> manager. .. image:: images/config-item-manager.png :target: _images/config-item-manager.png Once there, select the ``proxy`` or ``no_proxy`` options. General Information ------------------- There is no way to set a global proxy on Linux, but several tools will route their traffic through a proxy if the following lines are added to ``/etc/environment``: :: http_proxy= https_proxy= ftp_proxy= no_proxy="localhost, 127.0.0.1, , " Where: ```` is the url of the proxy server. (For example, ``http://10.0.0.2:3128`` or ``https://user:password@your.proxy.url``) ```` is the IP address of the Security Onion box. ```` is the hostname of the Security Onion box. .. note:: You may also need to include the IP address and hostname of the manager in the ``no_proxy`` variable above if configuring the proxy on a sensor node. To configure Docker proxy settings, please see https://docs.docker.com/network/proxy/. To configure git to use a proxy for all users, add the following to ``/etc/gitconfig``: :: [http] proxy = sudo ---- If you're going to run something using sudo, remember to use the ``-i`` option to force it to process the environment variables. For example: :: sudo -i so-suricata-restart .. warning:: Using ``sudo su -`` will ignore ``/etc/environment``, instead use ``sudo su`` if you need to operate as root. NIDS Rules ---------- If you are using a proxy and need to download NIDS rulesets, you will also need to configure proxy settings for the NIDS ruleset downloads. These settings are separate from the system-wide proxy configuration above. See the :ref:`nids` documentation for details on configuring the Proxy URL, Proxy Username, Proxy Password, and Proxy CA Path for ruleset downloads.