From 090404b1474088bd0bc4390f89e054c70f8f2468 Mon Sep 17 00:00:00 2001 From: jdubois Date: Mon, 13 Nov 2023 16:06:06 +0100 Subject: [PATCH] =?UTF-8?q?Ajout=20param=C3=A8tres=20sysctl=20OpenBSD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoWireGuard.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/HowtoWireGuard.md b/HowtoWireGuard.md index d3dc55bc..97d7b16a 100644 --- a/HowtoWireGuard.md +++ b/HowtoWireGuard.md @@ -39,12 +39,22 @@ WireGuard est également disponibles sous Android, macOS, iOS, Windows, et de no Autoriser le routage via `sysctl` : +Sous Debian : + ~~~ # echo "net.ipv4.conf.all.forwarding = 1" >> /etc/sysctl.d/wireguard.conf # echo "net.ipv6.conf.all.forwarding = 1" >> /etc/sysctl.d/wireguard.conf # sysctl -p /etc/sysctl.d/wireguard.conf ~~~ +Sous OpenBSD : + +~~~ +# echo "net.inet.ip.forwarding=1" >> /etc/sysctl.conf +# echo "net.inet6.ip6.forwarding=1" >> /etc/sysctl.conf +# sysctl -p /etc/sysctl.conf +~~~ + Générer une clé privée pour le serveur et sa clé publique : ~~~