Tutorial series

How To Implement Port Knocking to Obscure your SSH Daemon

How To Implement Port Knocking to Obscure your SSH Daemon

Introduction

Port knocking is a security concept that involves dynamically altering firewall rules to expose access to an otherwise protected service. This is done by sending a pre-configured special packet, or a pattern of packets that the port knocking software is listening for. In this series, we will discuss a variety of ways to configure port knocking to add an extra layer of security around your SSH daemon.

Tutorials in series

Tutorial

How To Use fwknop to Enable Single Packet Authentication on Ubuntu 12.04

Tutorial

How To Use Port Knocking to Hide your SSH Daemon from Attackers on Ubuntu

Tutorial

How To Configure Port Knocking Using Only Iptables on an Ubuntu VPS

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.

New accounts only. By submitting your email you agree to our Privacy Policy

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.