參考 https://wiki.openwrt.org/doc/recipes/guest-wlan-webinterfaceweb
1. 在2.4GHz Wireless Controller下, 建立訪客WiFi網絡
在編輯界面中, Channel選擇與現有網絡不一樣編號,Advanced Settings都保持默認less
ESSID設置一個易於辨認的名稱, 例如OpenWrt-Guest, Mode選擇Access Point, Network選擇create, 填入guest, Wireless Security先不用設置router
Save & Applyip
2. 設置Network中新增的 GUEST interfaceci
Protocol選擇Static address, 點擊switch protocol, 填入與當前子網不一樣的網段IP, 例如192.168.1.1, mask 255.255.255.0get
Firewall Settings 選擇create, 填入 guestinput
啓用dhcpit
Save & Applyio
3. 設置Firewall, 點擊guest對應的edit
Input設置爲reject, Covered networks只選guest, Inter-Zone Forwarding中, 僅勾選Allow forward to destination zones的 wan部分
Save & Apply
4. 設置Firewall -> Traffic Rules
Open ports on router
添加 Name: Allow-Guest-DNS, Protocol:TCP+UDP, External port:53
添加 Name: Allow-Guest-DHCP, Protocol:UDP, External port:67-68
再分別編輯這兩個rule, 將Source zone改成guest, Destination zone改成Device(input)
Save & Apply