アクセス
- Webインターフェースにアクセスしてください:
https://<SERVER_IP> - SSL警告を受け入れる(自己署名証明書)。
- 初期設定に従ってください。
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
重要なファイルとディレクトリ
- 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