watchDhcp is a simple script that lets you watch and react to a change in the system's IP address
watchDhcp is a simple script that lets you watch and react to a change in the system's IP address. It is useful for automatically reconfiguring NAT, DNS, and firewall services.]
This script has been written to help keep an unattended OpenBSD box working as a firewall on a cable modem. The box gets its IP through DHCP, and as such this can change. When the IP changes, there have been problems with NAT and IPF -- so these are restarted/reconfigured. Since the DNS records must also be updated, when the IP changes this information is mailed to a sent admin address, so the machine is never "lost".
Whenever something else comes up that mucks up the machine, I add it to this script. So far so good, five months and counting.
tags the machine when the this script
Download watchDhcp 1.0
Other software in this category
- Desktop Environment
- Science and Engineering
- Text Editing&Processing