hotfix(health): change default icmp target to 1.1.1.1

- Cloudflare's 1.1.1.1 seems more reliable than the VPN server public IP address you connect to
- This can still be changed back to 0.0.0.0 to use the VPN server IP address if needed
This commit is contained in:
Quentin McGaw
2025-11-04 14:47:24 +00:00
parent 43da9ddbb3
commit eb49306b80
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ type Health struct {
// It cannot be the empty string in the internal state.
TargetAddress string
// ICMPTargetIP is the IP address to use for ICMP echo requests
// in the health checker. It can be set to an unspecified address
// in the health checker. It can be set to an unspecified address (0.0.0.0)
// such that the VPN server IP is used, which is also the default behavior.
ICMPTargetIP netip.Addr
// RestartVPN indicates whether to restart the VPN connection