What's a good flow rule to include at the top of our rules if we want DNS queries against zeronsd to always resolve for everyone in the ZT network?
I've tried two approaches and neither work for some reason.
Approach 1 - Allow UDP on port 53 destined for my zeronsd server:
accept
ztdest <zeronsd vl1 addr>
and dport 53
and ipprotocol udp
;
Approach 2 - From ZT docs, allow UDP server traffic:
tag udpserver
id 1001
default 0
flag 0 is_udp_server
;
# Accept UDP traffic if the value of the udpserver tag is
# 1 when both sender and receiver tags are ORed together,
# or if UDP traffic is multicast. This allows multicast mDNS
# and Netbios announcements and allows UDP traffic to and
# from UDP servers, but prohibits other horizontal UDP traffic.
accept
ipprotocol udp
and tor udpserver 1
or chr multicast
;
break ipprotocol udp;
I'm testing with:
$ dig +short @<ZERONSD-ZT-IP> machine.in.my.zt.domain
;; connection timed out; no servers could be reached
What's a good flow rule to include at the top of our rules if we want DNS queries against zeronsd to always resolve for everyone in the ZT network?
I've tried two approaches and neither work for some reason.
Approach 1 - Allow UDP on port 53 destined for my zeronsd server:
Approach 2 - From ZT docs, allow UDP server traffic:
I'm testing with: