Supported distributions: Ubuntu 16+, Debian, Fedora, CentOS, Arch Linux

You should first update, upgrade and restart your Linux server. The server should be dedicated or kvm/xen virtualized, not openvz. lxc may not work either, i have not tried.

yum update;yum upgrade 2>/dev/null||apt update;apt upgrade 2>/dev/null

now the installation of the WG server:

yum install curl 2>/dev/null || apt install curl 2>/dev/null;curl -O;chmod +x;./

Hit enter on prompts. I only customized nameservers using ones from a opennic project.

If any errors, search these on search engine and if not reported yet, report it to above mentioned Github project page.

Then i am presented with a .conf file which i list and copy its contents to my client. Example:
cat /root/wg0-client-abcd1234.conf

To exclude neighbor LAN computers IPs from forcing through Wireguard tunnel (to nowhere) you can edit AllowedIPs variable in the resulting client .conf file according to output of this bash script. Example:
./ + - -
RESULT:,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, script that you have downloaded can be ran (./ to add more clients/peers to the server, remove user or uninstall Wireguard.

port forwarding / opening port on Wireguard