Skip to main content

WireGuard

Installation

WireGuard Server
WireGuard Client

Ubuntu Linux

sudo apt install wireguard

/etc/wireguard/wg0.conf

#
# Use this configuration with WireGuard client
#
[Interface]
Address = XX.XX.XX.XX/32
PrivateKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
DNS = ZZZ.ZZZ.ZZZ.ZZZ, YYY.YYY.YYY.YYY
[Peer]
PublicKey = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
AllowedIPs = 0.0.0.0/0
Endpoint = somedomain.com:51820

Up & Down the wg link

sudo wg-quick up wg0
sudo wg
sudo journalctl -fu wg-quick@wg0

sudo wg-quick down wg0

Algo VPN

  • Algo VPN is a set of Ansible scripts that simplify the setup of a personal WireGuard and IPsec VPN.

NetBird

PiVPN

PiVPN is a lightweight, open-source project designed to simplify setting up a VPN server on a Raspberry Pi or any Debian-based system.

It supports WireGuard and OpenVPN, allowing you to create a secure, private tunnel to your home network or VPS.