Install OCSERV with one click of script

The name of the The results of note
The measured environment centos7.3 The measured by
Support platform CentOS/RedHat 7
Git path ocserv-auto.sh
The name of the script ocserv-auto.sh
Implement way /bin/bash ocserv-auto.sh
Whether parameters need to be passed no
Whether there are configuration parameters no
Instructions for

Run the /bin/bash ocserv-auto-. sh command to complete the one-click installation. During the installation, an interactive message is displayed asking you to output the account password

Common commands are as follows

Example Create user ocpasswd -c /etc/ocserv/ocpasswd user

Example Delete user ocpasswd -c /etc/ocserv/ocpasswd -d user

Start the service service ocserv start

Service ocserv stop Stop the server

Service ocserv restart

Easyconnect client

The official address of the client: software.cisco.com/download/ho…

The android version download address: play.google.com/store/apps/…

Ios Download: Search the App Store for AnyConnect to install

If the above url is open, you can download it from my git: gitee.com/lookingdrea…

Example of using aN ios client
  • 1. Search AnyConnect in app Store to download and install
  • 2. Open the client. Disable the blocking of the untrusted server in the Settings because the script uses the default self-signed certificate, and the first connection will prompt the untrusted server, select continue

  • 3. Create a server configuration and enter the script to create the user name and password

Related articles

The serial number The title
1 One-click Installation of OCServ (AnyConnect Server) by Script
2 CiscoAnyconnect server setup with Ocser (for configuration)
3 One-click script installation of OpenVPN
4 OpenVPN listens on both TCP and UDP ports
5 CentOS 7 Install and configure PPTP