You all might find this interesting, I've used the CMD_CYCLE_OPEN function
to build a fwknop powered ddns service.  There are a few of my customers
that have dynamic IP addresses, and it's useful to be able to remote access
those customers even if the IP has changed.

I have written two scripts, one that is called by the CMD_CYCLE_OPEN, and
uses nsupdate to do the actual update process.  This script takes the
hostname to change, and the Source IP address as seen by fwknopd.

The second script makes everything more useful, it takes the new hostname
as an argument, generates keys, adds the proper fwknopd access stanza, and
spits out the one-liner fwknop command that can be added to a remote
crontab to keep everything working smoothly.

I think I'll dump the scripts on Github once I prettify them a bit more,
just in case someone else wants to use the same setup.

--Jonathan Bennett
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Fwknop-discuss mailing list
Fwknop-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fwknop-discuss

Reply via email to