From 9de52f1c4f230e524a7224164d1428d94c4db411 Mon Sep 17 00:00:00 2001 From: Astro Date: Sun, 24 May 2020 22:33:07 +0200 Subject: [PATCH] freifunk: forward port 53 --- hosts/containers/freifunk/configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/containers/freifunk/configuration.nix b/hosts/containers/freifunk/configuration.nix index ee45669d..d8dcdad6 100644 --- a/hosts/containers/freifunk/configuration.nix +++ b/hosts/containers/freifunk/configuration.nix @@ -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 = {