diff --git a/pages/linux/knock.md b/pages/linux/knock.md new file mode 100644 index 000000000..51ddb4a13 --- /dev/null +++ b/pages/linux/knock.md @@ -0,0 +1,20 @@ +# knock + +> Port knocking client to open specific ports on firewall. +> More information: . + +- Knock on ports using different protocols: + +`knock {{hostname}} {{portnumber}}:{{protocol}}` + +- Knock on port using UDP: + +`knock -u {{hostname}} {{portnumber}}` + +- Force usage of IPv4/IPv6: + +`knock {{-4|-6}} {{hostname}} {{portnumber}}` + +- Display errors and details of connection: + +`knock -v {{hostname}} {{portnumber}}` diff --git a/pages/linux/knockd.md b/pages/linux/knockd.md new file mode 100644 index 000000000..58085f705 --- /dev/null +++ b/pages/linux/knockd.md @@ -0,0 +1,12 @@ +# knockd + +> Port knocking daemon to listen for port knocking and execute scripts. +> More information: . + +- Start knockd system daemon: + +`knockd -d` + +- Use specified configuration file for knockd: + +`knockd -c {{path/to/file}}.configuration`