Supported distributions:
- Ubuntu >= 16.04
- Debian >= 10
- Fedora
- CentOS
- AlmaLinux
- Arch Linux
- Oracle Linux
Download and execute the script. Answer the questions asked by the script and it will take care of the rest.
sudo su
cd
mkdir vpn
curl -O https://raw.githubusercontent.com/devepicec/wireguard-vpn/main/vpn-ep.sh
chmod +x vpn-ep.sh
./vpn-ep.sh
sudo su
cd
mkdir vpn
curl -O https://raw.githubusercontent.com/devepicec/wireguard-vpn/main/vpn.sh
chmod +x vpn.sh
./vpn.sh
sudo su
sudo apt install wireguard
sudo apt install wireguard-tools
nano /etc/wireguard/wg10.conf
sudo systemctl enable wg-quick@wg10
sudo systemctl start wg-quick@wg10
sudo systemctl status wg-quick@wg10