View raw

VPN setup

WireGuard

  1. Install WireGuard on the VPS and on the DAQ hub.
  2. Configure WireGuard on both hosts to establish a point-to-point connection. Use the wg0.conf files in this directory.
  3. Start WireGuard service on both hosts.

On VPS:

: 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 : link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 : inet 127.0.0.1/8 scope host lo : valid_lft forever preferred_lft forever : inet6 ::1/128 scope host : valid_lft forever preferred_lft forever : : <...> : : 9: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu 1420 qdisc noqueue state UNKNOWN group default qlen 1000 : link/none : inet 10.xx.x.x/24 scope global wg0 : valid_lft forever preferred_lft forever