How to set up Remote Access VPN
Access your server from anywhere. This guide covers how to access it, log in for the first time, configure the basics, and where its data lives so you can back it up.
1. What is Remote Access VPN?
Connect securely to your server from anywhere in the world using WireGuard VPN. Access all your services as if you were sitting right next to your server. Includes a simple web UI for managing VPN clients — just scan a QR code with your phone.
2. Before you start
Port 51820/UDP must be open in your firewall. The SparkBox installer configures this automatically.
3. How to access it
Once it's enabled, Remote Access VPN runs on your SparkBox at:
http://<your-NAS-IP>:51821
Create a client config, scan the QR code with the WireGuard app, and you're connected
4. Settings you can change
You can set these when you enable the module, or later from Apps → Remote Access VPN in the dashboard:
- WireGuard Password — Set a password for the WireGuard VPN management panel (leave blank to auto-generate)
- WireGuard Host — Configurable value.
5. Where your data lives
Remote Access VPN's config and persistent data are stored on the SparkBox host under:
/opt/sparkbox/modules/vpn/config/
Backups via the SparkBox dashboard's Backup tile include this directory by default, so a single restore brings Remote Access VPN back to its current state on a fresh install.
Next steps
That's Remote Access VPN live on SparkBox.
If something doesn't match what you see, post in d/sparkbox or hit us up on YouTube. Every SparkBox bug gets patched; every UX-stumble in this guide gets rewritten.