Overview
A very simple bash script that uses Check Point R80.10 APIs in order to check and update your dynamic public IP address.
Description
This script checks if the object representing your public IP address is the actual public dynamic IP address you received from your ISP. If it's different, it means the IP changed, so the scripts uses several APIs in order to update the object IP address, update the gateway topology and install the policy.
For more details: https://github.com/lfama/updateDynamicIP
Notes
I wrote this script just for fun and to learn (and play) a little bit more about Check Point Management APIs.
Only tested in R80.10 Standalone environment running on 3200 appliance.