VPN-Setup aims to be an easy to use, efficient & a feature filled utility. This goes from automatically setting up VPN services such as WireGuard or OpenVPN, to manage users seamlessly, adding or revoking a client in just a few seconds.
Special credits to Angristan for his OpenVPN installation script that we are using to automatically setup OpenVPN and manage users with!
First, download the latest release using wget on your server
wget -O auto_setup.sh https://github.com/GTeamx/VPNSetup/releases/latest/download/auto_setup.sh
Then make it exectuable by everyone using
chmod a+x auto_setup.sh
Finally, simply run the script by using
./auto_setup.sh
-
What does the WireGuard automatic install do for you ?:
- Support IPv4 & IPv6
- Port, DNS, apt, ufw & private key customization
- Generate private & public server keys
- Generate server config (with UFW & iptables)
- Configure UFW (Firewall) for WireGuard & SSH
- Tuning sysctl
- Add & automatically generate client configs (with/without Windows DNS leak fix)
- Remove existing WireGuard clients instantly
- Uninstall & remove every trace of WireGuard
-
What about OpenVPN ?:
- Support IPv4 & IPv6
- Port customization
- Run both TCP & UDP modes simultaneously
- Generate server configs automatically (TCP & UDP)
- Configure UFW (Firewall) & iptables (TCP & UDP)
- Tuning sysctl
- Add & automatically generate configs (for both TCP & UDP)
- Remove existing OpenVPN clients instantly
- Uninstall & remove every trace of OpenVPN
-
We do SOCKS5 too!:
- Comming soon!
We highly recommand using the latest releases when possible as they might fix critical issues or errors. VPN-Setup updates are ONLY RELEASED HERE!.
There a high chance you'll face errors and issues if your using the latest .sh file from the dev or main branch, please only use the released versions.
If you face any error or bugs during the usage of the script, please open an issue on our GitHub page. Providing sufficiant information to we are able to reproduce the error/issue on our side (provide the OS, released version that you were using, any other installed softwares, any "special" config changes that may or may not have done like in sysctl for exemple, ect...)
Before contributing, please make sure that you follow our conventions (naming scheme, indentation) and that your code works! Make sure to also precise on what OS and what OS version you test were ran, provide any additionnal software installed where you ran your test (if applicable)
This project is licensed under GNU General Public License v3.0 (GPL).