Enable/Disable ports by sending a sequence of SYN packets to pre-defined ports. The Knockd service checks the windows firewall logs to see if SYN packets were sequentially sent to the defined ports within a space of x (default = 10) seconds from the same IP address and then, enable/disable a port.
- Open Windows Powershell as an Administrator and execute the following command
.\port-knocker-ps1