summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/sif/default.nix5
-rw-r--r--hosts/vidhar/dns/default.nix4
-rw-r--r--hosts/vidhar/network/ruleset.nft4
3 files changed, 11 insertions, 2 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index 647021ca..96bb793a 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -110,6 +110,11 @@ in {
110 server=/cipmath.loc/10.153.88.9 110 server=/cipmath.loc/10.153.88.9
111 ''; 111 '';
112 }; 112 };
113 environment.etc."NetworkManager/dnsmasq.d/yggdrasil.conf" = {
114 text = ''
115 server=/yggdrasil/2a03:4000:52:ada:1:1::
116 '';
117 };
113 118
114 environment.etc."systemd/networkd.conf" = { 119 environment.etc."systemd/networkd.conf" = {
115 text = '' 120 text = ''
diff --git a/hosts/vidhar/dns/default.nix b/hosts/vidhar/dns/default.nix
index b1457a7a..caaa8e15 100644
--- a/hosts/vidhar/dns/default.nix
+++ b/hosts/vidhar/dns/default.nix
@@ -82,6 +82,10 @@ in {
82 listen: 127.0.0.1@5353 82 listen: 127.0.0.1@5353
83 listen: ::1@5353 83 listen: ::1@5353
84 84
85 listen: 10.141.1.1@53
86 listen: 10.141.2.1@53
87 listen: 2a03:4000:52:ada:1:1::@53
88
85 acl: 89 acl:
86 - id: local_acl 90 - id: local_acl
87 key: local_key 91 key: local_key
diff --git a/hosts/vidhar/network/ruleset.nft b/hosts/vidhar/network/ruleset.nft
index 0f591f24..4e8341e9 100644
--- a/hosts/vidhar/network/ruleset.nft
+++ b/hosts/vidhar/network/ruleset.nft
@@ -165,8 +165,8 @@ table inet filter {
165 iifname { lan, mgmt, dsl, yggdrasil, bifrost } tcp dport 22 counter name ssh-rx accept 165 iifname { lan, mgmt, dsl, yggdrasil, bifrost } tcp dport 22 counter name ssh-rx accept
166 iifname { lan, mgmt, dsl, yggdrasil, bifrost } udp dport 60001-61000 counter name mosh-rx accept 166 iifname { lan, mgmt, dsl, yggdrasil, bifrost } udp dport 60001-61000 counter name mosh-rx accept
167 167
168 iifname { lan, mgmt, dmz01 } tcp dport 53 counter name dns-rx accept 168 iifname { lan, mgmt, dmz01, yggdrasil } tcp dport 53 counter name dns-rx accept
169 iifname { lan, mgmt, dmz01 } udp dport 53 counter name dns-rx accept 169 iifname { lan, mgmt, dmz01, yggdrasil } udp dport 53 counter name dns-rx accept
170 170
171 iifname { lan, mgmt, dsl } meta protocol ip udp dport 51820 counter name wg-rx accept 171 iifname { lan, mgmt, dsl } meta protocol ip udp dport 51820 counter name wg-rx accept
172 iifname { lan, mgmt, dsl } meta protocol ip6 udp dport 51821 counter name wg-rx accept 172 iifname { lan, mgmt, dsl } meta protocol ip6 udp dport 51821 counter name wg-rx accept