From 9b4a473236084f10202bc9311efe14d0ef67ca27 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 23 Mar 2024 10:19:56 +0100 Subject: [PATCH] htz-cloud.wireguard: add c3voc vpn connection --- nodes/htz-cloud/wireguard.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nodes/htz-cloud/wireguard.py b/nodes/htz-cloud/wireguard.py index 0b1d162..6c6c17a 100644 --- a/nodes/htz-cloud/wireguard.py +++ b/nodes/htz-cloud/wireguard.py @@ -33,6 +33,7 @@ nodes['htz-cloud.wireguard'] = { }, 'bird': { 'static_routes': { + '10.73.0.0/16', '172.19.137.0/24', '172.19.136.62/31', '172.19.136.64/31', @@ -64,6 +65,17 @@ nodes['htz-cloud.wireguard'] = { 'wireguard': { 'snat_ip': '172.19.137.2', 'peers': { + 'c3voc': { + 'endpoint': 'wg.c3voc.de:13337', + 'my_ip': '10.44.0.35/24', + 'my_port': 51801, + 'their_ip': '10.44.0.1', + 'pubkey': vault.decrypt('encrypt$gAAAAABl_fnDW_9u0RLQpKmiE9V-4DjEcEVSaGp5NohG8tBD3tayGkrDd-LahgeEhDeWlCnoomErZi6HHCag3ODeoKivPr9F_UfdKPEOlCoDkMahqud8p5_3edi-TvIt30Bq_45yeIOo'), + 'masquerade': True, + 'routes': { + '10.73.0.0/16', + }, + }, 'kunsi-oneplus7': { 'endpoint': None, 'exclude_from_monitoring': True,