lmc999 / wireguard-install

Secure WireGuard server installer for Debian, Ubuntu, CentOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wireguard-install

Wireguard Server

wget https://raw.githubusercontent.com/LiveChief/wireguard-install/master/wireguard-server.sh
bash wireguard-server.sh

Wireguard Client

wget https://raw.githubusercontent.com/LiveChief/wireguard-install/master/wireguard-client.sh
bash wireguard-client.sh

Copy $HOME/$CLIENT_NAME-wg0.conf to /etc/wireguard/wg0.conf

Setup Wireguard service on client

systemctl enable wg-quick@wg0.service

Start Wireguard service on client.

systemctl start wg-quick@wg0.service

Stop Wireguard Service

systemctl stop wg-quick@wg0.service

Show Wireguard status

wg show

About

Secure WireGuard server installer for Debian, Ubuntu, CentOS

License:MIT License


Languages

Language:Shell 100.0%