A quick write up and a sanitized copy of those scripts is up at
https://github.com/oneru/ddns-knock
Everything seems to be working, but YMMV. Enjoy. =)
--Jonathan Bennett
On Tue, Jan 26, 2016 at 11:16 PM Michael Rash <michael.r...@gmail.com>
wrote:
> On Tue, Jan 26, 2016 at 6:07 PM, Jonathan Bennett <jbscienc...@gmail.com>
> wrote:
>
>> 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.
>>
>
> Very cool - looking forward to seeing those scripts.
>
> Speaking of one other usage of the open/close cycle stuff, I'm aware of an
> effort to get fwknopd running directly on a Synology NAS. The challenge
> looks to be that the iptables 'comment' match isn't available, so the
> open/close cycle feature provides an effective workaround.
>
> --Mike
>
>
>
>
>>
>> --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
>>
>>
>
>
> --
> Michael Rash | Founder
> http://www.cipherdyne.org/
> Key fingerprint = 53EA 13EA 472E 3771 894F AC69 95D8 5D6B A742 839F
>
> ------------------------------------------------------------------------------
> 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
>
------------------------------------------------------------------------------
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