diff --git a/services/nat64.nix b/services/nat64.nix index bfdc30c..0662315 100644 --- a/services/nat64.nix +++ b/services/nat64.nix @@ -1,14 +1,5 @@ { ... }: { - # Give NAT64 internet without DNS64 - environment.etc."resolv.conf".text = '' - search vsinerva.fi - nameserver 2606:4700:4700::1111 - nameserver 2606:4700:4700::1001 - nameserver 1.1.1.1 - nameserver 1.0.0.1 - ''; - networking = { jool = { enable = true; @@ -20,7 +11,7 @@ { # ExoPlaSim WireGuard "protocol" = "UDP"; - "ipv4 address" = "192.168.1.1#51821"; + "ipv4 address" = "192.168.1.2#51821"; "ipv6 address" = "fd08:d473:bcca:1:210:3292:4922:b9aa#51821"; } ]; @@ -29,24 +20,24 @@ # Ports for static BIB entries { protocol = "UDP"; - prefix = "192.168.1.1/32"; + prefix = "192.168.1.2/32"; "port range" = "51821"; } # Port ranges for dynamic translation { protocol = "TCP"; - prefix = "192.168.1.1/32"; + prefix = "192.168.1.2/32"; "port range" = "30001-50000"; } { protocol = "UDP"; - prefix = "192.168.1.1/32"; + prefix = "192.168.1.2/32"; "port range" = "30001-50000"; } { protocol = "ICMP"; - prefix = "192.168.1.1/32"; + prefix = "192.168.1.2/32"; "port range" = "30001-50000"; } ];