Advanced Search
Search Results
417 total results found
Click to grant/revoke
For additional security and temporal access control, Knocs support a "click to grant" and "click to revoke" option. This requires the user to click a button after logging in, prior to each grant being processed. This offers an additional layer of security and ...
Admins
Admins in Knocknoc can log in to /admin on their Knocknoc server, however they can't be granted ACLs. This separates out regular logins from admin logins, and allows for best practice. You can create an Admin using this dialog box if required. SAML is the pref...
Settings
The Settings page is where administrators configure how Knocknoc behaves across the whole deployment: sign-in methods, the server's public address, TLS certificates, logging, threat intelligence, optional access features, and branding. It is only available to ...
Time for NTP
NTP It's important that ALL the servers within the Knocknoc cluster and agents are synchronized and set to the correct time. We recommend using chrony on a Linux VM to keep the time, but any NTP implementation would work. Time is an important aspect of authen...
LDAP troubleshooting tips
The Knocknoc server will need to be able to contact your LDAP server on port 389 or 636. This is determined by the LDAP URL in the Settings: ldap://ldap.example.com - this format says port 389 ldaps://ldap.example.com - this format is port 636 Please make sure...
Knocknoc server behind HAProxy
Running Knocknoc behind HAProxy could be a great option for people with existing HAProxy deployments, or who want to unify certificate and other management tasks. Here is a sample HAProxy config for Knocknoc as a backend: frontend knocknoc-frontend bind 0.0....
Getting Started
Cloud SaaS or self-hosted server? You can run your Knocknoc server either as a managed cloud instance (we host it) or you can self-host it. Should I deploy a cloud or self-hosted instance of Knocknoc? The answer will depend on a few factors. For example, if yo...
IPsets with Shorewall
This is an example that lets you use Shorewall https://shorewall.org/index.html and IPsets to dynamically allowlist IPs. You can achieve great power with these simple steps: Install the Knocknoc Agent on the Shorewall host and enroll it into the Knocknoc serve...
HAProxy tips and tricks
Checking to see if an ACL is present in HAProxy For when you aren't sure if the whole process is working, you can manually connect to the HAProxy socket and print out the contents. socat is the way forward here. Install it with your favorite package manager, a...
Create users
Users sign in and get access to your infrastructure through the Knocs and groups assigned to them. This page covers the types of user you can create, when to use each, and how to create them. Admin accounts are managed separately, on the Admins tab. This page ...
Nginx
Knocknoc can drive an nginx server's allow/deny list directly from the agent, without a wrapper script. Users authenticated by Knocknoc are added to a per-Knoc include file (for example /etc/nginx/acl/librenms.acl) that the agent rewrites atomically, then rel...
Apache Webserver
Apache 2.4 and above have slightly different ACL syntax, so this page covers how you can use Knocknoc to manage ACLs. The script for managing Apache ACLs as per this document was added to knocknoc-agent in version 1.0.31 Setup for your Apache webserver SSH to ...
Google Workspace
Google Workspace can be set up as an Identity Provider if you have Google Workspace Business Starter or above. The basis of this guide is the official docs here: https://support.google.com/a/answer/6087519?hl=en which should be referred to in case anything cha...
Microsoft Entra (Named Location)
Knocknoc integrates with Microsoft Entra ID (formerly Azure AD) to dynamically control which IPs are allowed to sign in through Conditional Access. The integration uses the Microsoft Graph API to maintain a single IP Named Location. As users authenticate to Kn...
Allowlist (EDLs)
The Allowlist backend makes a list of active IP address grants available via the Knocknoc server API. This allows integration with appliances or clients that can be configured to poll a URL without the need for a Knocknoc agent to be deployed. This is sometime...
ADFS
The following example assumes your Knocknoc instance is located at https://your-knocknoc.cloud/. Wherever you see that, please substitute it for your own instance URL. Knocknoc SAML config Log in to the Knocknoc admin interface (e.g., https://your-knocknoc.clo...
Keycloak
Keycloak supports multiple authentication realms, so you must first select the appropriate realm for your organization. Do not make any of the below changes in the Keycloak/master realm. In this example our realm is called "Acme" and Keycloak is hosted at http...
v7.5
Knocknoc 7.5 🚀 Knocknoc 7.5 marks a major milestone in our journey to redefine secure network access. This release is a comprehensive redesign of the user experience, delivering a streamlined, intuitive interface that empowers both administrators and end user...