Skip to content

WireGuard monitoring service for Linux (Debian-based)

Notifications You must be signed in to change notification settings

ivan-sirosh/lnx-wireguard-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lnx-graceful-shutdown

WireGuard monitoring service for Linux (Debian-based). The primary purpose is to check the WireGuard connection. If the remote server changes its IP address, WireGuard won't reconnect because it only knows the original host used for the initial connection.

The wireguard-monitor service pings the monitored resource, and if it goes down, the script restarts the wg-quick@wg0 service.

Usage

replace 10.10.10.1 by internal WireGuard peer ip

replace 5 by time in minutes to initiate restart (example: 1 or 10 or ...)

./install.sh 10.10.10.1 5

About

WireGuard monitoring service for Linux (Debian-based)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages