This script will let you set up your own VPN server in just a few minutes, even if you haven't used WireGuard before. [WireGuard](https://www.wireguard.com) is a fast and modern VPN designed with the goals of ease of use and high performance.
If you are unable to download, open [wireguard-install.sh](wireguard-install.sh), then click the `Raw` button on the right. Press `Ctrl/Cmd+A` to select all, `Ctrl/Cmd+C` to copy, then paste into your favorite editor.
[WireGuard VPN clients](https://www.wireguard.com/install/) are available for Windows, macOS, iOS and Android. To add a VPN connection, open the WireGuard App on your mobile device, tap the "Add" button, then scan the generated QR code in the script output. For Windows and macOS, first securely transfer the generated `.conf` file to your computer, then open WireGuard and import the file.
<ahref="https://ko-fi.com/hwdsl2"target="_blank"><imgheight="36"width="187"src="docs/images/kofi2.png"border="0"alt="Buy Me a Coffee at ko-fi.com"/></a> <ahref="https://coindrop.to/hwdsl2"target="_blank"><imgsrc="docs/images/embed-button.png"height="36"width="145"border="0"alt="Coindrop.to me"/></a>
Supporter-only content is available. [Click to see details](https://ko-fi.com/hwdsl2).
This script is based on the great work of [Nyr and contributors](https://github.com/Nyr/wireguard-install), with enhancements and changes for compatibility with the [Setup IPsec VPN](https://github.com/hwdsl2/setup-ipsec-vpn) project.