Add "email notification" when the WAN interface change its public IP
It would be helpful if an email is send when the WAN interface change its public IP.
Here is an example: https://www.ipify.org/
I am sorry. It was my mistake that I did not describe the request properly.
Some Internet Service Providers are giving to their customers small routers and as a result the customers are not exposed directly to the public IP. In this case the WAN interface on the pfSense machine receive an IP that is not the public IP. As a result, the customer has to use an external service (like https://www.ipify.org/ ) to find the public IP.
I am looking for notification if the public IP is changed but the WAN interface of the pfSense machine is not directly exposed to it.
Jim Pingle wrote:
If you want that, setup dynamic DNS, and it can find the actual public address and notify when it updates.
Otherwise, that's not a job for the firewall.
Follow up on the forum if you need more info.
Thank you Jim.
For anyone, who does not want to use Dynamic DNS provider, the work around can be a simple script from https://www.ipify.org/. I am using a VB script that runs every 60 minutes and if the public IP is different from the previous one the script sends an email.