diff options
| author | Oleg Pykhalov <go.wigust@gmail.com> | 2026-01-16 17:59:44 +0300 |
|---|---|---|
| committer | Oleg Pykhalov <go.wigust@gmail.com> | 2026-01-16 17:59:44 +0300 |
| commit | 33dd631a5ace96bdff4dee59aca66f905e4ccd6a (patch) | |
| tree | 052093d6cd8fb470b8d460151b36c51ffb1faa3a | |
| parent | nix: container-systemd-nixos-tor: Allow connections to blackbox. (diff) | |
| download | dotfiles-33dd631a5ace96bdff4dee59aca66f905e4ccd6a.tar.gz | |
nix: Allow connections to blackbox.
| -rw-r--r-- | nix/container-systemd-nixos-tor/hosts/nixos-systemd.nix | 1 | ||||
| -rw-r--r-- | nix/modules/services/prometheus.nix | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/nix/container-systemd-nixos-tor/hosts/nixos-systemd.nix b/nix/container-systemd-nixos-tor/hosts/nixos-systemd.nix index 035b3e22b..ded04c219 100644 --- a/nix/container-systemd-nixos-tor/hosts/nixos-systemd.nix +++ b/nix/container-systemd-nixos-tor/hosts/nixos-systemd.nix @@ -71,7 +71,6 @@ 179 # bgp (bird) 8888 # 3proxy 9050 # tor - 9115 # prometheus blackbox exporter 31247 # prometheus mtr exporters ]; networking.firewall = { diff --git a/nix/modules/services/prometheus.nix b/nix/modules/services/prometheus.nix index 212f4a037..b9f132c5f 100644 --- a/nix/modules/services/prometheus.nix +++ b/nix/modules/services/prometheus.nix @@ -44,5 +44,8 @@ in }; }); }; + networking.firewall.allowedTCPPorts = [ + 9115 # prometheus blackbox exporter + ]; }; } |
