From 16c99e021ce207f42c4e783714f303dc99da5b6e Mon Sep 17 00:00:00 2001 From: u1 Date: Sat, 7 Feb 2026 13:41:56 +0100 Subject: [PATCH] docs(step1): add wg autostart commands (systemd) --- doc/step-001-wg-export-what-next.txt | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/doc/step-001-wg-export-what-next.txt b/doc/step-001-wg-export-what-next.txt index 85b1f3a..4bf3e79 100644 --- a/doc/step-001-wg-export-what-next.txt +++ b/doc/step-001-wg-export-what-next.txt @@ -21,6 +21,17 @@ Najprosciej przez scp z klienta: ping 10.66.66.1 ssh user@10.66.66.1 +4) Autostart po restarcie (server + client) +Domyslnie bywa, ze wg-quick@wg0 jest "disabled" (szczegolnie na kliencie). + +Serwer (Ubuntu/Debian, systemd): + sudo systemctl enable --now wg-quick@wg0 + sudo systemctl is-enabled wg-quick@wg0 + sudo systemctl status wg-quick@wg0 --no-pager + +Klient (Debian/Ubuntu, systemd): + sudo systemctl enable --now wg-quick@wg0 + sudo systemctl is-enabled wg-quick@wg0 + Wazne: - Dopiero jak ping i ssh po WG dzialaja, przechodzisz do odciecia publicznego SSH na serwerze. -