mpsaltis / wago_ZeroTierContainer

This guide shows how to utilize ZeroTier VPN and network management tools on a WAGO Linux Controller

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wago_ZeroTierContainer

This guide shows how to utilize ZeroTier VPN and network management tools on WAGO Linux Controllers. Zerotier can also be downloaded to a PC and used as a remote monitoring tool for the PLC and Codesys.

ZeroTier Configuration

  1. Create a ZeroTier Account
  2. Create a network and find the Network ID. You will use this ID in your Docker Run Command

image

WAGO Device Configuration

  1. Connect the WAGO Controller (Edge Controller, TP600, PFC200) to the internet. You will also need to set the clock correctly, by enabling NTP client.

    image

  2. Enable Docker via the WBM, and reboot the device.

    image

  3. SSH into the device. You can use the command prompt on your PC, or putty. For the first time connecting, it will ask you to update the password. With command prompt : ssh root@x.x.x.x

image

Anytime a device is connected to the internet, it is important to change the password for the all users. The users root, admin and user should all be updated with new passwords.Depending on the firmware on your device, the number of places these are updated may vary. In the terminal, use the the command passwd to update these passwords. Note- for newer firmwares, will also update passwords for the WBM and Codesys runtime

image

  1. Enter the following command to pull the docker image, and start a container. Add your networkID at the end of the command shown below.
docker run --name myzerotier --restart=unless-stopped --net=host --cap-add NET_ADMIN --device /dev/net/tun zerotier/zerotier:latest **yourNetworkID**

image

  1. You should see the container start to download and build. Once it is complete, you will see “Sleeping infinitely”.

image

  1. Close the command prompt

  2. After the container is running, you will see a new device populate as a member. To allow this device access to the netowrk, you will need to select the checkbox under the Auth? Column. You can the test the connection and access the device with the IP address that it was assigned.

image

About

This guide shows how to utilize ZeroTier VPN and network management tools on a WAGO Linux Controller

License:MIT License