This project is a bash script that aims to setup a AmneziaWG VPN on a Linux server, as easily as possible!
Supported distributions:
- AlmaLinux >= 9
- Debian >= 11
- Rocky Linux >= 9
- Ubuntu >= 24.04
others can work but not tested
2Gb of free space is required for temporary files.
Before installation it is strictly recommended to upgrade your system to the latest available version and perform the reboot afterwards.
Use curl or wget to download the script:
curl -O https://raw.githubusercontent.com/potap1978/amneziawg-install/main/amneziawg-install.sh
wget https://raw.githubusercontent.com/potap1978/amneziawg-install/main/amneziawg-install.sh
Set permissions:
chmod +x amneziawg-install.sh
And execute:
./amneziawg-install.sh
Answer the questions asked by the script and it will take care of the rest.
It will install AmneziaWG (kernel module and tools) on the server, configure it, create a systemd service and a client configuration file.
Run the script again to add or remove clients!