IPtables web interface?? / Life with a dynamic ip...

I ssh to my works' webservers. However, I have a dynamic ip at home and have to constantly add my new ip address to the iptables. Is there a easy way around this, or is there some sort of backend webscript out there for adding ip via a web interface? Any direction or help is appriciated.

Thanks in advance,

Josh

Reply to
joshandlinds
Loading thread data ...

Get yourself an account with a dynamic IP/hostname service for your home account (eg dyndns)

formatting link
and set up your home system so it updates the service when the IP is changed

On the work computer run a cron job every 10 minutes to check the IP for

formatting link
. If it has changed re-run iptables with the new IP address.

Reply to
Aussie Fred

Robert L. Ziegler, in Linux Firewalls, 2nd ed., p.178, mentions that...

"One of the configuration parameters that you can specify in /etc/pump.conf is the path and name of an executable script that pump will run when it recieves an IP address and again at each lease renewal."

One could imagine an executable script that contains the iptables -R command for changing iptables every time the DHCP server issued a lease, although I'm not familiar with the global variables needed.

regards, roza9000

Reply to
roza9000

Cabling-Design.com Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.