How to set up a Cronjob on DD-WRT to Auto Update Your IP

This guide is for advanced users only. We don’t provide support for DD-WRT configuration.

By using a cronjob to visit your API url on a regular basis you can ensure that the IP in your Unlocator account is always up to date. Please see the examples of a couple of cronjob commands below.

0 * * * * root wget
Every 3 hours:
0 */3 * * * root wget Your_API_KEY_HERE
Every 12 hours:
0 */12 * * * root wget

How to Set up the Cronjob

Go to and log in to your router. Default user info for DD-WRT is root/admin
Go to Administration
Scroll down to Cron text box. Use the cron command of your choice found above. Don’t forget to use your own API url found in your Unlocator account home.
Click Apply.
Now the IP will be updated in the interval you have selected.

Still need help? Contact Us Contact Us