Skip to content

Ethernet WAN + Wi-Fi LAN

Scenario: port1 (Ethernet) connects to the Internet; the on-board Wi-Fi becomes an access point for the LAN.

sudo ./install.sh --preset wifi-lan

After the reboot:

  1. Network → Interfaces → wifi1: set the SSID, a strong passphrase, the country code (mandatory for regulatory rules), band and channel. Security WPA2 is the most compatible with the Raspberry Pi on-board chip; try WPA2/WPA3 if your clients support it.
  2. Enable the interface and commit.
  3. Clients get addresses from the DHCP pool (192.168.10.100–200 by default) and resolve through fr0ntier DNS with filtering.

Bridge Wi-Fi with an Ethernet LAN

To have one LAN shared between a second Ethernet port and Wi-Fi:

  1. Set port2 and wifi1 to addressing none.
  2. Create an interface of type bridge (br0) with members port2, wifi1, static address 192.168.10.1/24 and role LAN.
  3. Move the DHCP server to br0 and update the LAN zone.

hostapd attaches the Wi-Fi interface to the bridge itself.

The opposite: Wi-Fi as WAN

Set wifi1 to mode client with the SSID/passphrase of the upstream network, addressing DHCP and role WAN; use Ethernet as LAN.