fuuko: Bind exporters to vpn address
This commit is contained in:
parent
8dc3558c7c
commit
19d69ce682
|
@ -35,7 +35,7 @@
|
||||||
|
|
||||||
services.prometheus.exporters.dnsmasq = {
|
services.prometheus.exporters.dnsmasq = {
|
||||||
enable = true;
|
enable = true;
|
||||||
listenAddress = "0.0.0.0";
|
listenAddress = config.sbruder.wireguard.home.address;
|
||||||
leasesPath = "/var/lib/dnsmasq/dnsmasq.leases";
|
leasesPath = "/var/lib/dnsmasq/dnsmasq.leases";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,9 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services.prometheus.exporters.fritzbox = {
|
services.prometheus.exporters.fritzbox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
gatewayAddress = "192.168.100.1";
|
gatewayAddress = "192.168.100.1";
|
||||||
listenAddress = "0.0.0.0";
|
listenAddress = config.sbruder.wireguard.home.address;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue