freifunk: forward port 53
This commit is contained in:
parent
e5c1afdb6c
commit
9de52f1c4f
|
@ -51,6 +51,15 @@ in {
|
||||||
\! --source 10.200.0.0/15 -o ${meshInterface} -j SNAT --to 10.200.${ddmeshAddrPart}
|
\! --source 10.200.0.0/15 -o ${meshInterface} -j SNAT --to 10.200.${ddmeshAddrPart}
|
||||||
set -e
|
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
|
# Configure rt_table name
|
||||||
networking.iproute2 = {
|
networking.iproute2 = {
|
||||||
|
|
Loading…
Reference in New Issue