knockd

small port-knock daemon

Install

All systems
curl cmd.cat/knockd.sh
Debian Debian
apt-get install knockd
Ubuntu
apt-get install knockd
Arch Arch Linux
pacman -S knockd
image/svg+xml Kali Linux
apt-get install knockd
Fedora
dnf install knockd
Windows (WSL2)
sudo apt-get update sudo apt-get install knockd
Raspbian
apt-get install knockd

knockd

small port-knock daemon

A port-knock server that listens to all traffic on a given network interface (only Ethernet and PPP are currently supported), looking for a special "knock" sequences of port-hits. A remote system makes these port-hits by sending a TCP (or UDP) packet to a port on the server. When the server detects a specific sequence of port-hits, it runs a command defined in its configuration file. This can be used to open up holes in a firewall for quick access.

knock-server

server/client