Skip to main content

Admin Guide

Read the "how it works" first

Getting Started

Cloud SaaS or self-hosted server? You can run your Knocknoc server either as a managed cloud inst...

Deployment

Running the Knocknoc server: SaaS or self-hosted, database, high availability and licensing.

Knocs

Setting up a Knoc: how access is granted and revoked, and the settings that shape each grant.

Integrations

An integration is a firewall, proxy, cloud platform or on-host enforcement point your agents act ...

Integrations Overview

An integration is one firewall, proxy, cloud platform or on-host enforcement point, plus the agen...

IPSet (Linux Netfilter/IPTables)

Linux comes equipped with a built-in native firewall which Knocknoc orchestrates via "IPSets". IP...

Allowlist (EDLs)

The Allowlist backend makes a list of active IP address grants available via the Knocknoc server ...

Allowlist/EDL access

Allowlists or External Dynamic Lists (EDLs) served from Knocknoc require a secret for access, alo...

Windows Firewall

Microsoft Windows comes equipped with a built-in native firewall which Knocknoc orchestrates to p...

PF (Packet Filter)

Knocknoc integrates with the PF packet filter to dynamically control network access on a host tha...

Fortinet

Knocknoc orchestrates Fortinet FortiGate firewalls - directly or via FortiManager - to dynamicall...

Palo Alto

Knocknoc integrates with Palo Alto firewalls and the Panorama management system to dynamically gr...

Palo Alto

Knocknoc orchestrates Palo Alto firewalls - directly or via Panorama - to dynamically control net...

SonicWall

The SonicWall can be orchestrated in three ways, Actively (API call from an Orchestration Agent t...

Check Point

Knocknoc controls access on Check Point gateways in one of two ways. In Active mode the Knocknoc ...

F5 Networks

Knocknoc can orchestrate F5 Networks BigIP and related devices via two mechanisms, including iRul...

Cisco (SFMC/Firepower)

The  Cisco Secure Firewall Management Console (formerly known as Firepower) integration allows Kn...

Sophos (SFOS/XGS)

The Sophos SFOS/XGS based devices provide advanced firewall and UTM capabilities. This replaces t...

Microsoft Azure NSG

Overview This integration allows for IP addresses to be dynamically managed within Azure Network ...

Microsoft Entra (Named Location)

Knocknoc integrates with Microsoft Entra ID (formerly Azure AD) to dynamically control which IPs ...

Okta

Knocknoc integrates with Okta to dynamically control which IPs are allowed to access apps protect...

AWS (EC2) Security Groups

Knocknoc can orchestrate Amazon AWS Security Groups, which essentially provide network level fire...

Google Cloud Platform (GCP)

Knocknoc integrates with Google Cloud Platform to dynamically control network access via VPC Fire...

AWS WAF Ipset

Below is a concise guide for a sysadmin (or developer) to set up and configure AWS WAF with a cus...

Cloudflare IP lists

Knocknoc can orchestrate Cloudflare IP lists to provide dynamic IP network allowlisting inbound t...

DigitalOcean Firewalls

Knocknoc can orchestrate DigitalOcean Cloud Firewalls to provide dynamic IP network allowlisting ...

Fastly

Knocknoc integrates with Fastly to control which source IPs an edge service lets through. The int...

Knocknoc Reverse Proxy

The Knocknoc orchestration Agent - which is deployed alongside managed infrastructure (not on des...

HAProxy

HAProxy is a fantastic reverse proxy with a massive amount of features. Knocknoc has supported HA...

HAProxy + KAT

Sometimes IP address restrictions or IP-based allowlisting is not enough, think: airport lounge, ...

Nginx

Knocknoc can drive an nginx server's allow/deny list directly from the agent, without a wrapper s...

Traefik

Knocknoc protects services behind Traefik with the Knocknoc Traefik plugin. The plugin is a middl...

Apache Webserver

Apache 2.4 and above have slightly different ACL syntax, so this page covers how you can use Knoc...

IPsets with UFW

This is an example that lets you use UFW (https://wiki.ubuntu.com/UncomplicatedFirewall) and IPse...

IPsets with Shorewall

This is an example that lets you use Shorewall https://shorewall.org/index.html and IPsets to dyn...

Firewalld

IPsets with firewalld On RHEL-family hosts — and any distribution that uses firewalld as its fir...

nftables

Knocknoc integrates with nftables to dynamically control network access on a Linux host. When a u...

OPNsense

Knocknoc integrates with OPNsense by managing the contents of a pre-existing firewall alias via t...

pfSense

Knocknoc integrates with pfSense to dynamically control network access.  The Knocknoc agent maint...

MikroTik

Knocknoc integrates with MikroTik RouterOS to dynamically control network access. The Knocknoc ag...

Proxmox VE

Knocknoc integrates with Proxmox VE to dynamically control network access using the built-in Prox...

Kemp LoadMaster

Knocknoc integrates with the Kemp LoadMaster to dynamically control network access. Knocknoc dyna...

Cisco Meraki

Knocknoc integrates with Cisco Meraki to dynamically control which source IPs are allowed through...

Juniper SRX

Passive, Active or a combination Passive - Knocknoc's Allowlist feature provides a passive integr...

Sophos (UTM)

The Sophos UTM device provides firewall and UTM capabilities. Note that this series of devices is...

Custom Script

The "Custom Script" Knoc type is simply a script the agent can execute directly on the Agent mach...

Agents

Installing and registering Knocknoc agents, which apply access changes on your firewalls, proxies...

Identities

Managing the people and groups who use Knocknoc, including administrators, users and the groups t...

Trust Engine

How the Trust Engine works and how to use it.

Authentication

A guide on configuring the various authentication methods for Knocknoc

Local Authentication (MFA included)

Knocknoc supports local users in addition to SAML/LDAP. Simply add a user, with a username and pa...

SAML

SAML is an in-depth topic, however it represents the best option for securing users, and providin...

Entra ID (SSO, Azure AD)

Single Sign On using Entra is simple, follow the guide below to configure Knocknoc User and/or Ad...

OKTA

The following example assumes your Knocknoc instance is located at https://demo.knoc.cloud. Where...

G Suite (Google)

G Suite can be set up as an Identity Provider if you have G Suite Business Starter or above plan....

CyberArk

CyberArk integrates with Knocknoc via the "Web Apps" component, passing through SAML assertions. ...

Authentik

In this example our authentik instance is hosted at https://auth.example.com/ and is running vers...

1Kosmos

Configure 1Kosmos as a SAML identity provider (IdP) for Knocknoc. Once connected, your users auth...

Ping Identity

Ping Identity SSO Configure PingOne as a SAML identity provider (IdP) for Knocknoc. Users authent...

Keycloak

Keycloak supports multiple authentication realms, so you must first select the appropriate realm ...

Jumpcloud

The following example assumes your Knocknoc instance is located at https://demo.knoc.cloud. Where...

ADFS

The following example assumes your Knocknoc instance is located at https://your-knocknoc.cloud/. ...

LDAP

Knocknoc can authenticate users to an LDAP server like Active Directory, by attempting to bind as...

LDAP troubleshooting tips

The Knocknoc server will need to be able to contact your LDAP server on port 389 or 636. This is ...

API Keys

Knocknoc offers an API for various inbound integrations, from authentication through user-session...

Troubleshooting

What can go wrong, will. Debugging tips, error codes and fixes for common issues.

Maintenance

Keeping Knocknoc up to date, with guidance on upgrades, backups and database maintenance.