Situation is: One of my customers has DSL with a SonicWall firewall with VPN configured, so that they can get back to their server while on the road.
Problem is: They've got a dynamic IP Address, and don't want to pay money for a fixed one (would add > $40/month). The DHCP IP Address doesn't change very often, but it does change if the DSL modem gets restarted.
What I'd like to do is set up an automated email every week (or whenever) to notify them of the current IP address - WITHOUT one of them having to dig through the original headers to find it (the IP address).
The automated email isn't a problem - question is:
Is there an automated (or automate-able) way to get the actual IP address that can be run from a script of some sort?
I might be able to cobble together something that does an HTML query, and parse out the reply, but that's really ugly. Does anyone know of an easier way?
April 8, 2005 1:03 PM
April 13, 2005 9:05 PM