A guest Wi-Fi network lets visitors use the internet without touching your computers, NAS or smart devices. On a MikroTik router, the idea is simple: put guests in their own network, give them internet access, and block everything that leads into your main LAN. This guide shows how to build it with a separate bridge, its own DHCP server and a few firewall rules.
How the setup works
- A second bridge (
bridge-guest) with its own subnet, for example192.168.50.0/24. - A second Wi-Fi network (SSID) connected to that bridge.
- A DHCP server on the guest bridge, so devices get addresses automatically.
- Firewall rules that allow guests to reach the internet and the router’s DHCP and DNS, and nothing else.
The addresses and names are examples. Back up the configuration and use Safe Mode before you change the firewall.
Step 1: Create the guest network
/interface bridge
add name=bridge-guest
/ip address
add address=192.168.50.1/24 interface=bridge-guest
/ip pool
add name=pool-guest ranges=192.168.50.100-192.168.50.200
/ip dhcp-server
add name=dhcp-guest interface=bridge-guest address-pool=pool-guest disabled=no
/ip dhcp-server network
add address=192.168.50.0/24 gateway=192.168.50.1 dns-server=192.168.50.1
Guests get addresses from 192.168.50.100 to 192.168.50.200, and use the router as gateway and DNS server. For the router to answer DNS queries from guests, DNS must be enabled with /ip dns set allow-remote-requests=yes.
Step 2: Put the guest bridge in its own interface list
/interface list
add name=GUEST
/interface list member
add list=GUEST interface=bridge-guest
Do not add the guest bridge to the LAN list. The LAN list usually has full access to the router in your firewall, and guests must not have that.
Step 3: Create the guest Wi-Fi network
Create a second SSID (a virtual access point) on your wireless interface, with its own name and password, and attach it to bridge-guest. The exact steps differ depending on the wireless package your device uses: the older wireless package or the newer wifi package. Use WinBox or WebFig if you are not sure of the syntax:
- Open the wireless menu and add a new virtual interface based on your main radio.
- Give it a different SSID, for example “MyNetwork-Guest”.
- Set a separate passphrase, with WPA2 or WPA3 security.
- Make sure the new wireless interface is a port of
bridge-guest, or set the bridge in the interface’s datapath settings, depending on your package. - If available, enable client isolation, so guests cannot see each other.
Step 4: Firewall rules
Guests need to reach the router for DHCP and DNS. Without these rules, the “drop everything not from LAN” rule blocks them:
/ip firewall filter
add chain=input action=accept in-interface=bridge-guest protocol=udp dst-port=67 comment="guest DHCP" \
place-before=[find where comment="drop everything not from LAN"]
add chain=input action=accept in-interface=bridge-guest protocol=udp dst-port=53 comment="guest DNS (udp)" \
place-before=[find where comment="drop everything not from LAN"]
add chain=input action=accept in-interface=bridge-guest protocol=tcp dst-port=53 comment="guest DNS (tcp)" \
place-before=[find where comment="drop everything not from LAN"]
Next, stop guests from reaching anything except the internet:
add chain=forward action=drop in-interface=bridge-guest out-interface-list=!WAN \
comment="guests: internet only" \
place-before=[find where comment="drop new connections from WAN that are not port forwards"]
If the comments in your rules differ, change them in the commands. The key points: the input accept rules go above the input drop rule, and the forward drop rule goes near the top of the forward chain.
Step 5: NAT
If you already have a masquerade rule for out-interface-list=WAN, as in our baseline firewall, guest traffic is covered automatically. No extra rule is needed.
Test it
- Connect a phone to the guest Wi-Fi. It should get an address like
192.168.50.x. - Open a website. The internet should work.
- Try to ping or open a device in your main LAN. It should fail.
- Try to open the router’s WinBox or web page from the guest network. It should fail.
- With two guest devices connected, check that they cannot reach each other if you enabled client isolation.
Extra options
- Limit guest bandwidth with a simple queue for
192.168.50.0/24, so guests cannot use all your internet capacity. - Change the guest password regularly, or use a different one for each event.
- Use VLANs instead of a separate bridge if you have managed switches and want the guest network on more than one device.
Common mistakes
- Putting the guest bridge in the LAN interface list, which gives guests access to the router.
- Forgetting the DHCP and DNS input rules, so guests connect but get no address or cannot resolve names.
- Placing the new rules below the drop rules, where they never match.
- Skipping IPv6. If IPv6 is enabled on your router, guests need IPv6 firewall rules too.
- Not testing from a guest device.
Checklist
- Guest bridge, address, pool and DHCP server created.
- Guest bridge is in its own interface list, not in LAN.
- Guest SSID has its own password and is attached to the guest bridge.
- Input rules allow DHCP and DNS from guests, above the drop rule.
- Forward rule allows guests only to the internet.
- Tested from a guest device: internet works, LAN and router are blocked.

