DOCUMENTATION · COMMUNITY EDITION

NTPSense CE User Manual

Everything you need to install, configure, and administer NTPSense InetGateway CE.

Version 1.0 · August 2026

1. Getting Started

1.1 What is NTPSense CE?

NTPSense InetGateway Community Edition (CE) is a free, open-source network gateway appliance built on FreeBSD. It combines a firewall, DHCP server, VPN, and web proxy into a single self-installing system, managed through a web interface or a console menu.

This manual covers CE as installed from the official ISO available at ntpsense.com/download.html.

1.2 What You'll Need

FieldDescription
HardwareAny x86-64 (amd64) machine with at least 2 wired Ethernet ports — one for LAN, one for WAN. A mini-PC, an old desktop, or a VM all work.
Memory4 GB RAM minimum. More is recommended if you plan to enable the IDS/IPS (Suricata) or proxy features.
Disk20 GB or larger. The installer uses the entire disk, so make sure nothing important is on it.
USB drive2 GB or larger, to write the installer ISO to (unless installing into a VM, where the ISO can be mounted directly).

1.3 Downloading and Writing the Installer

  1. Go to ntpsense.com/download.html and download the ISO file (the checksum file next to it lets you verify the download afterward, if you'd like).
  2. Write the ISO to your USB drive. On Linux or macOS, this is typically done with the dd command; on Windows, tools like Rufus or balenaEtcher work well.
  3. If you're installing into a virtual machine instead, you can usually mount the ISO directly as a virtual CD-ROM — no USB drive needed.

Note: The full command for writing the ISO with dd, along with the exact download link, is available on the download page itself.

1.4 Installing NTPSense CE

Installation is fully automated — once you boot from the ISO, there are no prompts to answer.

  1. Connect the machine's two network ports: one to your existing internet connection (this becomes WAN), and one that will become your new LAN.
  2. Boot the machine from the USB drive (or the mounted ISO, if using a VM).
  3. Wait. The installer partitions the disk, installs the base system, and configures the gateway — all without any input from you.
  4. The machine reboots automatically once installation finishes.

Warning: The installer erases the entire disk it's installed to. Double-check you're booting the right machine before starting, especially if it has other data on it.

NTPSense boot loader menu
Boot loader — NTPSense branding on both the installer and multi-user boot menu

1.5 First Login

Once installation completes and the gateway has rebooted, connect a computer to the LAN port.

  1. Open a web browser and go to https://10.252.1.100/ (or whichever address your specific installer variant uses — this is shown briefly on the console during first boot).
  2. Your browser will warn you about a self-signed certificate. This is expected — click through to proceed.
  3. Log in with the default credentials: username admin, password admin.
  4. You'll be required to change this password immediately. Choose something you'll remember — there's no "forgot password" link for a device you administer directly.
Login page
Login page

1.6 Reading and Accepting the License Agreement

Before you can sign in, you'll be asked to check a box confirming you've read the End User License Agreement (EULA). NTPSense CE is licensed under the Apache License 2.0 — a permissive open-source license that lets you use, modify, and redistribute the software freely, including commercially.

EULA page
End User License Agreement page

1.7 Console Access (Optional)

Alongside the web interface, NTPSense CE includes a full administration menu accessible over SSH or a direct serial/keyboard connection. Log in with the same admin account and password — the console menu will show only the options your account's role permits.

Note: Console access uses the same role-based permissions as the web interface. An Administrator account sees the full menu; more restricted roles (Network Operator, Auditor) see a filtered subset.

2. Dashboard

2.1 Overview

The Dashboard is the first page you see after logging in — an at-a-glance view of the gateway's health: system resources, network status, and basic identification.

Dashboard
Full dashboard page

2.2 System Resources

The dashboard shows live CPU, memory, swap, and disk usage, refreshed automatically.

Per-core CPU widget
Per-core CPU load widget

2.3 System Identity

A summary panel shows the gateway's hostname, NTPSense version, FreeBSD version, and uptime.

2.4 Network Summary

A quick-glance table lists each configured interface, its assigned IP address, and whether it's currently up or down.

3. Network

3.1 Overview

The Network page configures the gateway's physical interfaces — assigning IP addresses, defining zones, and setting each interface's role. On standard 2-NIC hardware, LAN1 handles both regular client traffic and administrative access, following the same convention pfSense and OPNsense use for minimal hardware.

Network page
Network page — interface overview

3.2 Understanding Zones

Note: On 2-NIC hardware, an anti-lockout rule is always active on LAN1 — you cannot accidentally firewall yourself out of the Web UI from the LAN side.

3.3 Configuring an Interface

  1. Open the Network page and select the interface you want to configure.
  2. Choose Static or DHCP.
  3. If Static, enter the IP address and subnet (CIDR notation, e.g. 10.252.1.100/24).
  4. Save. The change applies immediately.

Warning: Changing LAN1's IP while connected through that same interface will disconnect your current session.

3.4 Interface Roles

Each interface shows a Role — MGMT, LAN, WAN, DMZ, or Undefined — used elsewhere in the system (e.g. to populate the list of eligible WAN interfaces on the Security page).

Interface roles
Interface role assignment

3.5 Interface Status

A status badge shows one of four states: Disabled, Down (no link detected), Active, or Unknown.

4. Firewall

4.1 Overview

NTPSense CE's firewall is built directly on FreeBSD's pf (Packet Filter) — the same engine used by pfSense and OPNsense. Rules are evaluated top to bottom per interface: the first rule that matches a packet decides its fate.

Firewall rules
Custom Rules table

4.2 Custom Rules

  1. Go to Firewall and select the interface (or Floating, for a rule not tied to one interface).
  2. Click Add Rule.
  3. Set the action, source, destination, and port/protocol as needed.
  4. Save. The rule takes effect immediately.

Note: Rules are evaluated in the order shown in the table. If traffic isn't behaving as expected, check whether an earlier rule already matched it first.

4.3 Reordering Rules

Use the up/down controls next to each rule to change its position in the evaluation order.

4.4 NAT and Port Forwarding

The NAT page lets you forward a port from WAN1 to a specific internal device.

  1. Go to NAT and click Add.
  2. Enter the WAN port, the internal IP to forward to, and the internal port.
  3. Save. A matching firewall rule is created automatically.
NAT and port forwarding
NAT / port forwarding form

5. DHCP

5.1 Overview

NTPSense CE uses Kea DHCP (the modern successor to ISC DHCP) to assign IP addresses automatically. Configuration lives on the Network page, alongside interface settings.

DHCP configuration
DHCP scope configuration

5.2 Configuring a DHCP Scope

  1. Select the interface you want to serve DHCP on (typically LAN1).
  2. Enable DHCP and set the address range.
  3. Set the DNS server(s) to hand out (leave blank to use the gateway itself).
  4. Save.

5.3 DHCP Leases

The DHCP Leases tab shows every device currently holding an address: IP, MAC, hostname, lease start, and expiry — read live from Kea's own database.

DHCP Leases table
DHCP Leases table

5.4 Static Reservations

Convert any active lease into a permanent reservation directly from the Leases tab — no need to know the device's MAC address ahead of time.

  1. Find the device in the DHCP Leases table.
  2. Click Make Static next to its entry.
  3. The device's status changes to Static and it keeps this address indefinitely.

Note: A static reservation can be removed the same way, returning the address to the dynamic pool.

6. Proxy

6.1 Overview

NTPSense CE includes Squid, a caching web proxy, for content filtering and bandwidth control. This is entirely optional.

Proxy overview
Proxy settings

6.2 General Settings

Enable the proxy and choose Transparent mode (no client configuration needed) or Explicit mode (client devices must be configured to use the gateway as their proxy).

Proxy general settings
Proxy general settings

6.3 Blocklist Categories

Content categories (Ads, Malware, Phishing, Gambling, Adult Content, Social Media, and others) are sourced from the Block List Project and can be toggled independently.

Note: A "Fake News" category is intentionally not offered — categorizing news sources as legitimate or not is an editorial judgment this project does not make on your behalf.

6.4 Whitelist and Blacklist

Whitelist and blacklist
Whitelist / Blacklist configuration

6.5 Basic Authentication

Require a username and password before a device can use the proxy — separate from Web UI login accounts.

6.6 Log Viewer and Bandwidth Usage

See recent proxy activity and per-client data usage.

Log viewer
Proxy Log Viewer

7. Security (IDS/IPS)

7.1 Overview

The Security page controls Suricata, an intrusion detection and prevention engine, inspecting traffic against a continuously-updated set of threat signatures.

Security overview
Security page overview

7.2 Engine Mode: IDS vs. IPS

Warning: Enabling IPS pilot mode requires roughly 1 GB or more of free RAM per interface. The gateway refuses to enable it if it detects insufficient memory.

7.3 Rule Sources

Detection signatures come from ET Open, OISF Traffic ID (default), and optionally Abuse.ch SSL/JA3 + URLhaus.

Rule sources
Rule sources tab

7.4 Policy

Disable noisy rule categories (chat apps, online games, etc.) — takes effect after the next rule update.

7.5 Custom Rules

Add your own Suricata signatures directly. Rules are validated automatically — a syntax error keeps the previous working ruleset active rather than taking detection offline.

Custom rules
Custom rules editor

7.6 Alerts

The 50 most recent detections: timestamp, severity, matched signature, and source/destination.

8. VPN

8.1 Overview

VPN overview
VPN overview

8.2 WireGuard

  1. Enable it, choosing a listen port and an internal VPN subnet.
  2. Go to Peers and click Add Peer.
  3. Copy or download the generated client configuration — shown only once.
  4. Import it into the WireGuard app on the connecting device.

Warning: A peer's configuration (including its private key) cannot be retrieved again after creation. If lost, delete the peer and create a new one.

WireGuard peers
WireGuard peer list

8.3 OpenVPN

Requires a one-time PKI setup before any client or site can be created.

  1. Initialize the PKI (can take up to a minute).
  2. Add a Remote Access Client and download its .ovpn profile.
  3. Import into the OpenVPN client app.
OpenVPN
OpenVPN client management

8.4 IPsec

Built in two parts: Phase 1 (connection to the remote peer) and one or more Phase 2 entries (subnet pairs allowed to pass traffic).

  1. Add Phase 1 — remote peer address and pre-shared key.
  2. Under it, Add P2 — local and remote subnets.
  3. Configure the identical peer address, key, and mirrored subnets on the remote side.

Note: IPsec tunnels use "trap" mode by default — they only establish when matching traffic is sent, so "Not established" on an otherwise-correct tunnel just means no recent traffic.

IPsec
IPsec Phase 1 / Phase 2

9. System & Console

9.1 Backup and Restore

  1. Go to System > Backup & Restore and click Download Backup.
  2. Store the file safely — it contains your full configuration, including secrets like VPN keys.
  3. To restore, upload the same file on this tab.

Note: Backup files are signed (HMAC) so the gateway can detect a corrupted or tampered file before restoring it.

Backup and restore
Backup & Restore

9.2 Package Manager

Optional components (Suricata, WireGuard tools, strongSwan, FreeRADIUS, OpenVPN, and others) are installed as standard FreeBSD packages here — no shell access required.

Package Manager
Package Manager

9.3 User Accounts and Roles

The built-in admin account cannot be deleted or demoted.

User accounts and roles
User accounts and role assignment

9.4 Console Menu

A full administration menu is available over SSH or a direct console connection, using the same accounts and roles as the Web UI. Option numbers stay consistent regardless of which role is viewing.

Console menu
Console administration menu

10. Troubleshooting & FAQ

10.1 I forgot the admin password

If you still have console access with a working account, use the console menu's Change Password option, which updates both console and Web UI passwords together. If locked out entirely, physical console access is required — there's no remote "forgot password" flow, by design.

10.2 I can't reach the Web UI or console

  1. Confirm your device is on the LAN side and has received an IP address.
  2. Confirm the correct address is being used (shown on the console during first boot, and on the Network page's LAN1 entry).
  3. If a recent firewall change might be responsible, physical console access lets you review and correct rules directly.

10.3 How do I reset to factory defaults?

Factory Reset is available from the console menu (Administrator role required) and wipes all configuration back to installer defaults.

Warning: Factory Reset cannot be undone. Download a backup first if you might want one later (Section 9.1).

10.4 A service shows as stopped

Most services can be restarted directly from their own page or System > Services. If the cause is a configuration error, the relevant page usually surfaces the specific error when you try to save or restart.

10.5 Where can I get more help?