knock Command Examples

Port knocking client to open specific ports on firewall. More information: https://manned.org/knock.

knock {{hostname}} {{portnumber}}:{{protocol}}

knock {{[-u|--udp]}} {{hostname}} {{portnumber}}

knock {{-4|-6}} {{hostname}} {{portnumber}}

knock {{[-v|--verbose]}} {{hostname}} {{portnumber}}