Allow Proxy

JFrog Connect allows edge devices that are connected to the network through a proxy to communicate with Connect servers.

Edge devices that communicate through web proxy servers require changes in the JFrog Connect service configurations to enable packet transmission. This page describes how to enable general communication through a proxy.

To enable features such as remote control and remote access, see Allow Proxy for Remote Communication.

Tip: The parameters in Connect’s service configuration file can be very sensitive. An incorrect input can render the edge device inaccessible from the Platform. Please edit with care.

To enable standard communication through a proxy, do the following:

  1. On the edge device, navigate to /etc/systemd/system/connect.service and open the file for editing.

  2. Under the [Service] section, add the following two lines:

Environment="http_proxy=<PROTO>://<PROXY ADDRESS>:<PROXY PORT>"
Environment="https_proxy=<PROTO>://<PROXY ADDRESS>:<PROXY PORT>"
  1. Review the file to ensure that it looks like the example below and save.

System information as of <last change date>

[Unit]
Description=JFrog Connect service
After=network.target
StartLimitIntervalSec=0

[Service]
Environment="http_proxy=<PROTO>://<PROXY ADDRESS>:<PROXY PORT>" 
Environment="https_proxy=<PROTO>://<PROXY ADDRESS>:<PROXY PORT>"
Type=simple Restart always
RestartSec=5
StartLimitBurst=5
User=root
ExecStart=/etc/connect/service/ConnectAgent

[Install]
WantedBy=multi-user.target

What’s Next?

Learn how to enable remote connections through a proxy.

Last updated