
Process: 9914 ExecStart=/usr/bin/wg-quick up wg0 (code=exited, status=0/SUCCESS) Loaded: loaded enabled vendor preset: enabled)Īctive: active (exited) since Wed 10:22:26 UTC 7s ago # OR }$ sudo vim /etc/wireguard/wg0.confĬreated symlink → the service, }$ sudo systemctl start the service status, }$ sudo systemctl status Set Up WireGuard VPN on Debian by Editing wg0.confĮdit or update the /etc/wireguard/wg0.conf file as }$ sudo nano /etc/wireguard/wg0.conf # Please note down the private key }# cat publickey To view keys created use the cat command and ls }# ls -l privatekey }# cat privatekey Let us cd into /etc/wireguard/ directory using the cd command as }$ sudo }# cd /etc/wireguard/Įxecute the following }# umask 077 wg genkey | tee privatekey | wg pubkey > publickey }$ sudo apt install wireguardįirst we need to create a private and public key pair for the WireGuard server. It is time for setting up a WireGuard VPN server on Debian 10 server. Now, we got our server updates with the latest security patches and buster-backports is enabled. Wireguard-tools/buster-backports 0319- 1~bpo10+ 1 amd64įast, modern, secure kernel VPN tunnel (userland utilities ) Step 3 – Installing a WireGuard VPN server on Debian 10 LTS Wireguard-dkms/buster-backports 0318- 1~bpo10+ 1 allįast, modern, secure kernel VPN tunnel (DKMS version ) Wireguard/buster-backports 0319- 1~bpo10+ 1 allįast, modern, secure kernel VPN tunnel (metapackage ) Run the following }$ apt search wireguard Get: 10 buster-backports/non-free Translation-en Īll packages are up to date. Get: 9 buster-backports/non-free amd64 Packages



Get: 8 buster-backports/contrib Translation-en Get: 7 buster-backports/contrib amd64 Packages Get: 6 buster-backports/main Translation-en Get: 5 buster-backports/main amd64 Packages
