Compare commits

...

2 Commits

Author SHA1 Message Date
Astro 9de52f1c4f freifunk: forward port 53 2020-05-24 22:33:07 +02:00
Astro e5c1afdb6c dnscache: allow query by freifunk range 2020-05-24 22:32:48 +02:00
2 changed files with 10 additions and 0 deletions

View File

@ -74,6 +74,7 @@
"::1/128"
"172.20.72.0/21"
"10.0.0.0/24"
"10.200.0.0/15"
"172.22.99.0/24"
"127.0.0.0/8"
];

View File

@ -51,6 +51,15 @@ in {
\! --source 10.200.0.0/15 -o ${meshInterface} -j SNAT --to 10.200.${ddmeshAddrPart}
set -e
'';
forwardPorts = [ {
destination = "172.20.73.8";
proto = "udp";
sourcePort = 53;
} {
destination = "172.20.73.8";
proto = "tcp";
sourcePort = 53;
} ];
};
# Configure rt_table name
networking.iproute2 = {