https://github.com/xl-tech/openvpn-easy-setup
Bash script for easy and fast OpenVPN deploy
https://github.com/xl-tech/openvpn-easy-setup
bash-script openvpn openvpn-server vpn vps
Last synced: about 1 year ago
JSON representation
Bash script for easy and fast OpenVPN deploy
- Host: GitHub
- URL: https://github.com/xl-tech/openvpn-easy-setup
- Owner: xl-tech
- License: gpl-3.0
- Created: 2017-08-09T15:37:18.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2025-02-01T18:51:53.000Z (over 1 year ago)
- Last Synced: 2025-05-16T13:04:38.788Z (about 1 year ago)
- Topics: bash-script, openvpn, openvpn-server, vpn, vps
- Language: Shell
- Size: 18.6 KB
- Stars: 266
- Watchers: 27
- Forks: 121
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenVPN-easy-setup (OUTDATED, PLEASE DO NOT USE)
Bash script for easy and fast OpenVPN server deploy
For CentOS 7.x and Ubuntu Server 17.x only. (Ubuntu Server 16.x is supported, but it have OpenVPN 2.3.x)
Use only on fresh installed machine. It will rewrite your iptables and OpenVPN configuration.
Features:
- Setup new server with one command in a couple of minutes;
- Creates client config in unified format;
- Choose of port and protocol;
- Choose of cipher;
- IPv6 support.
Usage: ./openvpnsetup.sh
Before enabling IPv6 support ensure that your machine have IPv6 address.
Note: iptables rule allow port 22 tcp (ssh) by default, if you have sshd on another port modify script before execution.
After script is complete you can create client config files in unified format with /etc/openvpn/newclient.sh script.
Usage: ./newclient.sh clientname
Config file will be saved to /etc/openvpn/bundles/clientname.ovpn and it ready to use (even on mobile device).