Comments on How to Obscure Network Ports with a Port Knocking Sequence on Debian 10

Port knocking is a method of dynamically opening network ports by "knocking" (i.e. connecting) on a predefined sequence of ports. This is especially useful for obscuring an open network port from port scanning since the port in question will be closed unless the port knocking sequence is executed.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Felipe

In file /etc/systemd/system/knockd.service the correct path to sleep is /bin/sleep. Please, check it.

By: nxnjz

Debian 10 images usually have the sleep binary in both locations, "/usr/bin/sleep" and "/bin/sleep".

By: Ralph

Posted Nov 2, 2022:

Hey, out of the many forum threads about knockd not starting after reboot on Debian, this is actually the first tutorial that really works!

Unbelievable. A lot of comments mention bugs and patches in knockd but none showed the correct configuration as described above.

Thank you!