freifunk: forward port 53

This commit is contained in:
Astro 2020-05-24 22:33:07 +02:00
parent e5c1afdb6c
commit 9de52f1c4f
1 changed files with 9 additions and 0 deletions

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 = {