Tracking dynamic IP's from the ISP
Is there a suggested method for tracking the IP that I get on the WAN side from my ISP? This is purely curiousity but I'd like to have a log entry I could search for or some method to see over time what IP's are issued from upstream.
Set up email notifications System -> Advanced -> Notifications
Install mailreport System -> Package Manager -> Available Packages
Run the following ifconfig pppoe0 from an email report every 24 hrs
pppoe0 is my WAN interface.
Or set a cronjob to run ifconfig and output the config to System logs using ifconfig pppoe0 | grep inet | logger -i -t pppoe the -t could be whatever you wanted to call the process name
You can just filter the logs by
IP changeand you will see changes listed for the time covered by the logs:
That does show all 'WAN' type connections so an OpenVPN client connection also in my case there.