Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: VPS Setup

Set up WireGuard—a modern VPN protocol—on a Debian VPS—install with
apt install wireguard
generate keys:
wg genkey | tee /etc/wireguard/privatekey | wg pubkey > /etc/wireguard/publickey
configure /etc/wireguard/wg0 conf:
[Interface]\nPrivateKey = \nAddress = 10.0.0.1/24\nListenPort = 51820
Start with
wg-quick up wg0
open port:
ufw allow 51820/udp
On Linode test with client—ensures secure phpMyAdmin access in VPS hosting

Back to All Tips