This is OCSERV + CENTOS PROJECT.
Version : 2.0.2
Build : Passing
Author : Amir Masoud Noohi
Language : Bash Script
For This Project You Need below Requirements :
- VPS with Dedicated IP + root Access
- CENTOS 7 Operating System
- [optional] valid ssl certificate
For runnig code.py file You Need to install below pakcage for python :
- radcli
- epel-release
- net-tools
$ yum install net-tools epel-release radcli
First of All Clone the Project :
$ git clone https://gitlab.com/limner/CISCO-VPN-SERVICE
$ cd CISCO-VPN-SERVICE/
Now We should Grant Access to ocserv.sh and make bash runnable
$ chmod 777 ocserv.sh
$ sed -i -e 's/\r$//' ocserv.sh
$ ./ocserv.sh
For Changing Encrypting info open ocserv.sh with nano or vim
Then edit line 138-139 and 153-154
CN[138] = organization[139] = Your Comapany Name
CN[153] = Server Ip Address or any A record To IP
organization[154] = Your Comapany Name
When running the script, you will be asked a series of questions for convenience and default settings.
Answer them.
Wait for the script to finish.
Now You Can Create Cisco user with following command.
$ ocpasswd -c / etc / ocserv / ocpasswd Name
For using This Service You Can use Cisco Anyconnect For any platform
I have Gather All of them in HERE
Reach out to me at one of the following places!
- Telegram at @amirmnoohi
- Gmail at [email protected]
- MIT license
- Copyright 2018 © Bank Project.