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.
To enable standard communication through a proxy, do the following:
On the edge device, navigate to
/etc/systemd/system/connect.service
and open the file for editing.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>"
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.
Was this helpful?