ocservice v1.0.0
First public release of ocservice — a set of bash scripts for managing ocserv OpenConnect VPN server with easy-rsa certificate management.
What's included
User management
- Create certificate-based users: generates easy-rsa client certificate and exports as .p12 file
- Create login/password users via ocpasswd
- Configurable certificate validity period and max simultaneous connections per user
User Management Center
- Table view of all users with online status, certificate dates, ban points and connection limit
- View live connection details for online users
- Edit per-user config, kick, reset ban points or delete users
Main menu
- Live server status: uptime, active sessions, RX/TX traffic, auth failures, banned IPs
- Quick access to ocserv log, config file, restart and reload
Installer
- Interactive install.sh that parses ocserv.conf automatically
- Auto-detects camouflage URL and secret from ocserv.conf
- Sets up file permissions and sudoers with minimal required privileges
- Supports cert, plain and both authentication modes