Credits

Thank you Nyr! Shinobi Systems is only mirroring Nyr's script and detailing the process involved.

Install OpenVPN Server

During installation you will be asked which IP to use. By default it allow selecting the real-world IP address. If this is not what you want then make sure you have the desired IP address already in your clipboard for when you are asked.

1. Download and Run the Install Script

wget https://git.io/vpn -O openvpn-install.sh && bash openvpn-install.sh
  • Shinobi Systems Gitlab Mirror
wget https://gitlab.com/Shinobi-Systems/openvpn-install/-/raw/master/openvpn-install.sh -O openvpn-install.sh && bash openvpn-install.sh

2. Follow prompts on screen. You will be asked about your IP address here. If you don't know what to put for a question asked then allow it to use the default.

One ovpn connection file will be created during this process.

Creating More Connection Files (Adding Users)

1. Run the script again and select the first option.

bash openvpn-install.sh

2. Fill in the name. Make sure it is unique.

A file will be generated and a path will be shown as to where the .ovpn file is. Use this file to connect on your client machines.