[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Firewalling with DHCP client

I'm still working on my Netfilter script, its almost complete but I
still have to figure out how to work around my dynamic IP address.

My host has an ADSL connection and is configured via DHCP using pump.
How can I determine it's IP address (within the script). Also, how can
I arrange it so that whenever my lease expires and renews my netfilter
script re-runs to correct for the new IP address>?

I am open to all suggestions.



Reply to: