Difference between revisions of "Edge Forwarder Service"

From Datonis
Jump to: navigation, search
Line 19: Line 19:
  
 
=== Windows (Docker Desktop) ===
 
=== Windows (Docker Desktop) ===
[[File:DockerExposeTCP.png|none|frame|850x850px]]
+
=== [[File:DockerExposeTCP.png|frameless|760x760px]]Linux ===
 
 
=== Linux ===
 
 
edit <code>/lib/systemd/system/docker.service</code> on Ubuntu system to modify the line
 
edit <code>/lib/systemd/system/docker.service</code> on Ubuntu system to modify the line
 
  <code>ExecStart=/usr/bin/docker daemon -H fd:// -H tcp://0.0.0.0:2375</code>
 
  <code>ExecStart=/usr/bin/docker daemon -H fd:// -H tcp://0.0.0.0:2375</code>
Line 33: Line 31:
 
* enable-forwarder-service: This creates and runs the Proxy Server Docker Container on the Edge Machine with listening on the specified Port.
 
* enable-forwarder-service: This creates and runs the Proxy Server Docker Container on the Edge Machine with listening on the specified Port.
 
* docker-daemon-server-url: URL of the docker daemon host URL.
 
* docker-daemon-server-url: URL of the docker daemon host URL.
* exposed-port-for-forwarding: Port at which the Edge Forwarder Proxy Server will be listening.
+
* exposed-port-for-forwarding: Port at which the Edge Forwarder Proxy Server will be listening.[[File:ForwarderService.png|frameless|1366x1366px]]
[[File:ForwarderService.png|none|frame|1341x1341px]]
 

Revision as of 07:51, 24 August 2020

Forwarder Service creates a Proxy Server in the Edge Machine which allows *.datonis.io URLs. Proxy Server runs inside a docker container in the Edge Machine which is controlled by Datonis Edge.

Forwarder Service.jpg

Prerequisites - Docker

For Linux:

  • Install Docker

For Windows:

Expose Docker on TCP

Windows (Docker Desktop)

DockerExposeTCP.pngLinux

edit /lib/systemd/system/docker.service on Ubuntu system to modify the line

ExecStart=/usr/bin/docker daemon -H fd:// -H tcp://0.0.0.0:2375

then

sudo systemctl daemon-reload
sudo systemctl restart docker.service

Edge Forwarder Service

Configuration:

  • enable-forwarder-service: This creates and runs the Proxy Server Docker Container on the Edge Machine with listening on the specified Port.
  • docker-daemon-server-url: URL of the docker daemon host URL.
  • exposed-port-for-forwarding: Port at which the Edge Forwarder Proxy Server will be listening.ForwarderService.png