Skip to content

Instantly share code, notes, and snippets.

View cryptolok's full-sized avatar

Maksym Zaitsev cryptolok

View GitHub Profile
@cryptolok
cryptolok / OpenBSDportKnocking.sh
Created May 18, 2017 21:56
Port Knocking configuration using OpenBSD with knockd on SSH
# Port Knocking configuration using OpenBSD with knockd on SSH
#! DISCLAIMER !
# OpenBSD isn't an OS for Unix novices, thus I will omit deep details and just make some assumptions about your configuration
# Port Knocking, despite being a known network stealthing technique, was implemented essentially for Linux, I made a reliable, stable and portable configuration for OpenBSD (might also work for FreeBSD)
# install
export PKG_PATH=http://ftp.openbsd.org/pub/OpenBSD/6.1/packages/amd64/
pkg_add autoconf