Skip to content

Easily & quickly setup a WireGuard/OpenVPN server and manage your users with ease!

License

Notifications You must be signed in to change notification settings

GTeamx/VPNSetup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🔒 VPN-Setup 🔒

GitHub Release GitHub Downloads (all assets, latest release) GitHub Downloads (all assets, all releases) GitHub License
GitHub commits since latest release GitHub commit activity (branch) GitHub commits difference between two branches/tags/commits
GitHub branch check runs GitHub branch check runs Static Badge
GitHub Repo stars GitHub watchers GitHub forks Discord

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

Special credits to Angristan for his OpenVPN installation script that we are using to automatically setup OpenVPN and manage users with!

⬇️ Installation

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

🌟 Features & Functionalities

  • 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!

🔔 Releases/Updates

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.

🚷 Errors/Bugs (Issues)

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...)

🔃 Contributing

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)

📜 License

This project is licensed under GNU General Public License v3.0 (GPL).