Block websites by category, for example adult content, for every device on your network. People who open a blocked site see a clear block page with your organisation's name, instead of an error. Nothing has to be installed or set up on the devices to block them; installing one certificate only makes the block page appear on HTTPS sites too.
At a glance:
| What | Where |
|---|---|
| Turn on and block adult content | Security › Web filtering: the settings are filled in; Save, then commit |
| Choose more categories (gambling, violence, malware, …) | Category lists: tick them, or Select all |
| Change how the block page looks | Block page: organisation, heading, colour, logo, message, contact; Preview |
| Show the block page on HTTPS sites | Block page › Download the certificate, install it on the devices once |
| See what was blocked | Recent blocks; Check a site tests one address |
The block address is chosen by the firewall: an address outside all your networks that exists only on the firewall itself. You never enter it, and it does not change when your LAN or internet addresses change. In a failover pair it works on whichever firewall is active.
Devices must use the firewall as their DNS server. With Korthveil's DHCP server, they do automatically. To stop devices from going around it, DNS resolver › Interception › Redirect clients' DNS (port 53) to the firewall sends every DNS query to the firewall, and the web filter turns off the browsers' own encrypted DNS (Firefox and iCloud Private Relay are told to use the network's DNS).
The web filter decides and the firewall's DNS enforces. If Network › DNS resolver is not on yet, the web filter page shows a link: turn it on, save and commit (see DNS filtering).

Under Category lists, every category is listed with its description: gambling, violence, drugs, malware, phishing, social networks, games, dating, and many more. Tick the ones you want, or Select all. Then add them to a rule under Policy:
Rules apply per zone (network). Never filter these domains lists sites that are always allowed.

Block page:
Press Preview (or Preview warning) to see the page before you save.


Advanced lets you set a fixed block address, the port, the zones that reach the page, or your own HTML template. The template gets the site, category, client, user, time, a reference number for the help desk, and your texts; it cannot load anything from other sites.
Almost every site uses HTTPS. A browser only shows a page for an HTTPS address if it trusts the certificate. Without the firewall's certificate, a blocked HTTPS site shows the browser's own warning (Your connection is not private); the site is still blocked.
To see the block page instead, install the firewall's web filter certificate on each device once:
korthveil-web-filter-ca.crt). From a phone on your network, the block page itself also offers it: open any blocked http:// address and follow Install the certificate.The firewall uses the certificate only for sites it blocks. Everything else goes directly to the real site and is never decrypted. The certificate's private key never leaves the firewall. In a failover pair, each firewall has its own certificate: install both.
| You see | Meaning | What to do |
|---|---|---|
| Sites are not blocked | The device does not use the firewall's DNS | Use Korthveil's DHCP, or turn on Interception in the DNS resolver |
| Your connection is not private on a blocked site | The device does not have the web filter certificate | Install it (Step 5), or accept that blocked HTTPS sites show this warning |
| A site you need is blocked | It is in a blocked category | Add it under Never filter these domains, save and commit |
| Lists show waiting | The download has not finished yet | Wait a few minutes; Update lists now retries |
| A blocked site still opens on one browser | The browser uses its own DNS over HTTPS (set by hand) | Turn it off in the browser, or block DNS over HTTPS servers with a firewall rule |