From ef434281797ef98b2424f143ebc74f0317e6726a Mon Sep 17 00:00:00 2001 From: lapatatedouce Date: Sun, 2 Mar 2025 08:50:58 +0100 Subject: [PATCH] add Make sure to stop the service before modifying the configuration --- networking/vpn-wg-site-to-vps.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/networking/vpn-wg-site-to-vps.conf b/networking/vpn-wg-site-to-vps.conf index a36331e..8ac7f0b 100644 --- a/networking/vpn-wg-site-to-vps.conf +++ b/networking/vpn-wg-site-to-vps.conf @@ -12,6 +12,10 @@ # Perform this backup before any modification # cp /etc/wireguard/wg0.conf /etc/wireguard/wg0.conf.bak +# Stopping the WireGuard service before modifying the configuration +# Make sure to stop the service before modifying the configuration +# sudo systemctl stop wg-quick@wg0 + # Modify the WireGuard configuration # Open the configuration file to modify it # nano /etc/wireguard/wg0.conf