VPN setup¶
Overview¶
A VPN (Virtual Private Network) establishes a secure channel between your SenArch ARCH-1 LoRaWAN Gateway and your server. It protects data in transit and enables remote management over public networks.
Prerequisites¶
- OpenVPN server.
- Client configuration file:
client.conf - Gateway shell access
Gateway configuration¶
- Copy your configuration file into the folder: /data/openvpn
- Make sure that the file contains key, cert, ca and possibly tls certificates.
- Make sure that the file starts with:
client
nobind
dev tun
remote-cert-tls server
remote your.vpnserver.com 1194
-
Once the
client.confis inside the correct folder VPN service will start automatically. -
To check if VPN has an interface, execute the command
ifconfig, then search fortun0.
Troubleshooting¶
VPN connection failure¶
Problem: VPN client cannot connect to the server.
Cause: Network connectivity issues or firewall blocking VPN traffic.
Solution: Verify udp port 1194 is open and forwarded through your firewall.
No network connectivity after VPN connection¶
Problem: VPN connects successfully but no network traffic flows.
Cause: Configuration mismatch between server and client settings.
Solution: Ensure both server and client use the same device type (tun) and protocol (udp) or (tcp).
TLS authentication errors¶
Problem: VPN connection fails with certificate or authentication errors.
Cause: Invalid or mismatched certificate files or server configuration.
Solution: Verify certificate files are correct and the server address matches the certificate Common Name.
Next steps¶
- Configure LoRaWAN provisioning to connect to your network server
- Set up co-host monitoring for gateway health tracking
- Configure LTE connectivity for cellular backhaul