Skip to content

Commit 0200ea5

Browse files
authored
Merge pull request #285 from NixOS/merge-when-green-joerg
monitoring: update ip6
2 parents 9065166 + 7cd918d commit 0200ea5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/monitoring.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
22
# Allow Mic92's prometheus server to access telegraf
33
networking.firewall.extraCommands = ''
4-
ip6tables -A nixos-fw -p tcp --source 2a03:4000:62:fdb::/128 --dport 9273 -j nixos-fw-accept
4+
ip6tables -A nixos-fw -p tcp --source 2a01:4f8:1c1a:37b2::1/128 --dport 9273 -j nixos-fw-accept
55
'';
66
networking.firewall.extraStopCommands = ''
7-
ip6tables -D nixos-fw -p tcp --source 2a03:4000:62:fdb::/128 --dport 9273 -j nixos-fw-accept || true
7+
ip6tables -D nixos-fw -p tcp --source 2a01:4f8:1c1a:37b2::1/128 --dport 9273 -j nixos-fw-accept || true
88
'';
99
}

0 commit comments

Comments
 (0)