From 1c302c0cf91243b06c5d1bca4db91552d368a4aa Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Thu, 6 Jun 2024 10:35:20 +0200 Subject: [PATCH] add some documentation --- nixos/machines/orbi/network-wireguard.nix | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/nixos/machines/orbi/network-wireguard.nix b/nixos/machines/orbi/network-wireguard.nix index f26966e..343e2d4 100644 --- a/nixos/machines/orbi/network-wireguard.nix +++ b/nixos/machines/orbi/network-wireguard.nix @@ -24,24 +24,31 @@ in ${pkgs.iptables}/bin/iptables -D FORWARD -i wg0 -j ACCEPT ''; - # clients peers = [ + # server + # ------ + # start at 1 { # chungus publicKey = publicKey "chungus"; allowedIPs = [ "10.100.0.2/32" ]; } + # desktops + # -------- + # start at 10 { # cream publicKey = publicKey "cream"; - allowedIPs = [ "10.100.0.6/32" ]; + allowedIPs = [ "10.100.0.6/32" ]; # todo : change ip } { # cherry publicKey = publicKey "cherry"; - allowedIPs = [ "10.100.0.7/32" ]; + allowedIPs = [ "10.100.0.7/32" ]; # todo : change ip } - # mobil devices start with 100 + # mobild devices + # -------------- + # start at 100 { # iphone palo publicKey = "ICeZLWYzF+nTffMV0+8yfW1WJsUQNhNbKQ4rRbn5hDs=";