Skip to content

gayanvoice/openvpn-install-for-multiple-users

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 

Repository files navigation

OpenVPN Install for Multiple Users Image of insights

Image of insights

Set up 📈 GitHub Insights counter to track how many people have viewed your GitHub repositories

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/JeFPU -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

About

Share your OpenVPN server with multiple users on Debian, Ubuntu, and CentOS based on Nyr/openvpn-install

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages