0% found this document useful (0 votes)
51 views1 page

How To Use Port Knocking On Linu1

Port knocking is a way to secure a server by keeping firewall ports closed, even for expected connections, and only opening them when a secret knock sequence of connection requests is received. It works like a secret knock at a speakeasy during prohibition - closed ports are only opened when the correct sequence is received, acting as a modern equivalent of the secret knock. Another secret knock can then close the ports again.

Uploaded by

Yulian Sani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views1 page

How To Use Port Knocking On Linu1

Port knocking is a way to secure a server by keeping firewall ports closed, even for expected connections, and only opening them when a secret knock sequence of connection requests is received. It works like a secret knock at a speakeasy during prohibition - closed ports are only opened when the correct sequence is received, acting as a modern equivalent of the secret knock. Another secret knock can then close the ports again.

Uploaded by

Yulian Sani
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

How to Use Port Knocking on

Linux (and Why You Shouldn’t)


Port knocking is a way to secure a server by closing firewall ports—even those you
know will be used. Those ports are opened on demand if—and only if—the connection
request provides the secret knock.

Port Knocking Is a “Secret Knock”


In the 1920s, when prohibition was in full swing, if you wanted to get into
a speakeasy, you had to know the secret knock and tap it out correctly to get inside.

Port knocking is a modern equivalent. If you want people to have access to services on
your computer but don’t want to open your firewall to the internet, you can use port
knocking. It allows you to close the ports on your firewall that allow incoming
connections and have them open automatically when a prearranged pattern of
connection attempts is made. The sequence of connection attempts acts as the secret
knock. Another secret knock closes the port.

You might also like