From 9e5317b7aeeb4d708a8c684baf238f8a74340e5d Mon Sep 17 00:00:00 2001 From: lpoujol Date: Tue, 30 Nov 2021 10:51:20 +0100 Subject: [PATCH] complements forward --- HowtoOpenVPN.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/HowtoOpenVPN.md b/HowtoOpenVPN.md index e0381772..1942ac99 100644 --- a/HowtoOpenVPN.md +++ b/HowtoOpenVPN.md @@ -104,6 +104,14 @@ push "route 192.0.3.0 255.255.255.0" management 127.0.0.1 1195 /etc/openvpn/management-pwd ~~~ +Il ne faut pas oublier les changements suivants à ajouter dans le `/etc/default/minifirewall`. + +~~~ +# VPN +echo 1 > /proc/sys/net/ipv4/ip_forward +/sbin/iptables -t nat -A POSTROUTING -s 192.0.2.0/24 -o ens3 -j MASQUERADE +~~~ + ### Serveur sous OpenBSD ~~~