u-OS
Setup Guide

Linux

Weidmüller

macOS
TBA

Windows
TBA
Install with one command
Detailed Instructions
1. Sign up for SwarmGuard
- Please sign up for a SwarmGuard account.
- Download the SwarmGuard Industrial mobile application from either the Google Play Store or the Apple App Store by scanning the QR code below.
- Open the app and sign in with your account (email address and authentication code).
2. Install Docker (if it isn’t already installed)
Prepare a first device for your swarm network by installing the Docker engine . Follow these instructions for the supported platforms:
3. Install the SwarmGuard Agent
Ensure your device runs Linux with a kernel version of 5.4 or higher to integrate it successfully into your swarm network. You can either install a regular agent or alternatively an agent + ingress gateway (see more infos below).
-
Regular Agent
Run the following command to install a regular agent on your device:
Run the following command to install an agent and make your device an ingress gateway:
4. Add your device to the swarm
- Start SwarmGuard by running swarm up.
- Use the SwarmGuard Industrial mobile application and scan the QR code issued by the swarm up command on the device. Your device is connected to your swarm now.
5. Add more devices to your swarm network
Repeat steps 2 to 4 for additional devices.
Good To Know
SwarmGuard autonomously creates a full-mesh overlay network encompassing all the registered devices, known as the swarm. Access devices within the swarm using the domain name <device-name.swarm>
Ingress Gateway
An ingress gateway functions as a bridge between the public Internet and your private swarm network. By configuring one or more of your swarm devices as ingress gateways, provided they have a connection to the public Internet with a public IP address, you get the ability to forward designated ports to other devices within your private swarm network.
Make sure to run this alternative command in step 3 of this guide in order to make your device an ingress gateway:
This command installs two services: the regular SwarmGuard Agent and a SwarmGuard Layer-4-Gateway. The layer-4 gateway is managed remotely via your mobile application. To enable external access to a device port from the Internet, navigate to the device screen within the app and select Public Access. Subsequently, specify the desired port for opening, such as HTTPS (TCP/443). The app will display a public URL that can be used to access to the device port through one of your Ingress Gateways.