pre-router: use internal nameserver
This commit is contained in:
parent
7ed6752ba1
commit
85d1c14561
@ -28,7 +28,7 @@
|
|||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "domain-name-servers";
|
name = "domain-name-servers";
|
||||||
data = "10.42.10.1";
|
data = "10.42.10.8";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "domain-name";
|
name = "domain-name";
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
|
|
||||||
networking.firewall.interfaces.ens19.allowedUDPPorts = [ 67 53 ];
|
networking.firewall.interfaces.ens19.allowedUDPPorts = [ 67 53 ];
|
||||||
networking = {
|
networking = {
|
||||||
nameservers = [ "141.24.40.3" "141.24.40.4" ];
|
nameservers = [ "10.42.10.8" "2a01:4f8:1c0c:8221::8" ];
|
||||||
nat = {
|
nat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraCommands = "iptables -A INPUT -p icmp -j ACCEPT";
|
extraCommands = "iptables -A INPUT -p icmp -j ACCEPT";
|
||||||
|
Loading…
Reference in New Issue
Block a user