OPNsense Forum

English Forums => General Discussion => Topic started by: ednt on April 18, 2024, 03:40:41 PM

Title: How to get an e-mail if the WAN address changed?
Post by: ednt on April 18, 2024, 03:40:41 PM
Hi,

I tried this with monit, but this is not possible.

I need to know when the address of the WAN interface changed.
Monit does only check in intervals and so it is not possible to detect the change.

Here in the forum were several same questions, but no solution.

Any hint?

Best regards.
Title: Re: How to get an e-mail if the WAN address changed?
Post by: h3zwe on April 20, 2024, 04:21:44 AM
Likely best to use one of the many scripts available on the Internet for this. For example, https://steven-chau.github.io/2016-03-30-howto-detect-notify-ip-change/