[Interface] # wg genkey | tee privatekey | wg pubkey > publickey # sudo wg-quick up wg0 # private_key of the client (i.e. local machine /etc/wireguard/privatekey ) PrivateKey = Address = 192.168.99.###/24 [Peer] PublicKey = PGog0mFfYcOZNxqo87QygrHb3vh5L6WKAE2Nqz8ZSyY= AllowedIPs = 192.168.99.1/24 Endpoint = vpn.kabilov.com:51820 PersistentKeepAlive = 15