Coder Social home page Coder Social logo

hfliuoz / openvpn-install-for-multiple-users Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gayanvoice/openvpn-install-for-multiple-users

0.0 1.0 0.0 57 KB

Share your OpenVPN server with multiple users on Debian, Ubuntu, and CentOS

License: Apache License 2.0

Shell 100.00%

openvpn-install-for-multiple-users's Introduction

OpenVPN Install for Multiple Users

Share the same client-certificate with everyone. This script pre-enabled the duplicate-cn.

Watch video

Install OpenVPN for multiple users on Ubuntu

Installation

Run this script

wget https://git.io/JeYgM -O openvpn-install.sh && bash openvpn-install.sh

OpenVPN Server

  • Start
service openvpn start
  • Status
service openvpn status
  • Stop
service openvpn stop

Remove

  • Uninstall OpenVPN
sudo apt remove openvpn
  • Remove it's dependencies
sudo rm -rfv /etc/openvpn

Prerequisites

  • Ubuntu 16.04 is no longer supported, use a latest version of OS
  • Only works with Debian, Ubuntu or CentOS
  • Enable 'tun' device before running this script
cat /dev/net/tun
# if you receive this message, your 'tun' device is running
# cat: /dev/net/tun: File descriptor in bad state
  • This script run on 'bash', not 'sh' for Debian users
echo {$BASH_VERSION}
  • Run this as 'root'
sudo su

openvpn-install-for-multiple-users's People

Contributors

example123 avatar gayanvoice avatar

Watchers

 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.