debian 10

Linux / WireGuard note on Linux Debian 10 in 2021

May 28, 2021

WireGuard note on Linux Debian 10 in 2021 # Linux version: Debian 10 VPN Server # First, create a vm on cloud: Run: # admin sudo su # install wireguard apt-get install wireguard # set folder and set umask cd /etc/wireguard umask 002 # generate private and public key wg genkey | tee privkey | wg pubkey > pubkey # create config file touch /etc/wireguard/wg0.conf Create /etc/wireguard/wg0.conf: ...