Pyknock-UDP port knocking suite with HMAC-PSK authentication.
UDP port knocking suite with HMAC-PSK authentication.
Client example:
Client behind NAT example:
See help for more options.
Only Python 2.6+ or 3.3+ required. Requirements
Place file anywhere you want and run. Installation
Server example: Usage
./pyknockd.py MySecretPSK 'ipset add -exist myallowedset
$ip timeout 3600' 'ipset del -exist myallowedset $ip'
./pyknock.py open my-protected-host.com MySecretPSK
./pyknock.py -S $(curl -s https://canihazip.com/s)
open my-protected-host.com MySecretPSK
Post a Comment