From 016e6d434c5a7eead436c0a53378e6f51d22ce61 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Tue, 16 Nov 2021 17:39:23 +0100 Subject: Add wireguard --- node/carcajou.nix | 5 +++++ node/cariacou.nix | 5 +++++ node/caribou.nix | 5 +++++ 3 files changed, 15 insertions(+) (limited to 'node') diff --git a/node/carcajou.nix b/node/carcajou.nix index 25b835c..15e4395 100644 --- a/node/carcajou.nix +++ b/node/carcajou.nix @@ -18,4 +18,9 @@ # prefixLength = 64; # } # ]; + + networking.wireguard.interfaces.wg0 = { + ips = [ "10.42.0.22/16" ]; + listenPort = 33722; + }; } diff --git a/node/cariacou.nix b/node/cariacou.nix index 7d3c28f..9374744 100644 --- a/node/cariacou.nix +++ b/node/cariacou.nix @@ -18,4 +18,9 @@ # prefixLength = 64; # } # ]; + + networking.wireguard.interfaces.wg0 = { + ips = [ "10.42.0.21/16" ]; + listenPort = 33721; + }; } diff --git a/node/caribou.nix b/node/caribou.nix index 906b6fc..30b382e 100644 --- a/node/caribou.nix +++ b/node/caribou.nix @@ -19,6 +19,11 @@ # } # ]; + networking.wireguard.interfaces.wg0 = { + ips = [ "10.42.0.23/16" ]; + listenPort = 33723; + }; + # OR use USB modem plugged in here #networking.interfaces.enp0s20u1.useDHCP = true; -- cgit v1.2.3