

If the local interface has attempted to connect to the remote peer since the interface was started, this indicates how much data was received from and sent to the peer. This field will be omitted if the interface hasn’t successfully connected to the peer since the interface was started.

The re-keying “handshake” occurs every 2-3 minutes when the connection is actively used (and only when used), so it gives you a good approximation of the last time the connection was active. If the local interface has successfully connected to the remote peer since the interface was started, this indicates the last time the connection was re-keyed.
#LINUX VPN MONITOR INSTALL#
Users of Ubuntu 20+, Debian 10+, Fedora 34+, Manjaro and Arch Linux (including their derivatives) should follow the instructions on our Linux support page to install the app. By redirecting the output we can have this show nothing if it connects successfully, but email the address specified in the MAILTO with the ipsec-restart.sh output. Passing in -w 10 tells it to wait 10 seconds to time out. IP addresses the local WireGuard interface will route to the peer. This mini tool is a systemtray applet for monitoring and restarting vpn connections with desktop notifications and optional sound notifications and intervals. The Proton VPN Linux app is easy to use and packed with advanced security features. Basically we want to test the hostname of our service to see if we can open port 80, and if not, run the restart script.

This is updated from the originally-configured value of the peer whenever the local interface receives a new packet from the peer with a different source address (or port). Current public IP address (and UDP port) used by the peer.
