Edge Forwarder Service
From Datonis
Contents
Introduction
Forwarder Engine allows forwarding of *.datonis.io URL requests via Edge Machine. Once enabled, Edge can act as a forwarder/Proxy for all Datonis browser requests. An integrated Proxy Server runs inside a docker container in the Edge Machine which can be configured in Datonis Edge.
Prerequisites - Docker
For Linux:
- Install Docker
For Windows:
- Windows 10 64-bit: Pro, Enterprise, or Education (Build 16299 or later)
- Windows 10 home (with version 2004 - 19041 and later): Install docker desktop using wsl-2
Expose Docker on TCP
Windows (Docker Desktop)
Starting Docker Service at startup (For Windows)
For windows, at the startup we have to manually click on start docker service prompt. To avoid this we can add this powershell script to run at start up by doing the following:
- Create a startup file: E.g. in C:\Altizon\docker-startup.ps1
- Add this in the script
start-service -Name com.docker.service start "C:\Program Files\Docker\Docker\Docker Desktop.exe"
- To start it automatically when the server boot create ScheduledJob with New-JobTrigger – like here: Open PowerShell as an Administrator and do:
$trigger = New-JobTrigger -AtStartup -RandomDelay 00:00:30
Register-ScheduledJob -Trigger $trigger -FilePath C:\tmp\bloom_onPrem\startup.ps1 -Name BloomOnPrem
- Display Scheduled Job using
Get-ScheduledJob
orGet-ScheduledJob|Get-JobTrigger
- Or it can be viewed in the Task Scheduler of Windows.
Linux
Add tcp://0.0.0.0.2375 in the hosts of Docker Engine.
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