diff options
author | sinanmohd <sinan@sinanmohd.com> | 2024-11-23 18:53:46 +0530 |
---|---|---|
committer | sinanmohd <sinan@sinanmohd.com> | 2024-11-23 18:58:13 +0530 |
commit | f7037fcf9b9dcdde0b1d46eb744ef6b64e1dbafb (patch) | |
tree | da9e9e6d76c2564eec78298a9c1eb03867bf88b5 /os | |
parent | 618747a28e93b9097324afffb41b3b77194ea6ae (diff) |
kay/router: switch to more obscure subnet
Diffstat (limited to 'os')
-rw-r--r-- | os/kay/modules/router.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/os/kay/modules/router.nix b/os/kay/modules/router.nix index 64c653c..59ab281 100644 --- a/os/kay/modules/router.nix +++ b/os/kay/modules/router.nix @@ -6,11 +6,14 @@ gponPrefix = 24; lanInterface = "enp8s0f3u1"; - subnet = "10.0.0.0"; + subnet = "192.168.43.0"; prefix = 24; - host = "10.0.0.1"; - leaseRangeStart = "10.0.0.100"; - leaseRangeEnd = "10.0.0.254"; + host = "192.168.43.1"; + leaseRangeStart = "192.168.43.100"; + leaseRangeEnd = "192.168.43.254"; + + wapMac = "40:86:cb:d7:40:49"; + wapIp = "192.168.43.2"; in { imports = [ ./wireguard.nix @@ -58,6 +61,7 @@ in { services.dnsmasq.settings = { dhcp-range = [ "${leaseRangeStart},${leaseRangeEnd}" ]; + dhcp-host= "${wapMac},${wapIp}"; interface = [ lanInterface ]; }; } |