🔧 add wireguard ping

This commit is contained in:
Ingolf Wagner 2025-02-27 09:29:40 +07:00
parent 6e74b0e916
commit 76f20fb831
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
4 changed files with 10 additions and 1 deletions

View file

@ -18,6 +18,9 @@
"wireguard.wg0.ip" = "10.100.0.7";
};
# actually important to make machine visible over wireguard
services.telegraf.extraConfig.inputs.ping = [ { urls = [ "10.100.0.1" ]; } ];
# Enable WireGuard
networking.wg-quick.interfaces = {
# Hub and Spoke Setup

View file

@ -16,7 +16,7 @@
./packages.nix
./network-tinc.nix
./network-wireguard.nix
./network-wireguard-wg0.nix
./hass-mqtt.nix
./hass-zigbee2mqtt.nix

View file

@ -18,6 +18,9 @@
"wireguard.wg0.ip" = "10.100.0.2";
};
# actually important to make machine visible over wireguard
services.telegraf.extraConfig.inputs.ping = [ { urls = [ "10.100.0.1" ]; } ];
# Enable WireGuard
networking.wg-quick.interfaces = {
# Hub and Spoke Setup

View file

@ -12,6 +12,9 @@
"wireguard.wg0.ip" = "10.100.0.100";
};
# actually important to make machine visible over wireguard
services.telegraf.extraConfig.inputs.ping = [ { urls = [ "10.100.0.1" ]; } ];
# Enable WireGuard
networking.wg-quick.interfaces = {
# Hub and Spoke Setup