Giter Club home page Giter Club logo

vpn-using-cisco-ocserv's Introduction

CISCO Project Awesome

GitHub release

Compatibility Check Compatibility Check Compatibility Check

This project integrates OCSERV with CENTOS, ensuring compatibility and successful deployment across CENTOS versions 7, 8, and 9.

Version: 3.0.0

Build: Build Status

Author: Amir Masoud Noohi

Language: Bash Script

Pre-Requirements

This project requires the following:

  • A VPS with a Dedicated IP and root Access
  • CENTOS 7, 8, or 9 Operating System
  • [optional] A valid SSL certificate

Requirements

To run the code.py file, install the following packages for Python:

  • radcli
  • epel-release
  • net-tools
yum install git -y

Installation

Step 0: Cloning

Start by cloning the project:

git clone https://github.com/amirmnoohi/VPN-using-cisco-ocserv.git && cd VPN-using-cisco-ocserv/

Step 1: Grant Access

Grant execution access to ocserv.sh and make it runnable:

chmod +x ocserv.sh
sed -i -e 's/\r$//' ocserv.sh
./ocserv.sh

Step 1.1: Edit Encryption Info

To modify encryption details, edit ocserv.sh using nano or vim:

  • For organization and server IP address details, edit lines 138-139 and 153-154:
    • CN[138] = "Your Company Name"
    • organization[139] = "Your Company Name"
    • CN[153] = "Server IP Address or any A record to IP"
    • organization[154] = "Your Company Name"

Step 2: Answering Questions

Run the script and answer the prompted questions for configuration and default settings. Wait for the script to complete.

Step 3: Creating Users

Create a Cisco user with the following command:

$ ocpasswd -c /etc/ocserv/ocpasswd Name

This ensures broad compatibility across various CENTOS releases, facilitating a smooth setup process regardless of the specific CENTOS version you are using.

Usage

For using this service, you can use Cisco Anyconnect for any platform. All necessary files are gathered here.

Support

For support, reach out to me at:

License

license

vpn-using-cisco-ocserv's People

Contributors

amirmnoohi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

vpn-using-cisco-ocserv's Issues

ocserv

Chenking ocserv service status...
WARNING!!! ocserv service is NOT Running!

if there are NO WARNING above, then you can connect to
your ocserv VPN Server with the user and password below:

این مشکل چطوری حل کن

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.