Access
- Visit the web interface:
https://<SERVER_IP> - Accept SSL warning (self-signed certificate).
- Follow the initial setup.
First-Time Setup
0. Open the web interface in your browser.
1. SSH into the server.
2. Generate setup key:
sudo pritunl setup-key
3. Use the following MongoDB URI when prompted: mongodb://localhost:27017/pritunl
4. Get the default admin credentials (username is pritunl):
sudo pritunl default-password
VPN Configuration Flow (Web UI)
- Users → Add Organization
- Users → Add User
- Servers → Add Server
- Servers → Attach Organization to Server
- Servers → Start Server
- Users → Download client profile
Important Files and Directories
- Pritunl configuration:
/etc/pritunl.conf - Pritunl application data:
/var/lib/pritunl - MongoDB database files:
/var/lib/mongodb - MongoDB configuration:
/etc/mongod.conf - OpenVPN binaries:
/usr/sbin/openvpn - WireGuard binaries:
/usr/bin/wg