Script for configuring OpenConnect (ocserv) protocol on the server easily and automatically.
Tested on ubuntu , Debian
Download and saving script on your server:
curl -O https://raw.githubusercontent.com/Alsid66/OpenConnect-Cisco-AnyConnect-VPN-Server-OneKey-ocserv/master/ocserv-install.shMaking script executable
chmod +x ocserv-install.shAnd then just run it:
sudo bash ocserv-install.sh- Easy install
- Easy uninstall
- Add User
- Change Password
- Show All Users
- Delete User
- Lock User
- Unlock User
For making connection to your server, you can use AnyConnect, OpenConnect or other alternative clients.
- AnyConnect: GUI AnyConnect client for available platforms.
- OpenConnect: OpenConnect client for Linux.
And one more thing, contributions are welcome.
sudo nano /etc/ocserv/ocserv.conf
sudo systemctl restart ocserv (OR) sudo service ocserv restart
The script is based on here