A firewall needs at least two network ports: one to the internet (WAN) and one to your own network (LAN). Many small PCs, mini PCs, and laptops have only one built-in Ethernet port. With Korthveil, a USB network adapter becomes a real firewall port: it can be the LAN, a second internet line, a guest network, or a management port, with the same zones, rules, and settings as a built-in port.
Two kinds of USB connections work:
- USB-to-RJ45 adapters (also called USB Ethernet adapters or dongles, and the Ethernet port of a USB-C dock): a normal network cable goes into the adapter. Korthveil shows them as USB adapter.
- USB-to-USB links between two computers: a USB bridge cable, or a Thunderbolt or USB4 cable between two machines that both support Thunderbolt/USB4 networking. Korthveil shows them as USB link.
A phone plugged in by USB to share its mobile data is different: it is the backup internet, see Backup internet with a phone. Phones are never turned into ordinary ports.
At a glance:
| Step | Where | What |
|---|---|---|
| 1 | On the firewall | Plug the adapter into a USB 3 socket (blue, or marked SS) and connect its network cable |
| 2 | System › Wizards › Startup wizard, or Network › Interfaces, zones & routes | The adapter is listed like any port, with a USB adapter badge: choose it as LAN, WAN, or another port |
| 3 | Pending changes | Commit (with the safety rollback on) and press Keep these settings |
From then on the port keeps its role in any USB socket. Unplugged, it shows as Disconnected, keeps its settings and rules, and takes its role back by itself when you plug it in again.
To set up several adapters at once, or to put USB adapters in a bond with built-in ports, use the wizard USB network ports and bonds: see USB-A, USB-C and bonds below.

What works best
USB adapters work best as an extra LAN, a second WAN or a management port. For the main WAN and LAN on a busy network, use built-in ports: a built-in port handles more traffic with less processor time, and it cannot be pulled out by accident.
Good uses for a USB port:
- the second port of a PC that has only one built-in port (a home or small office firewall);
- a guest network, a camera network, or a lab network;
- a second internet line (for example a 4G/5G router or a second ISP) next to the main one;
- a management port, so you can reach the firewall's console from a laptop even when the LAN is busy or misconfigured.
Which adapters work
The Korthveil system includes the Linux drivers for the common USB network chips:
| Chip family | Driver | Typical speed |
|---|---|---|
| Realtek RTL8152, RTL8153, RTL8156 | r8152 |
100 Mb/s, 1 Gb/s, 2.5 Gb/s |
| ASIX AX88179, AX88178, AX88772 | ax88179_178a, asix |
1 Gb/s, 100 Mb/s |
| Microchip LAN7800 series, SMSC LAN95xx | lan78xx, smsc95xx |
1 Gb/s, 100 Mb/s |
| Aquantia/Marvell AQC111, AQC112 | aqc111 |
2.5 Gb/s, 5 Gb/s |
| Standard USB network devices (CDC Ethernet, CDC NCM), many USB-C docks | cdc_ether, cdc_ncm |
depends on the device |
| USB bridge cables (Prolific and others) | plusb, cdc_subset |
USB 2.0 speed |
| Thunderbolt and USB4 networking between two computers | thunderbolt-net |
10 Gb/s and more |
Tested on Korthveil hardware: Realtek RTL8153 (USB-A, 1 Gb/s), two of them in a bond: see Tested with real adapters. For the other chips the table tells you which have a driver: look for the chip name in the adapter's description when you buy one.
Tips
- Use a USB 3 socket. A USB 2.0 socket carries about 300 Mb/s, even with a gigabit adapter. The interface card on Network › Interfaces, zones & routes shows the USB speed: USB 3.0, 5 Gb/s is right for a gigabit adapter; USB 2.0, 480 Mb/s means a slower socket.
- Plug the adapter straight into the firewall. Avoid hubs without their own power supply and long USB extension cables: they are the most common cause of an adapter that drops out.
- Keep the plug firm. A USB plug that is touched or pulled loses the link. Put the firewall where cables are not bumped, or use a short cable with a strain relief.
- One adapter per role. Each adapter has its own address (MAC); Korthveil binds the port to it. Two adapters of the same model each keep their own role.
- A dock is a USB device too. The Ethernet port of a USB-C dock works like an adapter, but the dock adds a point of failure; for a permanent port, a plain adapter is better.
How Korthveil keeps a USB port reliable
Same role in any socket. When a USB port gets a role, Korthveil binds it to the adapter's own MAC address. Plug the adapter into another USB socket, or restart the firewall, and the port has the same name, zone, addresses, and rules. You do not need to commit again.
If an adapter was set up before Korthveil 1.5.1, open Network › Interfaces, zones & routes: the Ports: WAN and LAN panel lists the USB ports and offers Keep … in its role in any USB socket. Press it and commit.

Never asleep. Linux may put idle USB devices to sleep to save power (USB autosuspend). For a network adapter that means short drop-outs. Korthveil keeps autosuspend off for every USB network adapter it knows: those that carry a role and those plugged in now.
When it is unplugged. The port's card shows Disconnected since … with the time. Its settings and firewall rules are kept. After 30 seconds without the adapter, the alert A USB network port that carries a role was unplugged or lost fires (Monitoring › Alerts; critical when the port is in a zone or leads to the internet). Plug the adapter in again, in any USB socket: the port takes its role back and the alert clears. A quick replug, under 30 seconds, raises no alert.


USB-to-USB links
A USB link connects two computers directly, for example the firewall and a server, without a switch:
- USB bridge cables have a small box in the middle of the cable. They run at USB 2.0 speed and are fine for a management link or a small lab.
- Thunderbolt and USB4 networking needs Thunderbolt or USB4 on both computers and a Thunderbolt or USB4 cable. Both computers see a network port, and the link is fast. On the firewall it shows as USB link (Thunderbolt/USB4).
Give the link addresses on both ends (static addresses are simplest) and a zone on the firewall, as for any port. Firewall rules apply to it like any other port, for IPv4 and IPv6.
USB-A, USB-C and bonds
Since Korthveil 1.5.8, USB adapters can join a bond (link aggregation) with each other and with built-in ports, and a wizard sets them up. Tested on simulated adapters and with two real USB-A adapters: see Tested with real adapters.
USB-A or USB-C: what counts is the speed
Linux sees USB, not the shape of the plug. What decides how fast an adapter can be is the speed the USB connection runs at:
| USB connection | Shown as | An adapter there carries about |
|---|---|---|
| USB 2.0 | USB 2.0, 480 Mb/s | 300 Mb/s, whatever the adapter |
| USB 3.0 / USB 3.2 Gen 1 | 5 Gb/s | 3.5 Gb/s: full speed for 1G and 2.5G adapters |
| USB 3.2 Gen 2 | 10 Gb/s | full speed for 5G adapters; less than full speed for a 10G adapter |
| USB 3.2 Gen 2x2 | 20 Gb/s | full speed for 10G adapters |
| USB4 or Thunderbolt | USB4/Thunderbolt | full speed |
The figures are what the USB connection leaves for the network after its own overhead, rounded. On a 10 or 20 Gb/s connection that is slower than its adapter, the card says so without a figure.
Each USB port's card on Network › Interfaces, zones & routes shows:
- the socket: USB-C when the PC's firmware links the USB port to a USB-C connector, USB4/Thunderbolt for Thunderbolt networking and for a network card behind a Thunderbolt or USB4 port (a Thunderbolt 10GbE adapter, a dock's port), and USB for everything else: USB-A, and USB-C sockets the firmware does not describe. Nothing depends on the plug's shape;
- the USB speed and the adapter's own top speed (from the speeds it supports, for example 2.5 Gb/s);
- a warning when the USB connection is slower than the adapter, with what to do. For example: This USB 2.0 connection carries about 300 Mb/s, less than the adapter's 1 Gb/s: plug it into a USB 3 socket, or This 5 Gb/s USB connection carries about 3.5 Gb/s, less than the adapter's 5 Gb/s: a 10 Gb/s USB port gives it its full speed.
A USB-C socket can be power only. Many budget mini PCs have a USB-C socket that is just the power input: an adapter there gets no network. Use the USB-A sockets (the budget layout below), or a PC whose USB-C ports carry data (the fast layout).
Two adapters on one USB controller share it. A PC has one or a few USB controllers, each with several sockets. The wizard says when two adapters are on the same controller: together they carry at most that controller's speed. A socket on another controller, if the PC has one, gives each its own.
The wizard: USB network ports and bonds
Open it from System › Wizards › USB network ports and bonds, or with USB ports and bonds next to Add bond under Network › Interfaces, zones & routes, Interface configuration.
| Step | What you do |
|---|---|
| 1. Plug in the adapters | Plug them in. Each is listed within a few seconds with its socket, USB speed, the adapter's speed, its warning, its chip and its MAC address, and the built-in ports are listed for a bond |
| 2. Roles | For each adapter: leave it as it is, give it a zone (internet, LAN, guest or another) with its IPv4 and IPv6 addresses, like a built-in port, or make it a member of a bond |
| 3. Bond | Tick the members (USB-A, USB-C and built-in ports), follow the recommended mode or choose the other, and let the bond take over a member's role or give it a zone |
| 4. Review and apply | The changes in words and in detail; Apply, then Keep these settings within 5 minutes, or the firewall goes back by itself |
| 5. Proof | The bond's active member and its speed, and each member's state |



Every adapter the wizard gives a role, or puts in a bond, is bound to its MAC, so it keeps its role and its place in the bond in any USB socket.
The primary member (active-backup) is the one that carries the traffic whenever it works. The wizard picks the fastest member; choose another in Primary member if you like. When you choose active-backup instead of a recommended LACP, the fastest member is the primary until you pick one.
The recommended mode comes from the members' speeds:
| Members | Recommended | Why |
|---|---|---|
| The same speed (two 2.5G adapters, or a 2.5G adapter and a built-in 2.5G port) | LACP (802.3ad) | The members carry traffic together. The switch needs a matching LAG on their ports (LACP, also called a port-channel); without one, choose active-backup |
| Different speeds (a 2.5G adapter and a built-in 1G port) | Active-backup, the fastest as primary | LACP can't combine different speeds. The primary carries the traffic; the other takes over when it is unplugged or loses its link |
| A gigabit adapter on USB 2.0 and a built-in 1G port | Active-backup, the built-in port as primary | Both link at 1 Gb/s, but the adapter carries only about 300 Mb/s |
| A port without a cable or link yet | Active-backup | Its speed is not known: connect the cables to compare |
Standard CDC Ethernet or CDC NCM devices (drivers cdc_ether, cdc_ncm; many USB-C docks), or a port whose link is not full duplex |
Active-backup, even at the same speed | They report no duplex, and Linux runs LACP only on full-duplex ports: in an LACP bond they stay out of the group and carry nothing with the others. The wizard says so on the adapter (No LACP: its driver reports no duplex), and if you choose LACP anyway it warns on the Bond step and in the review, before you apply: This adapter can't join an LACP group (its driver reports no duplex). Use active-backup, or an adapter with a Realtek RTL8153/RTL8156 chip. Realtek adapters (r8152) report full duplex and join LACP. (Korthveil 1.5.8 and 1.5.9 still recommended LACP for them.) |
LACP for members of different speeds is still offered, with a warning: only the members of one speed carry traffic.

Taking over a role. To turn your LAN port into a bond of the built-in port and a USB adapter, let the bond take over the role of the built-in port: the bond gets its addresses and zone, and every setting that names the port (DHCP, NAT, routes) names the bond. If your browser reaches the firewall through that port, the page can stop for a few seconds while the port joins the bond; confirm afterwards, or the safety rollback undoes the change by itself.
When a USB member is unplugged
- The bond keeps running on its other members. In active-backup mode, a built-in backup port takes over within a second.
- The adapter's card shows Disconnected since …, as for any USB port.
- Plugged in again, in any USB socket, the adapter rejoins the bond by itself, without a commit. In active-backup mode the primary takes the traffic back.
- After 30 seconds the alerts tell you what happened, and they clear by themselves when the adapter is back:
- bond0 runs on its backup port eno1 (1 Gb/s): an active-backup bond on a member other than its primary, with the cause (for example the primary port is unplugged);
- bond0 has 1 of 2 members: a bond with a member missing, with why. In an active-backup bond this is the backup member: the bond still carries the traffic, but with no backup (if enx… fails too, the bond carries nothing);
- the USB port's own alert, A USB network port that carries a role was unplugged or lost.

Each bond alert names the cause, and only one cause points at the cable:
| The member is | The alert says |
|---|---|
| Unplugged (a USB adapter) | unplugged (USB adapter …); it rejoins by itself when plugged in again, in any USB socket |
| Turned off in its settings (Enabled off) | turned off in its settings; it rejoins when it is turned on again |
| Switched off on the firewall, although its settings have it on | switched off on the firewall (administratively down), not by its cable; after 10 seconds the firewall switches it on again by itself |
| On, but without link | without link (check its cable and the switch port) |
| In an LACP bond, without duplex (a CDC Ethernet or NCM adapter) | its driver (cdc_ncm) reports no duplex … this adapter never joins one, whatever the switch does. Use active-backup, or an adapter with a Realtek RTL8153/RTL8156 chip |
| In an LACP bond, full duplex, but left out of the group | not in the LACP group (check that the switch's LAG, or port-channel, includes its port and runs LACP) |
The bond alerts are the check Bonds on their backup port, or with members missing, for more than 30 seconds under Monitoring › Alerts, Checks. They are warnings (the bond still carries the traffic), and critical when no member works.
The bond's card on Network › Interfaces, zones & routes shows the mode, how many members work, the member carrying the traffic, and each member with its kind (built in, USB, USB-C or USB4), its speed, its USB speed, its state (active, standing by, unplugged, turned off, switched off, no link, not in the LACP group), and, for USB members, rejoins automatically when plugged in again. A bond that runs on one member says no backup, with the line Runs on one port (…): if it fails, the bond carries nothing.


Removing a bond
Delete the bond under Network › Interfaces, zones & routes, Interface configuration (the bin icon on its row, then Delete), and commit. Its members become ordinary ports again, switched on, so you can give them a role or unplug them; a member you turned off stays off. The bond also leaves its zone (and its VRF): before 1.5.10 it stayed in the zone's list and the commit was refused (interface … is not configured). A zone that still lists an interface that is no longer configured shows it as missing, with Remove; saving the zone removes it.

Since 1.5.10 the firewall also cleans up after itself: every bond, VLAN, bridge, tunnel and loopback it creates carries a mark, and at start and on every commit it removes the ones the configuration no longer has, with nothing else touched (built-in ports, VPN and add-in tunnels, containers). The one leftover of earlier versions it recognises is a bond named like a port (the bond 1.5.8 could leave under a USB adapter's name, which kept the adapter from rejoining after a replug): it is removed, and the adapter gets its name back and rejoins its bond.
Two layouts
Budget: a small mini PC with one built-in port and USB-A sockets; its USB-C socket is a power input only. The built-in port goes to the internet, and two USB-A 2.5G adapters form the LAN bond to the switch (LACP with the switch's LAG, or active-backup). Or put one adapter in an active-backup bond with the built-in port and use the other for the internet.

Fast: a mini PC with two USB-C ports that carry data at 10 Gb/s. Two USB-C 5G adapters form the LAN bond to a multi-gigabit switch and run at their full speed; on 5 Gb/s ports they would carry about 3.5 Gb/s each, and the wizard warns.

Tested with real adapters
Tested on 2026-11-23 on a mini PC firewall running Korthveil 1.5.8 (the standby firewall of a failover pair): two USB-A adapters in an active-backup bond.
| Adapters | 2 × Realtek RTL8153, USB-A, 1 Gb/s (driver r8152) |
| USB | The blue USB 3 ports: USB 5 Gb/s, each adapter on its own USB controller |
| Bond | usbbond1, active-backup, zone LAN, a test address |
Use the blue USB 3 ports. A USB 2 port (often black) holds an adapter to about 300 Mb/s, even a gigabit one. On a USB 3 port the wizard and the port's card show 5 Gb/s as the USB speed.
The pictures are from that firewall. Its own addresses, names and MAC addresses are hidden; the two adapters are shown as USB adapter 1 (the primary) and USB adapter 2.
1. Plug in the adapters. Plug both into blue USB 3 ports and open System › Wizards › USB network ports and bonds. Within a few seconds step 1 lists them: socket USB, USB speed 5 Gb/s, adapter 1 Gb/s, the Realtek chip.

2. Roles. For each adapter choose A member of a bond (next step).
3. Bond. Tick both adapters. With the same speed the wizard recommends LACP (802.3ad), which needs a matching LAG on the switch; without one, choose Active-backup: it needs nothing on the switch. Give the bond a name, a zone, its primary member and its addresses (IPv4 and IPv6, or None).

4. Review and apply, then Keep these settings.
5. The proof. The bond carries the traffic on its primary; the other adapter stands by.

The bond's card on Network › Interfaces, zones & routes shows both members working, then, with the primary pulled out, the backup carrying the traffic, and Monitoring › Alerts says so:



Measured on this firewall:
| What | Result |
|---|---|
| The primary adapter pulled out | Traffic on the backup within about 3–5 seconds |
| The primary turned off in the settings | Traffic on the backup within 1 second |
| The alert usbbond1 runs on its backup port … (1 Gb/s) | After 41 seconds |
| The backup adapter pulled out and plugged in again | Back in the bond after about 6 seconds, with the same name |
In 1.5.8 a replugged primary adapter did not rejoin the bond by itself (it came back under another name); fixed in the next release. A replugged backup adapter rejoins.
How fast: active-backup gives 1 Gb/s, with the backup taking over by itself (measured above). LACP uses both adapters together, up to 2 Gb/s in total, with a matching LAG on the switch (not measured here). 2.5G USB adapters (for example Realtek RTL8156) on USB 3 ports run at 2.5 Gb/s each (not tested here).
LACP: both adapters at once
Active-backup uses one adapter at a time. LACP (802.3ad) uses both together:
- the two adapters become one link (a bond), and both carry traffic at the same time;
- together they carry up to the sum of both, spread across many connections;
- one connection always uses one adapter, so a single download never goes faster than one adapter;
- both ends must speak LACP: the firewall and the switch. If a cable is pulled out, the other adapter carries everything.
Which USB adapters can join LACP. LACP needs members that report full duplex. Realtek adapters (RTL8153, RTL8156, driver r8152) report it, for example 1 Gb/s full duplex. Standard CDC Ethernet and CDC NCM devices (drivers cdc_ether, cdc_ncm; many USB-C docks) report no duplex, and Linux never puts them in an LACP group: use active-backup for those. The wizard recommends active-backup for them and warns before you apply an LACP bond with one; an LACP bond that has one anyway says on its card not in the LACP group (no duplex: use active-backup), and its alert names the driver instead of the switch.
The pictures below are from a test firewall running Korthveil 1.5.8 where two virtual ports, lan1 and lan2 (1 Gb/s, full duplex, like a Realtek adapter), stand in for two USB adapters, and a Linux LACP bond stands in for the switch. Names and addresses are examples. A video shows the same steps: Both ports at once: an LACP bond.
1. On your switch
The menus differ by maker; look for link aggregation, also called LAG, trunk or port-channel:
| Setting | Example |
|---|---|
| Link aggregation group | Group 1 |
| Ports | The two ports the firewall's adapters plug into, for example 5 and 6 |
| Mode | LACP: active (also called dynamic), not static |
| VLANs | The same VLAN membership on both ports |
| Then | Apply, and save to the startup configuration |
Plug both cables in after the LAG exists, or expect a short loop-protection block on the switch.

2. On the firewall
With USB adapters, use the wizard System › Wizards › USB network ports and bonds: in step 3 tick both adapters and choose LACP (802.3ad). Or make the bond by hand under Network › Interfaces, zones & routes, Interface configuration, Add bond:
| Field | Choose |
|---|---|
| Mode | 802.3ad LACP |
| LACP rate | Fast (every second): a port that stops answering leaves the group within about 3 seconds |
| Load balancing hash | Addresses and ports (layer 3+4): each connection stays on one port, many connections spread over both |
| Members | The two adapters |
| IPv4, IPv6 | The bond's addresses (the members have none of their own) |
Then put the bond in its zone (Zones, edit the zone, tick the bond), Review and commit, and press Keep these settings.

3. The proof
The bond's card on Network › Interfaces, zones & routes shows LACP (802.3ad) · 2 of 2 members working, both members active: they are in one LACP group with the switch. With several downloads running, each member's card shows traffic going out (its upload line).


A cable pulled out. The bond keeps running on the other member (1 of 2 members working · on one port, the other no link), and the downloads go on. After the bond has run on fewer members for more than 30 seconds, Monitoring › Alerts shows bond0 has 1 of 2 members with the cause (in the test: lan2 is without link (check its cable and the switch port)); alerts are checked every minute. With the cable back in, the member rejoins the LACP group by itself, without a commit (in the test within about 5 seconds), and the traffic spreads over both again. The alert closes by itself 15 minutes after the bond last ran short, as all alerts do.
How fast
| Adapters | In total, across many connections | One connection |
|---|---|---|
| Two 1 Gb/s adapters (RTL8153) | up to 2 Gb/s | 1 Gb/s |
| Two 2.5 Gb/s adapters (RTL8156) on USB 3 ports | up to 5 Gb/s | 2.5 Gb/s |
| An adapter on a USB 2 port | about 300 Mb/s for that adapter |
These are the adapters' and the USB ports' limits, not measured here: the test's downloads were held to a test rate.
Questions
The adapter does not appear. Check that it is listed on Network › Interfaces, zones & routes a few seconds after plugging it in. If not: try another USB socket and another cable, and check that the adapter's chip is in the table above.
The port shows a different name than before. Ports set up with Korthveil 1.5.1 and later keep their name. A few adapters show a new MAC address every time they are plugged in; Korthveil cannot bind those, so they keep working under the name the system gives them. Choose an adapter with a fixed MAC for a permanent port.
Can I use a USB adapter for the main internet line? Yes. For a home connection up to about 1 Gb/s with a USB 3 adapter, it works. On a busy business network, use a built-in port for the main WAN and LAN.
Does a USB port support IPv6? Yes. A USB port handles IPv4 and IPv6 like any other port, alone or in a bond.
Can I bond a USB adapter with a built-in port? Yes. With different speeds, use active-backup with the faster port as the primary; the wizard recommends it. When the USB adapter is unplugged, the built-in port carries the traffic, and the adapter rejoins by itself when it is plugged in again.
Why does my USB-C adapter show as USB, not USB-C? Korthveil shows USB-C only when the PC's firmware says which USB port belongs to which USB-C socket; many PCs don't. It makes no difference to the speed or the bond: the USB speed on the card is what counts.