Ethernet WAN + Wi-Fi LAN¶
Scenario: port1 (Ethernet) connects to the Internet; the on-board Wi-Fi becomes
an access point for the LAN.
After the reboot:
- 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.
- Enable the interface and commit.
- Clients get addresses from the DHCP pool (
192.168.10.100–200by 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:
- Set
port2andwifi1to addressing none. - Create an interface of type bridge (
br0) with membersport2,wifi1, static address192.168.10.1/24and role LAN. - Move the DHCP server to
br0and update theLANzone.
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.