Isolation box and LAN isolation: keep a device away from your other devices
A smart device you don't trust can still be useful: a TV, a camera, a light switch or a robot vacuum. From 1.6.6, Korthveil can keep such a device on the internet, so it keeps working through its app, while it can't reach your computers, phones and files, and they can't reach it. There are two ways:
- Isolation box: one press on a questionable device. It lasts from 1 hour to 30 days, or until you release it.
- LAN isolation: a standing setting for chosen devices or whole kinds of device (smart home, cameras, TVs…). The wizard Keep smart devices to themselves sets it up.
Nothing changes on your switch, Wi-Fi or access point.
| Internet | Other devices on your networks | How long | |
|---|---|---|---|
| Isolation box | Kept (or off, if you choose) | None, either way | 1 hour to 30 days, or until released |
| LAN isolation | Kept | None, either way, apart from the exceptions you add | As long as the setting lists the device |
| Isolate (guide) | None | Kept | Some minutes |
| Infected devices quarantine | Only DNS, DHCP and the servers that clean it | None | Until it is clean |
Devices on the same network: isolation subnets
Devices on the same network talk to each other directly, through the switch or the Wi-Fi. That traffic never reaches the firewall, so no firewall rule can stop it. Isolation subnets close that gap:
- The firewall's DHCP server gives an isolated device an address in a subnet of its own, on the same wire. The device then sends everything for your other devices through the firewall, and they send everything for it through the firewall. The firewall drops it.
- The subnets come from 10.254.0.0/16: two /24s for each network the DHCP server serves, never one of your configured networks. One is for LAN isolation, one for isolation boxes, so a boxed device can't reach the LAN-isolated devices either. The firewall takes the .1 address of each. To use another range, set
policy.lanIsolation.range(a private IPv4 /16 to /22). - Leases in an isolation subnet last 1 hour.
- A device moves the next time it asks the DHCP server for its address: when it renews its lease, or when it reconnects. Its request for its old address is refused, and it gets the new one. Until then, everything it sends through the firewall is already cut.
Isolation subnets need the firewall's DHCP server add-in to serve that network.
Turn them on: the wizard turns them on by default. Without the wizard, Network › Devices › Isolated devices shows a notice with Turn on isolation subnets. It stages the change; Review and commit to apply it.

Isolation box
Where the button is
Isolation box is on:
- a finding on Security › Live attacks › Anomalies, next to Track this device (see Anomalies);
- Security › Privacy › Watched devices, under What it sends, for the device chosen there;
- every device's row on Network › Devices;
- every lease on Network › DHCP server, next to Isolate.
Superusers, administrators and operators see it.

The choices
- Choose how long: 1 hour, 1 day, 7 days (the default), 30 days or Until I release it.
- Keep its internet (it keeps working, and its tracking keeps counting) is ticked by default. Untick it, and the device loses the internet too: it starts no connection through the firewall, and reaches only the firewall's DHCP, DNS and NTP.
- Let my VPN clients reach it (Korthveil's remote access) is off by default. Tick it to reach the device from your phone or laptop over Korthveil's remote-access VPN (WireGuard, OpenVPN or SSL VPN). Site-to-site tunnels never reach it.
- Reason (optional): shown on Network › Devices › Isolated devices.
- Press Put it in the box. Its open connections end at once.

A box is an action, not a configuration change: there is nothing to commit, and the audit log records who boxed the device and when. A box replaces an isolation the device already has.
A box is refused for the firewall itself, its failover partner, a device on a never-block list, and the management and remediation servers.
What a box does
- The device keeps the internet and the firewall's DHCP, DNS and NTP (unless you took its internet away).
- It reaches no other device: not your LAN, not your other internal networks, not your site-to-site tunnels. And none of them reaches it.
- Your VPN clients reach it only if you ticked that.
- It can't open ports with UPnP, NAT-PMP or PCP. Ports it opened before are removed, including through Game mode.
- The firewall's rules cover IPv4 and IPv6 alike, for traffic that crosses the firewall. See Limits for IPv6 on the same network.
Network › Devices › Isolated devices
The panel Isolation boxes and LAN isolation lists every box:
| Column | Shows |
|---|---|
| Box | isolation box, and no internet or VPN access when chosen |
| Until | When the box ends, with the time left, or until released |
| Where | moved to the isolation subnet, with its addresses, or waiting for its next DHCP request to move |
| Attempts | What it tried to reach on your networks, for example tried to reach File server (10.20.30.40) 8 times |
| Reason | Your reason |
Release ends the box at once. The device gets its usual address back the same way it moved: at its next DHCP request.

The same panel is on Network › DHCP server.
On the command line
isolate <mac|address> box [days N | hours N | until released] [internet off] [vpn] [reason TEXT]
isolated
release <mac>
For example, isolate 02:00:5e:10:00:33 box days 7 boxes a device for 7 days with its internet, and isolate 02:00:5e:10:00:33 box until released internet off vpn boxes it without internet until you release it, reachable from your VPN clients. The reason is one word. See Command line.
LAN isolation with the wizard
System › Wizards › Keep smart devices to themselves. The wizard opens with your current settings, so run it again to change them.
1. Devices. Tick whole kinds, one device at a time, or both:
- kinds: smart-home devices, cameras and doorbells, TVs, streaming players, smart speakers, other smart devices, printers;
- a kind follows the device list (Network › Devices), so a new camera is isolated as soon as it is recognised;
- at most 500 entries.

2. Access.
- Let my VPN clients reach them is on by default (recommended). You reach your cameras and smart devices from your phone over Korthveil's VPN, never from the LAN.
- UPnP: off for all of them unless you tick one. A game console or a camera recorder that needs it can keep it. Every other listed device is refused, whatever the UPnP add-in's own lists say.

3. Exceptions (optional): LAN devices that may still connect to some of them, such as a smart-home hub, or the phone you control the lights with at home.
- Who may connect: a MAC address, an address or a network.
- To: a listed device or kind.
- Ports: empty means any port.
Leave it empty to use only the apps and the VPN.

4. Same network. Use isolation subnets (recommended) is ticked (see above).

5. Review and apply. Press Review: it says what will happen, with the configuration changes. Press Apply; the change is committed at once. Back (undo the pending changes) leaves nothing changed.

Each listed device then keeps the internet and the firewall's DHCP, DNS and NTP. It reaches no other device, and no other device reaches it, apart from your exceptions and, with VPN access, your VPN clients. Network › Devices › Isolated devices lists them under LAN isolation, with their kind, where they are, VPN access and their attempts (picture above).
In the configuration, the setting is policy.lanIsolation.
Limits
- IPv6 on the same network. A network has one IPv6 prefix for every device on it: router advertisements aren't per device. So isolation subnets move IPv4 only. IPv6 that crosses the firewall is cut like IPv4. IPv6 between devices on the same switch or Wi-Fi is not. If a device you isolate has an IPv6 address on a network with IPv6, give it a network of its own (a VLAN on a switch or access point that carries VLANs). From 1.6.7, Network › Devices › Isolated devices names the isolated devices that have IPv6 addresses and says this.
- A device that sets its address by hand.
- A device with a fixed address never asks the DHCP server, so it never moves. Where keeps showing waiting for its next DHCP request to move, and only the traffic that crosses the firewall is cut. Give it a DHCP address, or a VLAN.
- A device that moved and then sets a LAN address by hand reaches the devices beside it directly. The firewall can't block that. LAN attack detection sees it: an isolation-escape finding (strong), which isolates the device on the firewall for an hour in Protect mode. It can still reach devices on its own switch until you turn its switch port off. See LAN attacks.

- Devices that share an isolation subnet can still reach each other directly: two LAN-isolated devices on the same network are in the same subnet. A VLAN separates them.
- Remote sites: a device at another site is isolated by that site's own Korthveil firewall.
Fixed in 1.6.7
Found on 1.6.6 while taking this guide's pictures on a test firewall, and fixed in 1.6.7. On 1.6.6, update to 1.6.7.
- Name lookups from an isolation subnet. In 1.6.6 the firewall's DNS resolver (the DNS filtering add-in) refused the lookups of a device in its isolation subnet, so a boxed device that should keep the internet couldn't reach new names. From 1.6.7 it keeps the firewall's DNS, and the firewall gives it its own address in the isolation subnet as the name server.
- A certificate test on an isolated device. In 1.6.6 a boxed or LAN-isolated device under a certificate test lost its redirected connections. From 1.6.7 they work, as do TLS inspection's.
- A release that looked like an escape. In 1.6.6 a device that asked for its usual address soon after its release could raise a false isolation-escape finding, which isolated it for an hour in Protect mode. From 1.6.7 the device takes back the address the firewall's DHCP server gives it; only an address set by hand counts as an escape.
How it was tested
- Automated tests: the rules for both families, the DHCP server's configuration (accepted by Kea), the UPnP refusal, the escape finding, the command line and the wizard.
- Network lab: two devices on one network, one boxed. It moved, kept the internet only, and the device beside it was unreachable both ways. A VPN client was refused without VPN access and admitted with it. An exception for one port worked. The attempts were counted. A box without internet started nothing. After the release it moved back. The lab moved the device by hand (no DHCP server in that lab) and checked IPv4 traffic; the IPv6 rules were checked as rules.
- The pictures: taken on a test firewall running 1.6.6, with lab devices that got their addresses from the firewall's DHCP server and moved to their isolation subnets when they renewed. A thermostat that set 10.20.30.150 by hand reached the file server directly, and LAN attack detection raised isolation-escape at once.
Troubleshooting
| What you see | Likely cause | What to do |
|---|---|---|
| waiting for its next DHCP request to move for a long time | The device renews its lease later, or it has a fixed address | Restart the device or reconnect it to the Wi-Fi. A fixed address never moves: give it a DHCP address |
| only traffic through the firewall is cut (isolation subnets are off) | Isolation subnets are off | Turn on isolation subnets, then commit |
| not isolated: and a reason | The device is the firewall, its partner, or on a never-block list | Take it off that list first, if you mean it |
| The device's app stopped working on your LAN | Local control needs a LAN connection | Use the app over the internet or over Korthveil's VPN, or add the phone as an exception in the wizard |
| A camera recorder can't reach the cameras | It isn't an exception | Add it in the wizard's Exceptions, with the cameras' port |