forked from Deuxfleurs/nixcfg
Fix unbound; remove Nixos firewall (use only diplonat)
This commit is contained in:
parent
529480b133
commit
a9e9149739
10 changed files with 3 additions and 17 deletions
|
@ -6,7 +6,7 @@
|
||||||
# The IP range to use for the Wireguard overlay of this cluster
|
# The IP range to use for the Wireguard overlay of this cluster
|
||||||
deuxfleurs.clusterPrefix = "10.83.0.0/16";
|
deuxfleurs.clusterPrefix = "10.83.0.0/16";
|
||||||
|
|
||||||
deuxfleurs.cluster_nodes = {
|
deuxfleurs.clusterNodes = {
|
||||||
"concombre" = {
|
"concombre" = {
|
||||||
siteName = "neptune";
|
siteName = "neptune";
|
||||||
publicKey = "VvXT0fPDfWsHxumZqVShpS33dJQAdpJ1E79ZbCBJP34=";
|
publicKey = "VvXT0fPDfWsHxumZqVShpS33dJQAdpJ1E79ZbCBJP34=";
|
||||||
|
|
|
@ -4,6 +4,4 @@
|
||||||
deuxfleurs.siteName = "bespin";
|
deuxfleurs.siteName = "bespin";
|
||||||
deuxfleurs.staticIPv4.defaultGateway = "192.168.5.254";
|
deuxfleurs.staticIPv4.defaultGateway = "192.168.5.254";
|
||||||
deuxfleurs.cnameTarget = "bespin.site.deuxfleurs.fr.";
|
deuxfleurs.cnameTarget = "bespin.site.deuxfleurs.fr.";
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,4 @@
|
||||||
deuxfleurs.staticIPv4.defaultGateway = "192.168.1.1";
|
deuxfleurs.staticIPv4.defaultGateway = "192.168.1.1";
|
||||||
deuxfleurs.cnameTarget = "neptune.site.deuxfleurs.fr.";
|
deuxfleurs.cnameTarget = "neptune.site.deuxfleurs.fr.";
|
||||||
deuxfleurs.publicIPv4 = "77.207.15.215";
|
deuxfleurs.publicIPv4 = "77.207.15.215";
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,6 +10,4 @@
|
||||||
deuxfleurs.staticIPv6.defaultGateway = "2a01:e0a:28f:5e60::1";
|
deuxfleurs.staticIPv6.defaultGateway = "2a01:e0a:28f:5e60::1";
|
||||||
deuxfleurs.cnameTarget = "orion.site.deuxfleurs.fr.";
|
deuxfleurs.cnameTarget = "orion.site.deuxfleurs.fr.";
|
||||||
deuxfleurs.publicIPv4 = "82.66.80.201";
|
deuxfleurs.publicIPv4 = "82.66.80.201";
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,4 @@
|
||||||
deuxfleurs.staticIPv4.defaultGateway = "192.168.1.254";
|
deuxfleurs.staticIPv4.defaultGateway = "192.168.1.254";
|
||||||
deuxfleurs.cnameTarget = "scorpio.site.deuxfleurs.fr.";
|
deuxfleurs.cnameTarget = "scorpio.site.deuxfleurs.fr.";
|
||||||
deuxfleurs.publicIPv4 = "82.65.41.110";
|
deuxfleurs.publicIPv4 = "82.65.41.110";
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,4 @@
|
||||||
deuxfleurs.siteName = "bespin";
|
deuxfleurs.siteName = "bespin";
|
||||||
deuxfleurs.staticIPv4.defaultGateway = "192.168.5.254";
|
deuxfleurs.staticIPv4.defaultGateway = "192.168.5.254";
|
||||||
deuxfleurs.cnameTarget = "bespin.site.staging.deuxfleurs.org.";
|
deuxfleurs.cnameTarget = "bespin.site.staging.deuxfleurs.org.";
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,4 @@
|
||||||
deuxfleurs.staticIPv4.defaultGateway = "192.168.1.1";
|
deuxfleurs.staticIPv4.defaultGateway = "192.168.1.1";
|
||||||
deuxfleurs.cnameTarget = "corrin.site.staging.deuxfleurs.org.";
|
deuxfleurs.cnameTarget = "corrin.site.staging.deuxfleurs.org.";
|
||||||
deuxfleurs.publicIPv4 = "2.13.96.213";
|
deuxfleurs.publicIPv4 = "2.13.96.213";
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,6 +4,4 @@
|
||||||
deuxfleurs.siteName = "jupiter";
|
deuxfleurs.siteName = "jupiter";
|
||||||
deuxfleurs.staticIPv4.defaultGateway = "192.168.1.1";
|
deuxfleurs.staticIPv4.defaultGateway = "192.168.1.1";
|
||||||
deuxfleurs.cnameTarget = "jupiter.site.staging.deuxfleurs.org.";
|
deuxfleurs.cnameTarget = "jupiter.site.staging.deuxfleurs.org.";
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,6 +3,4 @@
|
||||||
{
|
{
|
||||||
deuxfleurs.siteName = "neptune";
|
deuxfleurs.siteName = "neptune";
|
||||||
deuxfleurs.cnameTarget = "neptune.site.staging.deuxfleurs.org.";
|
deuxfleurs.cnameTarget = "neptune.site.staging.deuxfleurs.org.";
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -213,6 +213,8 @@ in
|
||||||
access-control = [
|
access-control = [
|
||||||
"127.0.0.0/8 allow"
|
"127.0.0.0/8 allow"
|
||||||
"172.17.0.0/16 allow"
|
"172.17.0.0/16 allow"
|
||||||
|
"192.168.0.0/16 allow"
|
||||||
|
"${cfg.clusterPrefix} allow"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
stub-zone = [
|
stub-zone = [
|
||||||
|
|
Loading…
Reference in a new issue