Hello,
after much ado I have a router running with three wireless networks, one private, one vipguests and one guests. But I fail at the last step, blocking anything but internet access and hotspot login for the two guest networks. So far the guests seems to be unable to reach the private subnet, but they still can see the webfig of the router. I'd rather be sure that all but internet is dropped. I have locked myself out with final drop all-rules twice now and would appreciate some help!
Here's what I have so far:
/ip firewall address-list
add address=172.20.3.0/24 list=vipguests
add address=192.168.45.0/24 list=guests
add address=10.23.5.0/24 list=private
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add action=drop chain=forward dst-address-list=private src-address-list=landsort
add action=drop chain=forward dst-address-list=private src-address-list=utklippan
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=established
add chain=input comment="default configuration" connection-state=related
add action=drop chain=input comment="default configuration" in-interface=ether1-gateway
add chain=forward comment="default configuration" connection-state=established
add chain=forward comment="default configuration" connection-state=related
add action=drop chain=forward comment="default configuration" connection-state=invalid
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" disabled=yes
add action=masquerade chain=srcnat comment="default configuration" out-interface=ether1-gateway
add action=masquerade chain=srcnat comment="masquerade hotspot network" src-address=172.20.3.0/24
add action=masquerade chain=srcnat comment="masquerade hotspot network" src-address=192.168.45.0/24