KORTHVEILSecurity firewall
Guides

CipherGate

Download as PDF All guides

CipherGate is Korthveil's protection inside the browser: a browser extension your firewall controls to block, report and filter. It works where the browser has already decrypted the page, so it needs no TLS inspection and no firewall certificate on the computer. In every enrolled browser it:

  • blocks the scripts, downloads and text your rules name, and reports each match (Content rules below, from 1.2.7);
  • removes tracking cookies, and blocks scripts from other sites;
  • hides the operating system and browser version.

The firewall part also blocks known trackers for the networks you choose, with no software on the devices.

Turn it on

  1. Make sure the DNS resolver add-in is on, under Network › DNS › DNS resolver.
  2. Open Security › Privacy › CipherGate and turn the add-in on.
  3. Under Zones, choose a mode for each of your own networks:
    • Balanced (recommended): blocks known trackers and rarely breaks sites.
    • Strict: uses a much longer list, so expect some sites to need an exception.
    • Monitoring only: counts what Balanced would block, and blocks nothing. Use this to try it first.
  4. Commit. The firewall downloads the lists, and blocking starts within minutes.
The CipherGate page
The CipherGate page

If a site breaks

  1. Under Check a site, enter the name to see what blocks it in each zone.
  2. Under Exceptions, enter the name, how long it should last and why, then commit.

An exception only lets a site past CipherGate's lists. Threat lists, the web filter and intrusion prevention still apply. To stop all blocking for a while, press Pause all blocking for 1 hour and commit.

What it records

Counts by zone and by name, and daily totals, kept for 90 days unless you change it. It never records which device looked anything up.

Cookies in browsers: the extension

The network part can't see cookies. For that, browsers on your network install CipherGate's extension. It removes known tracking cookies and keeps sign-in, security, shopping and unknown cookies. It sends the firewall only how many cookies of each kind it handled, never a cookie's value or the sites visited.

  1. On Security › Privacy › CipherGate, turn on Browsers.
  2. Under Where browsers reach the portal, tick your LAN or Wi-Fi zone. Choose the mode, and optionally a host name.
  3. Commit. The portal's address appears in the panel.
  4. Under Enrollment codes, choose how many browsers the code can enroll and for how long, then press New code. Write it down: it's shown only once. (The one-click page below can make codes itself with Open enrollment.)
The Browsers panel
The Browsers panel

Install on your computers with one click (from 1.3.0)

The portal runs on this firewall, never on the internet: only computers in the networks you choose for it can open it. Its page recognises the computer's system and browser and offers one button. The file it downloads is made for that computer and does everything else:

  • trusts the portal's certificate (and, if you choose, the TLS inspection certificate);
  • sets the browser policy, so Chrome, Edge, Brave or Chromium installs CipherGate by itself, keeps it updated, and users can't remove it;
  • gives the extension the portal's address and a one-time code, so it enrolls by itself;
  • waits until the extension has tested itself, and says Self-test passed.

A web page can't install software by itself: the browser downloads the installer and the computer asks before running it. That is the computer's own protection.

Step 1: Run the wizard

System › Wizards › Deploy CipherGate to your computers.

  1. Networks. Tick your LAN and Wi-Fi. Networks facing the internet can't be chosen.
  2. Enrollment. Open enrollment lets any computer in those networks install without a code: the page makes a one-time code for each installer (at most 5 an hour per computer). Leave it off to hand out codes yourself.
  3. TLS inspection. If TLS inspection is on, tick Offer the TLS inspection certificate to put it on the same page.
  4. Review and apply.
The wizard
The wizard

Step 2: On each computer

  1. Open the portal's address, for example https://192.168.1.4:8447/ciphergate. The first time, the browser warns about the portal's certificate (it comes from the firewall, not from a public authority); continue to the page. A publicly trusted certificate for the portal avoids this (see Portal certificate below).
  2. The page shows your system and browser. Type a code if asked, keep Also trust TLS inspection ticked if it's offered, and press the one button.
The portal page on Linux with Chrome
The portal page on Linux with Chrome
  1. Run what it downloaded:
    • Linux: sudo sh ciphergate-install.sh
    • Windows: in PowerShell as administrator, powershell -ExecutionPolicy Bypass -File .\ciphergate-install.ps1
    • macOS: the page gives a profile for your MDM (see the table below).
  2. Close every window of the browser and open it again. The installer prints each step and ends with Self-test passed.
== Checking the portal
ok: https://192.168.1.4:8447
== Trusting the certificates
ok: the system's trusted certificates
== Browser policy
ok: google-chrome (/etc/opt/chrome/policies/managed/korthveil-ciphergate.json)
== Waiting for CipherGate
Self-test passed. CipherGate is installed, enrolled and working.

To remove it from a Linux computer: sudo sh ciphergate-install.sh --remove (Windows: -Remove), then remove the browser on the firewall.

What works where

Computer One-click installer Why
Linux with Chrome, Chromium, Edge or Brave Yes The browser follows the policy files the installer writes
Windows in an Active Directory domain (or Intune) Yes Chrome and Edge accept the policy on a managed computer
Windows at home, not in a domain Certificates only Chrome and Edge ignore the policy for an extension from outside their stores on an unmanaged computer: the installer says so, and The manual way on the page finishes it
Mac managed by MDM Yes, with the profile in your MDM Chrome and Edge accept it only from MDM
Mac without MDM Manual way Same reason
Firefox (Linux and Windows) Yes, from 1.3.8: the CipherGate copy Mozilla signed for this release, installed by Firefox's own policy and enrolled with the same code Firefox installs only extensions Mozilla signed; each Korthveil release carries a signed copy
Phones and tablets No installer: Firefox on Android and Safari on iPhone and iPad enroll from the page (see Phones and tablets) Phones install extensions only from their own store or file; the network part still blocks trackers for every phone

The self-test checks four things in the browser: the signed policy is in force, the browser's blocking rules hold the policy's rules, cookies can be controlled, and the firewall took its check-in. Each browser's result shows on Security › Privacy › CipherGate › Browsers.

Browsers with their self-test
Browsers with their self-test

A whole Windows domain

  1. On Security › Privacy › CipherGate › Browsers › Deployment, open Deployment keys and press New deployment key. The key enrolls any number of browsers, has no end date, and is shown only once. Revoke stops new enrollments with it; browsers it already enrolled keep working.
  2. On the portal page, download the Domain Controller script.
  3. On a Domain Controller, as a domain administrator: powershell -ExecutionPolicy Bypass -File .\ciphergate-deploy-gpo.ps1 -DeploymentKey dk-…
  4. It creates the Group Policy object Korthveil CipherGate (Chrome and Edge) and publishes the certificates to the domain's trusted roots. It links nothing: link it to the OUs you choose (New-GPLink). Computers pick it up at their next policy refresh.

The deployment key is stored in the Group Policy object, which every signed-in user of the domain can read (as with any policy). It can only enroll browsers, never change the firewall; if it leaks, revoke it and run the script again with a new one.

Tested 2026-11-13 on a Windows Server 2019 Domain Controller: the object is created with one install entry each for Chrome and Edge and their portal and key, a second run updates it without duplicates, and nothing is linked.

The Deployment panel
The Deployment panel

The TLS inspection certificate on the same page

With TLS inspection on and Offer the TLS inspection certificate ticked, the page shows Also trust TLS inspection on this computer, ticked. The installer then also adds the inspection authority to the computer, Chrome, Edge and Firefox, and checks it with the inspection add-in's own test. Only the certificate leaves the firewall, never its key. Phones and tablets need taps in their own settings: the page links to the TLS inspection page with the steps.

Portal certificate

Portal certificate under Deployment chooses what the portal shows computers:

  • The portal's own authority (default): made on the firewall, it can only vouch for the firewall's own addresses and local names. The installers add it to each computer once; it renews the portal's certificate by itself.
  • A certificate from System › Certificates & encryption › Certificates, such as an ACME certificate for the portal's host name: publicly trusted, so computers need nothing, and the first visit shows no warning.

Out of the box (from 1.3.1): when you turn the portal on (the Browsers switch or the wizard) and the web console already uses a publicly trusted certificate for a public name, such as base.korthveil.com, the portal takes that certificate and name by itself. Computers then open https://base.korthveil.com:8447/ciphergate with no warning and nothing to trust. A portal turned on before 1.3.1 keeps its settings: the Deployment panel offers Use … for the portal.

To choose one by hand, for example base.korthveil.com:

  1. The certificate is in System › Certificates & encryption › Certificates and covers the name (the console shows it under Covers).
    1. The name resolves, inside your network, to the firewall's address in the portal's network (a local DNS record). Computers then open https://base.korthveil.com:8447/ciphergate.
    2. Under Deployment, choose it as Portal certificate, and set the portal's host name to the same name. Commit.

If the portal's host name is a public name like this and the certificate is the portal's own, every browser refuses the page outright, without a "continue anyway" button, because the name's web console told it to accept only trusted certificates for that name (HSTS, which browsers apply to every port of the name):

  • Firefox: "Did Not Connect: Potential Security Issue", MOZILLA_PKIX_ERROR_SELF_SIGNED_CERT.
    • Chrome, Edge and Brave: "Your connection is not private", NET::ERR_CERT_AUTHORITY_INVALID, and "you can't visit … right now because the website uses HSTS".
    • Safari: "This Connection Is Not Private", without a way to continue.

The cure is the same for all of them: a publicly trusted certificate for the name. The Deployment panel says so, and offers Use … for the portal when a certificate in the store covers the name.

The installers then carry no certificate at all. When the certificate is renewed (ACME, about every 60 days), the portal takes the new one within an hour, without a commit. If the certificate doesn't cover the portal's address, or ends within a week, the Deployment panel says so. In a failover pair, each firewall uses the certificate from its own store, so the partner needs it too.

From the browser's own store (from 1.3.4)

Once CipherGate is in the Chrome Web Store (and, if you like, Edge Add-ons and Firefox Add-ons), enter its address under Deployment › Browser stores, phones and tablets. The portal page then offers Add to Chrome (Edge, Brave, Firefox) first: one click in the browser's own store, then Enroll this browser on the page. Nothing is downloaded or typed, and no administrator rights are needed. The installer stays on the page as the other way, for setting up every browser on a computer at once. Edge also installs from the Chrome Web Store when it has no listing of its own.

Phones and tablets (from 1.3.2)

Phone browser CipherGate
Firefox on Android Yes: the portal page offers the CipherGate package signed by Mozilla. In Firefox, Settings › About Firefox, tap the Firefox logo five times, then Settings › Install extension from file and choose it.
Safari on iPhone and iPad Yes, as an App Store app: install it from the link on the portal page, then Settings › Apps › Safari › Extensions › CipherGate, turn it on and allow it on all websites. Where Safari doesn't give extensions something CipherGate uses (for example cookie control), the self-test shows it as not available rather than failed.
Chrome, Edge, Samsung Internet on Android; Chrome, Edge, Firefox on iPhone No: these don't run extensions like CipherGate (on iPhone they are built on Safari's engine without them). Tracker blocking on the network still protects them.

The CipherGate page's What this covers table says the same for each kind of device:

What this covers
What this covers

Then, on the phone, open the portal page and tap Enroll this browser. CipherGate shows its own card over the page, Enroll this browser with …?; tap Enroll with this firewall. The page shows CipherGate in this browser: detected when it runs there. Nothing is typed. The card comes from CipherGate, out of the page's reach, and takes only a real tap; CipherGate enrolls by itself after it, so a page pretending to be a portal can't enroll a browser without the person agreeing. Enroll this browser works on computers too, for a browser where CipherGate is already installed.

The signed Firefox package and the App Store app come from Mozilla's and Apple's accounts: the portal offers them once this firewall has them (Deployment › Phones and tablets takes the App Store address). From 1.3.8 the signed Firefox package is part of every release, so the portal offers it to Firefox on Android. The App Store app isn't published yet; until then the portal page tells iPhones and iPads what protects them now (tracker blocking on the network).

On the phone, step by step (iPhone and iPad):

  1. Install Korthveil CipherGate from the App Store (the link on the portal page).
  2. Open Settings › Apps › Safari › Extensions › Korthveil CipherGate. Turn on Allow Extension, and under Permissions set All Websites to Allow. CipherGate needs every site to remove trackers there; it reports only counts.
Settings: Korthveil CipherGate allowed, on all websites
Settings: Korthveil CipherGate allowed, on all websites
  1. In Safari, open the portal page, for example https://base.korthveil.com:8447/ciphergate. Under Enroll this browser it shows CipherGate in this browser: detected. If it says not detected, tap the page menu in Safari's address bar, open Manage Extensions, turn Korthveil CipherGate on, tap the check mark, and reload.

The portal page: CipherGate detected Safari's Manage Extensions

  1. Tap Enroll this browser. CipherGate's own card asks Enroll this browser with …? with the portal's address; tap Enroll with this firewall. The page shows Enrolled. CipherGate now tests itself and reports to the firewall., and the phone appears on Security › Privacy › CipherGate › Browsers as Safari, from the portal page, with its self-test.

CipherGate's card Enrolled

The pictures come from the test below, so they show the test portal's address (192.168.1.11:8447, an example address) and the test version.

Tested 2026-11-13: Safari on an iPhone 17 simulator with iOS 26.5 (Xcode 27), with the CipherGate app built from this release: switched on in Settings, allowed on all websites, enrolled from the portal page with one tap, and the firewall recorded the enrollment via the portal page with the self-test passed. The same enrollment from the page passed in a real Chromium (8 of 8 checks, including that a click made by the page's own script doesn't count). A real phone and the store versions come when the app and package are published.

The manual way

For a computer the installer can't set up, the page still has the extension as a zip: unzip it, open chrome://extensions, turn on Developer mode, Load unpacked, and enter the portal's address and a code in the extension's settings.

Enrolled browsers are listed one line each, with when they last checked in. Remove stops a browser getting the policy. Korthveil warns you when a browser hasn't checked in for a week.

Scramble instead of remove replaces only the random part of a few analytics IDs whose format is known, so a site keeps working but can't follow you.

Browsers

See What works where above. From 1.3.8 every Korthveil release carries CipherGate signed by Mozilla (private, not listed on Mozilla's add-on site), so the installer gives Firefox CipherGate like Chrome and Brave. See Firefox (from 1.3.8) below.

Firefox (from 1.3.8)

Firefox installs only extensions Mozilla has signed. Each Korthveil release now carries CipherGate signed by Mozilla, privately (it isn't listed on Mozilla's add-on site), so Firefox gets it the same way as the other browsers:

  1. On the computer, open the portal page (Security › Privacy › CipherGate › Browsers shows its address, for example https://base.example.com:8447/ciphergate) and download the installer, as for Chrome.
  2. Run it (sudo sh ciphergate-install.sh on Linux, the PowerShell script as administrator on Windows, the profile on a Mac). It now reports ok: Firefox gets CipherGate for each Firefox it finds, also Firefox ESR. Firefox reads its own enterprise policy, so on Windows this works without a domain.
  3. Close every Firefox window and open Firefox again. Firefox installs CipherGate, which enrolls by itself and runs its self-test; the browser appears under Browsers on the firewall.

The portal page then shows CipherGate in this browser: detected. A firewall on a release without the signed copy says so in the installer ("this firewall's release has no signed copy yet") and gives Firefox the certificates only.

Good to know:

  • An existing Firefox policy file is added to, never replaced: other extensions and settings stay.
  • Firefox updates CipherGate by itself: after the firewall is updated, it serves the new signed copy at the same address, and Firefox installs the new version when it sees the version changed (Mozilla's enterprise policy works this way). Nothing to run again.
  • Mac: the profile (Download the profile for macOS on the portal page) also sets Firefox's policy, next to Chrome and Edge, and, with TLS inspection, tells Firefox to trust the Mac's certificates. As for Chrome and Edge, push the profile with your MDM.

Scripts from other sites

From 1.1.98, the extension can also stop scripts that pages load from other sites, such as ad networks, trackers and social widgets. A page's own scripts always run, so the site still works. The browser blocks them itself, so nothing is decrypted.

Start with a test group of computers:

  1. Enroll the test computers' browsers (above). Under Test group, press Name on each one and give it the computer's name, for example Office PC 3.
  2. Tick the browsers in the test group. With none ticked, the setting applies to every enrolled browser.
  3. Set Scripts from other sites to Learn, then commit. The browsers in the group count scripts from other sites but block nothing.
  4. After a day or so, look at Scripts seen from other sites. It lists each site, where its scripts came from, how often, and from how many browsers. For a script a site needs, press Allow on this site. For one many sites need, press Allow everywhere. Commit.
  5. Set the mode to Block and commit. Browsers pick up the new policy within 15 minutes, or at once from the extension's Settings › Check now.
  6. When the test group is happy, untick everyone in the group, so it applies to all enrolled browsers.
Scripts from other sites: blocking for a test group of two browsers, with the scripts seen and their Allow buttons
Scripts from other sites: blocking for a test group of two browsers, with the scripts seen and their Allow buttons

Always allowed, unless you untick them:

  • Sign-in, payment and captcha scripts: Google, Microsoft and Apple sign-in, Stripe, Square, PayPal, reCAPTCHA, hCaptcha, Cloudflare Turnstile.
  • Payment and sign-in pages themselves (from 1.4.4): a page on a payment or sign-in service, such as Square's checkout (square.site, square.link) or a bank's card check, is never script-blocked, and the payment and fraud-check names of the DNS filter's Protected names may load scripts on any page. Card payment pages never need an exemption. Before 1.4.4, Square's sign-in and checkout pages stayed blank under Block.
  • Public code libraries: cdnjs, jsDelivr, unpkg, Google's hosted libraries, jQuery.
  • A site's own sister domains (from 1.3.3): large sites serve their own code from a second domain, such as claude.ai from anthropic.com, YouTube from ytimg.com and googlevideo.com, CNN from turner.com, Facebook from fbcdn.net. They count as the site's own, so blocking doesn't break them.
Scripts from other sites: a site's own sister domains count as its own
Scripts from other sites: a site's own sister domains count as its own
The CipherGate wizard's Scripts step: learn first
The CipherGate wizard's Scripts step: learn first

Learn first. The CipherGate wizard starts a first setup on Learn, and the page warns when Block is chosen before anything was learned (with a Learn first button). Turned straight to Block before 1.3.3, claude.ai stopped working: "Can't reach Claude".

Sites left alone load scripts from anywhere, for example your bank or a work application.

On the computer, the extension's button shows how many scripts it blocked. Keep this site as it is for 1 hour lets one site run everything for an hour when it breaks.

What the firewall learns: only browsers in the test group, and only while it learns or blocks, send which sites loaded scripts from where. They never send pages, cookies or anything typed. Browsers outside the group send nothing new. Clear the list empties it.

For devices without the extension, TLS inspection can do the same on decrypted HTTPS: see TLS inspection › Scripts from other sites.

Content rules: scripts, files and text (from 1.2.7)

On Security › Privacy › CipherGate, under Browsers, Content rules sets what every enrolled browser blocks:

  • Scripts: a domain (coinhive.com, with its subdomains) or an address pattern with * (*/miner*.js, *://cdn.example.com/widget*.js). The browser refuses to load them, before they run. The page's other scripts run.
  • Files (downloads): file name patterns such as *.exe, .iso or setup-*.msi. They're checked against the downloaded file's final name, so a program sent from an address like /get?id=7 is caught too. A match is stopped before it is kept.
  • Text in pages: words or phrases, matched as whole words in any capitals. Remove only the matched words (the default) replaces them with ***, also in text the page adds later and in its title. Block the whole page shows a notice instead. Form fields, scripts and code are never changed.

Each rule can also be:

  • Log only: reports matches and changes nothing. Use it to try a rule first.
  • Only on these sites.
  • Alert me: an alert while the rule matched in the last hour, per browser.
  • Keep the rule, but off.

Press Save content rules, then commit. Browsers get the rules at their next check-in, within 15 minutes, or at once with Check now in the extension.

Content rules: scripts, files and words, with the file rule open
Content rules: scripts, files and words, with the file rule open

In the browser, words a rule removes show as ***. A word inside an excluded word stays (Scrapbook below), and the text field is left as typed:

Matched words removed in a page; the form field unchanged
Matched words removed in a page; the form field unchanged

A page with text a Block rule names shows a notice with the rule's name:

A page blocked by a text rule
A page blocked by a text rule

Detections lists what each rule matched, by browser and site name, with how many it blocked or removed. Browsers send only the rule, the count and the site's name: never the address, the file name or the text.

The shared exclusions (Security › Content & app filtering › Content filter › Exclusions) apply here too:

  • excluded domains are never filtered;
  • excluded files are never blocked;
  • excluded words are never removed.

After the update, a browser that already has the extension asks its user once to allow it to manage downloads. Browsers that don't allow it still get the script and text rules, but not the file rules.

Tested in a real Chromium with the extension, against a test site: a named script blocked while the page's own script ran, matched words removed (also text added later and the title) but not in a form field, a page blocked, an .exe download stopped and a text file kept, and every match counted by rule and site name only (13 checks, all passed).

Hide the operating system and browser version (from 1.2.5)

Under Browsers, Hide the operating system and browser version makes every enrolled browser send the same ID to websites and their scripts: Windows 10 and its own browser's main version. The detailed hints (OS version, device model, processor, full version) are not sent. The guide Hide which operating systems and browsers your devices run explains it, with the firewall's own Privacy setting that does the same in the packets for every device.

From 1.3.11, human checks ("Verifying you are human") always see the real browser, and Sites that see the real browser lists the sites that do too, for example a sign-in that kept asking whether you are human. A browser that meets a Cloudflare check on a site lets that site see it as it is for 30 days.

Sites that see the real browser
Sites that see the real browser

Add noise to browser fingerprints (from 1.2.5) changes what sites' scripts read back from canvas, WebGL and audio a little on every page load, and reports a generic graphics card and common hardware counts, so a fingerprint never matches twice. The same guide explains it.

Block an ad with a right-click (from 1.3.6)

See an ad that got through? Right-click it. CipherGate offers three choices:

Choice What it blocks
Block this ad (CipherGate) Everything from the ad's address (for example ads.adnet.example), in this browser
Block this picture only (CipherGate) Just that picture (its exact address); the rest of the site keeps working
Block where this link goes (CipherGate) That link's exact address (on a link)
  • The ad disappears at once, and the block stays in that browser from then on.
  • A bar at the bottom says Ad blocked: <address> · Undo for a few seconds. Undo brings it back straight away.
  • Later: click the CipherGate button in the toolbar. Blocked by you lists every address you blocked, each with Undo.
  • If the picture is the site's own (not an ad from another address), only that picture is hidden: a site's own address is never blocked. Korthveil and SentinelOps addresses are never blocked.
Right-click › Block this ad: the ad is gone, with Undo at the bottom
Right-click › Block this ad: the ad is gone, with Undo at the bottom

The firewall sees every Block this ad (whole addresses; a single picture or link stays in its browser, because the firewall's ad blocking works on whole addresses). On Network › DNS › Ad & tracker blocking › Blocked with a right-click, press Block for every device to block the address for TVs and phones too (it goes on your own block list, through the pending changes like any change), or Undo for every device. Nothing changes for other devices until you press it, so a guest's right-click can't change your network.

AdWire checks your right-click blocks (from 1.3.7)

Under Browsers › AdWire checks right-click blocks, the address is AdWire's cloud (filled in from 1.3.8) unless you enter your own AdWire's address (ending in /api, https only) and press Save address. Paste your AdWire Guardian key and press Save key (it is stored as a secret and never shown). From then on, every address blocked with a right-click goes to AdWire, and AdWire's own checks decide: a valid ad joins AdWire's block list, so every device blocks it at the next list download; a risky one (it may break sites) waits for you in AdWire; a protected one is refused. The verdict appears in Network › DNS › Ad & tracker blocking › Blocked with a right-click. When everyone has pressed Undo, the address is taken out of AdWire again.

The AdWire key field
The AdWire key field

Register with AdWire (from 1.3.8). You don't need to make or paste a key: press Register with AdWire under Browsers › AdWire checks right-click blocks, then commit. The firewall's Korthveil license vouches for it: the license service gives the firewall a signed voucher that lasts 10 minutes and can be used once (your license key isn't in it), and AdWire answers with this firewall's own key. That key can read AdWire's block lists and suggest blocks, nothing else, and never AdWire's administrator key. Pressing it again gives a new key and cancels the old one. The address is AdWire's cloud on port 8443 unless you enter your own. A firewall without an active license uses a key made on AdWire's customer page instead.

Register with AdWire
Register with AdWire

Stealth ad blocking (from 1.3.5)

On by default: sites can't tell ads are blocked, a site that still shows an "ad blocker detected" wall heals by itself, and CipherGate learns how sites detect blocking and identify computers. Settings under Browsers › Stealth ad blocking. See the guide Stealth ad blocking.

Ad blocking in the browser (from 1.6.1)

The firewall's ad blocking stops ads by their names, for every device. In browsers with CipherGate, the page itself can be tidied too: the empty boxes ads leave, "sponsored" posts, newsletter pop-ups, cookie banners. Each option is off until you turn it on, so a firewall that updates to 1.6.1 keeps doing exactly what it did. The options are under Security › Privacy › CipherGate › Browsers › Ad blocking in the browser, and the same options are on Network › DNS › Ad & tracker blocking › In the browser: CipherGate. System › Wizards › DNS filtering and ad blocking asks about them too (step In the browser), with the recommended ones ticked.

At a glance:

Step Where What
1 Security › Privacy › CipherGate › Browsers The browser portal is on and your browsers are enrolled (above)
2 Browsers › Ad blocking in the browser Press Turn on the recommended options, or tick the ones you want
3 The top bar Commit. Browsers get the change at their next check, within 15 minutes
4 The same place Lists and what browsers get shows each list's download and what was sent
Option What it does Recommended
Hide ad boxes, sponsored posts and banners Uses the element rules of EasyList and the Adblock Warning Removal List: ad spaces, "sponsored" boxes and banners are hidden before the page shows them Yes
Hide annoyances Newsletter pop-ups, "open in the app" banners, chat bubbles, social-media buttons and widgets (Fanboy's Annoyance List with the Social list) Yes
Cookie-consent banners Leave them as they are, Hide them (EasyList Cookie List), or Reject all Reject all
Defeat anti-adblock and in-page ad tricks (scriptlets) Runs the lists' scriptlet rules, and your own, with Korthveil's own small page helpers Yes
Skip tracking redirects A link through a tracking redirector goes straight to its real address Yes
WebRTC leak protection Stops calls and meetings in the browser from telling a site the computer's addresses Your choice

Reject all presses the banner's own reject button (or opens its settings, switches everything off and saves) for OneTrust, Cookiebot, Didomi, Usercentrics, TrustArc, Quantcast, Sourcepoint and other common consent platforms. It acts only inside the platform's own banner, only on a banner you would see (one you already answered is left alone), and never presses a button that says accept. Banners of other platforms are hidden. It never acts on sign-in, account, cart, checkout or payment pages, nor on pages with a password or card field. Hide them only hides: nothing is answered, so a site may keep asking or leave some features off.

Scriptlets are small helpers the filter lists name, such as "set this flag", "stop this timer" or "answer this request empty": they defeat scripts that detect ad blocking or slip ads in. Korthveil wrote its own, so no other project's code runs in your pages. A rule naming a helper Korthveil doesn't have is left out, and the page says how many were. Scriptlets start a moment after the page does (10 to 30 thousandths of a second): a page's very first own scripts can run before them, which is how browsers work for every extension today.

Skip tracking redirects knows the redirectors of search results, mail, chat and social sites and affiliate links (Korthveil's own list, and Brave's redirect list, downloaded once a day). As a link is clicked, opened in a new tab or copied, CipherGate points it at the address it carries, so the redirector never learns the click; an address typed or opened by a script goes there too. CipherGate only goes to http or https addresses, and never from a secure (https) link to an insecure (http) one: such a link goes through the redirector as before.

WebRTC leak protection is off by default, because some calling sites need it:

Choice What a site can see Trade-off
As the browser does What the browser shows None
Only the default route No local network addresses Calls and meetings keep working
Only through a proxy or relay No public address either Calls may fail, or work only through the service's relay

In Chrome, Edge and Firefox, CipherGate changes the browser's own WebRTC setting. The browser asks once: click the CipherGate button in the toolbar and press Allow WebRTC protection. Until then, and in Safari, a page guard drops the addresses it can.

Your own rules. Under Your own rules, press Add a rule:

Rule Example
Block requests to names *-ads.example.com, ads.*, /^track[0-9]+\./
Let through names (CipherGate's own blocking only; the firewall's ad blocking still applies) cdn.example.com on shop.example.com
Hide on pages a CSS selector .promo-banner on news.example.com
Run a scriptlet set-constant(canRunAds, true) on video.example.com

Names take the same wildcards as everywhere in Korthveil: example.com is the name and every name under it, * matches any characters (dots too), /…/ is a regular expression. Sites for hiding and scriptlets may use wildcards as well; for blocking and letting through, sites are names. Each rule is one line with Turn off, edit and remove. A rule that would block Korthveil support and updates is refused.

Sites left as they are. A site that should see none of this (an intranet, a test page): add it under Sites left as they are (the same list as stealth ad blocking). On a computer, the CipherGate button's Keep this site as it is for 1 hour does the same for one site. Banks, payment, sign-in and government sites are always left alone.

Lists and what browsers get shows each list with its licence, how many rules it has and what was left out (rules that need a script, scriptlets Korthveil hasn't), how many rules browsers get, and how many cookie banners were rejected and redirects skipped. Download the lists now fetches them at once; a failed download keeps the last good copy. The lists are downloaded by the firewall and never come with Korthveil.

Your own rules (block, hide, run a scriptlet) and the lists with what browsers get
Your own rules (block, hide, run a scriptlet) and the lists with what browsers get

Speed. Rules for one class or one id (tens of thousands in the lists) are added only to pages that have that class or id, so pages stay fast: in Korthveil's release test, a page of 10,000 elements with every list on loaded about 30 thousandths of a second later, with the first picture on screen no later than that. Sites can't tell: boxes pages use to test for an ad blocker stay visible, and the hiding is the browser's own, which a page can't read.

Mark AI-made images and videos (off by default, from 1.8.0)

CipherGate can mark the pictures and videos on a page that say they were made with AI. It reads only labels the content carries, and it never guesses from how a picture looks. It runs in the browser, so the firewall decrypts nothing.

Turn it on. Under Security › Privacy › CipherGate › Browsers, set Mark AI-made images and videos, then commit:

  • Off (the default): nothing is read and nothing is marked.
  • Mark: a small label sits on the picture or video.
  • Blur until clicked: the picture or video is blurred, with its label. Click it, or press Show on the label, to see it. The first click only shows it and does not open its link.

Each person can choose differently for their own browser: in CipherGate's options (right-click the CipherGate button, then Options), under Mark AI-made images and videos, In this browser offers As your firewall sets it, Off, Mark and Blur until clicked. A browser that isn't enrolled can turn it on there too.

What gets a label.

  • Files that say so. Many AI tools write "made by AI" into the file, in the file details (IPTC) or in Content Credentials (C2PA). The label reads Says it was made with AI (Content Credentials, not verified), or (file details, not verified). A file made partly with AI, for example an AI-made part placed in a photo, reads Says it was partly made with AI. Pictures in JPEG, PNG and WebP and videos in MP4 are read.
  • YouTube videos YouTube labels. When YouTube shows Altered or synthetic content under "How this was made", the player gets the label AI (labelled on YouTube). Not yet confirmed: the part of the page it reads was checked on live YouTube, but a video carrying this label has not been seen yet, so the label is not yet confirmed to show. With Also look up videos in YouTube's lists (on whenever marking is on), each video on screen in the home page, search, suggestions and Shorts shelves gets AI too, when YouTube labels it. Turn that choice off if YouTube pages feel slower; the video you watch is still marked.

How much it reads. Only pictures and videos on screen, at least 64 by 64 pixels, are read: the first 256 KB of each, once per page, at most 60 per page and two at a time, through the browser's cache. A large video is never downloaded whole. A picture from another site is read only when that site allows it; others are skipped. On YouTube, at most 12 videos a minute and 30 a page are looked up, and the answers are kept in the browser for a day (a week for a labelled video). The page's layout doesn't change: the labels float above it.

What a label means, and what it doesn't.

  • Not verified. CipherGate doesn't check the signatures of Content Credentials, so a label means "the file says so". Anyone could add or remove one.
  • No label doesn't mean made by a person. Screenshots and most uploads to social sites remove these labels, so most AI-made pictures on the web carry none and get no mark.
  • Invisible watermarks (such as SynthID) are not checked.
  • YouTube's label is YouTube's. It depends on what the creator disclosed. A video without it may still be made with AI.
  • Other sites' own AI labels (for example on TikTok, Instagram or Facebook) are shown by those sites themselves; CipherGate doesn't read them.
  • It works only in browsers with CipherGate, and only in the page itself (not in frames inside it). Pictures set as page backgrounds and streamed video are not read.

What it doesn't cover

  • Devices using their own encrypted DNS or a VPN. Their lookups don't reach the firewall.
  • Trackers on the same name as the site itself.
  • Cookies in browsers without the extension, and in apps.
  • Content rules work in enrolled browsers only. For apps and other browsers, use the network Content filter with TLS inspection.
  • AI-made pictures and videos without a label (see Mark AI-made images and videos).

Korthveil support and updates (built in) is never blocked, whatever a list says: Korra Software's own servers, and korthveil.com with every name under it. The page shows it as that one entry (from 1.6.0).

Download as PDF All guides