Building a Native Windows fwknop.exe Binary
02 May, 2009

At some point, if fwknopd is modified to hook into a Windows firewalling API, then this same technique could be used create stand alone fwknopd binaries for Windows as well. This would extend Single Packet Authorization (SPA) firmly into the Windows world. In the meantime, Julien's instructions for the fwknop client are as follows:
- Install strawberry perl.
- Use CPAN to install Crypt::CBC and Crypt::Rijndael (required by fwknop).
- Grab the fwknop sources and try to run perl fwknop -whatever options you need, to make sure it works. Apparently, you need to provide the --Home option since fwknop can't find home folders without it.
- Use CPAN to install Module::ScanDeps, PAR::Dist, PAR, PAR::Packer.
- Run pp -c -M Crypt::Rijndael -o fwknop.exe fwknop (at least this worked for me, not sure why I had to specify the Rijndael module manually).
- You have fwknop.exe.