summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-10-07 19:39:22 -0400
committerKjetil Orbekk <kj@orbekk.com>2023-10-07 19:39:22 -0400
commit71955948f3d13b98b7423b9c1efb8b98e9832cfb (patch)
tree25517053fb56670b3f37afe3cc12b8e41ca95381 /modules
parentfac6c48ab296271e36dbb77916bfca8dae049e20 (diff)
fix
Diffstat (limited to 'modules')
-rw-r--r--modules/router.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/router.nix b/modules/router.nix
index 5018375..2a26f6a 100644
--- a/modules/router.nix
+++ b/modules/router.nix
@@ -82,7 +82,7 @@ let
ipv4.routes = [{address = "10.10.255.0"; prefixLength = 24;}];
};
networking.interfaces.wg-vpnlan-vport = {
- ipv6.addresses = [{address = "${vpnPrefix}::2"; prefixLength = 128; }];
+ ipv6.addresses = [{address = "2001:470:8e2e:1001::1"; prefixLength = 64; }];
};
networking.interfaces.vpnlan-vport = {
ipv4.addresses = [{address = "172.20.30.1"; prefixLength = 24;}];
@@ -167,6 +167,8 @@ let
dhcp-range=tag:vpnlan-vport,::2,::1000,constructor:vpnlan-vport,ra-only,5m
dhcp-host=id:00:04:33:32:31:37:37:31:58:4d:32:35:31:37:30:30:4a:44,tag:vpnlan-vport,[::2]
dhcp-host=id:vpn,tag:vpnlan-vport,172.20.30.2
+
+ dhcp-range=tag:wg-vpnlan-vport,::2,::1000,constructor:wg-vpnlan-vport,ra-only,5m
'';
};