summaryrefslogtreecommitdiff
path: root/daeva/nftables-rules.nft
diff options
context:
space:
mode:
authorKenny Ballou <kb@devnulllabs.io>2021-07-23 11:36:49 -0600
committerKenny Ballou <kb@devnulllabs.io>2021-07-23 11:39:30 -0600
commit5a26ebf03cb3a3a2f16b2dc182c65424554870ba (patch)
tree7380a712fa7ebe339916ad7029e3b64e6c16e97e /daeva/nftables-rules.nft
parent1f00d242d279e650edc5309bf0d3874b3534570b (diff)
downloadcfg.nix-master.tar.gz
cfg.nix-master.tar.xz
configure systemd-resolved with DoTHEADmaster
Disable networkmanager from writing `/etc/resolv.conf` and use configured DNS servers with DNS over TLS. Prune down list of nameservers as Level3 and OpenDNS do not currently support DoT. Signed-off-by: Kenny Ballou <kb@devnulllabs.io>
Diffstat (limited to 'daeva/nftables-rules.nft')
-rw-r--r--daeva/nftables-rules.nft2
1 files changed, 2 insertions, 0 deletions
diff --git a/daeva/nftables-rules.nft b/daeva/nftables-rules.nft
index 43234cd..0bc9d54 100644
--- a/daeva/nftables-rules.nft
+++ b/daeva/nftables-rules.nft
@@ -30,6 +30,8 @@ table inet filter {
icmp type echo-request counter accept
icmp type echo-reply counter accept
udp dport domain counter accept
+ tcp dport domain-s counter accept
+ udp dport domain-s counter accept
tcp dport http counter accept
tcp dport https counter accept
udp dport https counter accept