fuuko: Bind exporters to vpn address

This commit is contained in:
Simon Bruder 2022-03-25 22:11:28 +01:00
parent 8dc3558c7c
commit 19d69ce682
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC
2 changed files with 4 additions and 2 deletions

View file

@ -35,7 +35,7 @@
services.prometheus.exporters.dnsmasq = {
enable = true;
listenAddress = "0.0.0.0";
listenAddress = config.sbruder.wireguard.home.address;
leasesPath = "/var/lib/dnsmasq/dnsmasq.leases";
};

View file

@ -1,7 +1,9 @@
{ config, ... }:
{
services.prometheus.exporters.fritzbox = {
enable = true;
gatewayAddress = "192.168.100.1";
listenAddress = "0.0.0.0";
listenAddress = config.sbruder.wireguard.home.address;
};
}