use real event ip space
This commit is contained in:
parent
ed99a3710e
commit
712f0f4a17
15 changed files with 222 additions and 167 deletions
69
systems/jool.eh22.intern.nix
Normal file
69
systems/jool.eh22.intern.nix
Normal file
|
@ -0,0 +1,69 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [ ];
|
||||
|
||||
# configure jool
|
||||
networking.jool = {
|
||||
# siit = {}; TODO
|
||||
nat64 = {
|
||||
pool4 = [
|
||||
{
|
||||
protocol = "TCP";
|
||||
prefix = "94.45.248.0/25";
|
||||
"port range" = "40001-65535";
|
||||
}
|
||||
{
|
||||
protocol = "UDP";
|
||||
prefix = "94.45.248.128/26";
|
||||
"port range" = "40001-65535";
|
||||
}
|
||||
{
|
||||
protocol = "ICMP";
|
||||
prefix = "94.45.248.192/27";
|
||||
"port range" = "40001-65535";
|
||||
}
|
||||
|
||||
{
|
||||
protocol = "TCP";
|
||||
prefix = "94.45.248.0/25";
|
||||
"port range" = "40001-65535";
|
||||
}
|
||||
{
|
||||
protocol = "UDP";
|
||||
prefix = "94.45.248.128/26";
|
||||
"port range" = "40001-65535";
|
||||
}
|
||||
{
|
||||
protocol = "ICMP";
|
||||
prefix = "94.45.248.192/27";
|
||||
"port range" = "40001-65535";
|
||||
}
|
||||
|
||||
{
|
||||
protocol = "TCP";
|
||||
prefix = "94.45.248.0/25";
|
||||
"port range" = "40001-65535";
|
||||
}
|
||||
{
|
||||
protocol = "UDP";
|
||||
prefix = "94.45.248.128/26";
|
||||
"port range" = "40001-65535";
|
||||
}
|
||||
{
|
||||
protocol = "ICMP";
|
||||
prefix = "94.45.248.192/27";
|
||||
"port range" = "40001-65535";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
# DO NOT CHANGE
|
||||
# this defines the first version of NixOS that was installed on the machine so that programs with non-migratable data files are kept compatible
|
||||
home-manager.users.noc.home.stateVersion = "24.11";
|
||||
system.stateVersion = "24.11";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue