GithubHelp home page GithubHelp logo

bullet2267 / ocserv-daloradius Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nzldev/ocserv

0.0 0.0 0.0 41 KB

iVPN OpenConnect server setup (server software uses ocserv) Note that this project is based on Centos7 operating system

Shell 100.00%

ocserv-daloradius's Introduction

iVPN-ocserv server setup (server software uses ocserv) Note that this project is based on Centos7 operating system

installation steps

Common methods of server operations

  • Start server method: systemctl start ocserv
  • Stop server method: systemctl stop ocserv
  • Server restart method: systemctl restart ocserv

Method of adding client account

  • Method 1: /root/iVPN/user_add.sh directly add the account password and certificate file through the script file
  • Method 2: ocpasswd -c / etc / ocserv / ocpasswd user_name Add an account with the user name user_name, and modify the password if it already exists
  • Method 3: cd / root / iVPN; mkdir user_name; cd user_name; ../gen-client-cert.sh user_name / root / iVPN only add user certificate> * ocpasswd -d user_name delete user_name account

Configuration file description

  • ocserv_quick.sh-script file for quick installation of iVPN server
  • ocserv.conf-the main server configuration file
  • install_script.sh-server installation main script file
  • ocserv_radius_quickinstall.sh-Ocserv docking Radius quick installation script
  • radius_for_ocserv.sh-Ocserv's main Radius script file
  • user_add.sh-script to quickly generate iVPN client account and client certificate
  • user_del.sh-quick delete iVPN client account and disable account certificate script
  • client_download.txt-download address for different types of clients
  • certificate.txt-add certificate user description separately

Modify the contents of the /var/lib/ocserv/profile.xml file to push the server configuration to the client

vi /var/lib/ocserv/profile.xml
<ServerList>
                <HostEntry>
                    <HostName>Server description 1</HostName>
                    <HostAddress>server1_ipaddress:port</HostAddress>
                </HostEntry>
                <HostEntry>
                    <HostName>Server description 2</HostName>
                    <HostAddress>server2_ipaddress:port</HostAddress>
                </HostEntry>
</ServerList>

ocserv-daloradius's People

Contributors

nzldev avatar

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.