I'm running a Netgear router with Tomato (Shibby). I'm using the built-in OpenVPN client to connect to HideMyAss, and it works like a charm. However, I have to manually log into the router and change the HideMyAss server ip address every time I'd like to change my vpn location, which is a hassle.
What I'm looking for is a script that runs on init (wan up or something), and and requests a web URL (using wget ?), receving a string containing the ip address. Then it should be set as the current server ip address in the OpenVpn client. Does anyone here know how to do this?