Guest wifi configuration
A simple way to add a guest wifi with different name and password which would not have access to LAN
uci should look like this
/etc/config/wireless
config wifi-device 'radio0'
option type 'mac80211'
option path 'ffe09000.pcie/pci0001:02/0001:02:00.0/0001:03:00.0'
option htmode 'HT20'
option country 'CZ'
option hwmode '11g'
option txpower '18'
option channel 'auto'
config wifi-iface
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'lanskroun'
option encryption 'psk2+tkip+aes'
option key 'X'
config wifi-iface
option device 'radio0'
option mode 'ap'
option ssid 'lanskroun-guest'
option encryption 'psk2+tkip+aes'
option key 'guestguest'
option disabled '0'
option network 'guest_turris'
option ifname 'guest_turris'
option isolate 1
/ect/config/network
config interface 'guest_turris'
option proto 'static'
option ipaddr '192.168.223.1'
option netmask '255.255.255.0'
/etc/config/dhcp
config dhcp 'guest_turris'
option interface 'guest_turris'
option start '100'
option limit '150'
option leasetime '1h'
option ignore '0'
list dhcp_option '6,192.168.223.1'
/etc/config/firewall
config zone 'guest_turris'
option name 'guest_turris'
option input 'REJECT'
option forward 'REJECT'
option output 'ACCEPT'
list network 'guest_turris'
config forwarding 'guest_turris_forward_wan'
option src 'guest_turris'
option dest 'wan'
config rule 'guest_turris_dns_rule'
option name 'guest dns rule'
option src 'guest_turris'
option dest_port '53'
option proto 'tcpudp'
option target 'ACCEPT'
config rule 'guest_turris_dhcp_rule'
option name 'guest dhcp rule'
option src 'guest_turris'
option src_port '67-68'
option dest_port '67-68'
option proto 'udp'
option target 'ACCEPT'