What's new

Tutorial Hotlist WireGuard Auto-Script Installer ( Debian 9 ,Centos 7 & Ubuntu 18 )

WireGuard Auto-Script Installer
Easily set up a dual-stack
Please, Log in or Register to view URLs content!
VPN on a Linux server. See the issues for the WIP.

Supported distributions:
  • Ubuntu 18.04 LTS
  • Debian 9
  • Fedora
  • CentOS 7
  • Arch Linux
I recommend these cheap cloud providers for your VPN server:

How to install :

1. Create a fresh VPS server then login the credentials using Bitvise -->
Please, Log in or Register to view URLs content!
2. Then just run the script bellow and reboot the vps afer installation.

Please, Log in or Register to view codes content!
3. Run the script again to create a new config

4. Copy the file /root/client-wg0.conf from a remote server to your local PC path /etc/wireguard/wg0.conf and run sudo systemctl start [email protected]

To show VPN status, run sudo wg show.

The script can be configured by setting the following environment variables:

  • INTERACTIVE - if set to "no", the script will not prompt for user input
  • PRIVATE_SUBNET - private subnet configuration, "" by default
  • SERVER_HOST - public IP address, detected by default
  • SERVER_PORT - listening port, picked random by default
  • CLIENT_DNS - comma separated DNS servers to use by the client

Inspired by
Please, Log in or Register to view URLs content!
Last edited:
Sir alam mo naman na napaka teknikal ng post mo mga matakaw tao dito saka gusto isusubo na lang MARAMING SALAMAT for sharing :)

Most Viewed