# Configuring proxy settings for Remote Engines

Make your remote engine work in a machine behind a proxy server.

Information noteNote: Remote Engine Gen2 does not support this feature.

## Before you begin

If you have installed Talend Remote Engine manually, you must configure the proxy settings before pairing the Remote Engine.

In Remote Engine versions 2.8.2 or below, if you need to change the proxy settings after pairing the Remote Engine, you must unpair and re-install it before starting this procedure.

From Remote Engine version 2.8.3, you only need to stop the engine before configuring the proxy settings, then start it again.

## Procedure

1. Access the Remote Engine installation folder.
2. Add the HTTP or HTTPS proxy values to the &lt;RemoteEngineInstallationDirectory&gt;\etc\system.properties file.
   ### Example
   ```
   http.proxyHost=<proxyHost>
   http.proxyPort=<proxyPort>
   http.nonProxyHosts=127.0.0.1|localhost

   https.proxyHost=<proxyHost>
   https.proxyPort=<proxyPort>
   https.nonProxyHosts=127.0.0.1|localhost
   ```
3. To connect to ActiveMQ, define the amq.proxy parameter in the &lt;RemoteEngineInstallationDirectory&gt;\etc\org.talend.ipaas.rt.pairing.agent.cfg file.
   * HTTP

     ```
     amq.proxy=http
     ```

   * HTTPS

     ```
     amq.proxy=https
     ```

   Information noteNote: This step only necessary if your Remote Engine version is higher than 2.1 and lower than 2.8.3.

   The proxy configuration parameter values are called from the &lt;RemoteEngineInstallationDirectory&gt;\etc\system.properties file.
4. Optional: If you are using a Remote Engine version 2.1 or earlier, you have to define the amq.proxy parameter by giving the host name and port.
   ### Example

   amq.proxy=&lt;proxyHost&gt;:&lt;proxyPort&gt;
5. Save your changes.
6. Start your Remote Engine.
7. Pair your Remote Engine.