Hi, I’m Mikrotik newbie and I need advice. I have Mikrotik router managing my local network (both wired and wireless). I would like to create separated wireless network (similar to guest network) but with manually specified allowed connections from LAN.
Motivation is that in restricted networks are devices that I don’t trust but I need to access them from the PC at specific IP and specific port.
What is the simplest way how to achieve this configuration? I was originally thinking about firewall rules inside LAN but they don’t seem to work.
Typically we use vlans to separate subnets. This takes care of clear separation at layer 2 and we use firewall rules to separate at layer 3 ( prevent router from routing between subnets since it knows they exist and where they exist).
Also its quite normal for vlan to share a printer that is on a guest or trusted network.
So if you wish to allow ONE pc in a trusted network to reach a bunch of devices in other subnet you have many options, depending upon how anal one is .
Simple add chain=forward action=accept in-interface=VLANX srcr-address=ONEPC dst-address=subnetwithDevices
one pc has full access to an untrusted network.
add chain=forward action=accept in-interface=VLANX src-address=ONEPC dst-address-list=Devices
one pc has access to a list of devices on an untrusted network
add chain=forward action=accept in-interface=VLANX src-address=ONEPC dst-address-list=Devices dst-port=XXXXX
one pc has access to a specific port to a list of devices on an untrusted network. /ip firewall address-list
add address=device1 list=Devices
add address=device2 list=Devices
add address=devicen list=Devices etc…
I created guest network using Quick Set. I guess approach suggested by you will not work as Quick Set doesn’t use VLAN approach for defining guest networks. Am I right?
So should I remove guest wifi and define it manually using VLAN and then use ip/firewall rules?
I tried to use Bridge/Filter to forward traffic from IP to IP but with no luck.
I’m also attaching my configuration as it may help you to understand my configuration (mostly created by Quick Set).