From 77c6e532b38ad90e7091a88fc3eb11b4c96f9709 Mon Sep 17 00:00:00 2001 From: uap33-2025-r Date: Thu, 14 Nov 2024 16:51:29 +0100 Subject: [PATCH] Actualiser ansible/mkwgconf.sh --- ansible/mkwgconf.sh | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/ansible/mkwgconf.sh b/ansible/mkwgconf.sh index 39ff466..db23337 100644 --- a/ansible/mkwgconf.sh +++ b/ansible/mkwgconf.sh @@ -2,17 +2,10 @@ set -u set -e -<<<<<<< HEAD AddressAwg=10.0.0.1/24 # Adresse VPN Wireguard extremite A EndpointA=172.16.0.122 # Adresse extremite A PortA=51820 # Port ecoute extremite A AddressBwg=10.0.0.2/24 # Adresse VPN Wireguard extremite B -======= -AddressAwg=172.16.0.1/24 # Adresse VPN Wireguard extremite A -EndpointA=172.16.0.122 # Adresse extremite A -PortA=51820 # Port ecoute extremite A -AddressBwg=172.16.0.2/24 # Adresse VPN Wireguard extremite B ->>>>>>> d6e080d0145615056a7a0eb3d2f9e512809eb4f5 EndpointB=172.16.0.121 # Adresse extremite B PortB=51820 # Port ecoute extremite B @@ -28,11 +21,7 @@ pKA=$(cat endpoint-a.pub) PKB=$(cat endpoint-b.key) pKB=$(cat endpoint-b.pub) -<<<<<<< HEAD cat < wg0-1.conf -======= -cat < wg1-a.conf ->>>>>>> d6e080d0145615056a7a0eb3d2f9e512809eb4f5 # local settings for Endpoint A [Interface] PrivateKey = $PKA @@ -46,11 +35,7 @@ Endpoint = ${EndpointB}:$PortB AllowedIPs = $AddressBwg FINI -<<<<<<< HEAD cat < wg0-2.conf -======= -cat < wg1-b.conf ->>>>>>> d6e080d0145615056a7a0eb3d2f9e512809eb4f5 # local settings for Endpoint B [Interface] PrivateKey = $PKB