Update NAT64 to align with network restructure
This commit is contained in:
parent
04bdd68e34
commit
5e70208aef
1 changed files with 5 additions and 14 deletions
|
@ -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";
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue