(New to Asuswrt, Merlin, and router hacking in general, so struggling to get up to speed with all the tools here... could use some extra help please)
My goal is to have a reasonably secure VLAN for my IoT devices, but still be able to interact with them through devices like my phone connected on the main LAN.
I setup YazFi to create a VLAN for my IoT devices. I want One-Way-to-Guest for this VLAN because the whole point is to isolate sketchy devices on my network. With One-Way, the devices aren't discoverable in my phone apps (my phone is on the main LAN) -- the control apps think the devices are offline. I can ping the devices from the main LAN, so it does seem like One-Way lets me connect to them, as promised. I can make them discoverable like normal with Two-Way, but Two-Way breaks the isolation so why even have a VLAN at that point.
So I think I'm trying to figure out how to setup the YazFi guest VLAN to be One-Way-ish -- the sketchy IoT devices can't initiate a connection out of the VLAN, but they can still broadcast their presence so my phone apps know they exist and can send commands into them.
I understand this gets deep into "well, every devices is different so different protocols, ymmv, etc etc". And yes, but it seems like Bonjour and Matter devices rely on mDNS, and from what I've been able to gather, getting mDNS to work will make a bunch of devices work, so lets limit ourselves to that lowest common denominator. It's also the only thread I've got -- I don't know how "discoverability" is implemented in this world, so if I should be looking at something else, someone please let me know
Still new to mDNS, but sounds like main limitation is it doesn't go across subnets. However, Merlin ships with something called Avahi that rebroadcasts mDNS if you set a
Since my IoT devices are discoverable when I set the YazFi Two-Way-to-Guest option, it seems like YazFi is enabling this setting on some configurations (ie Two-Way-to-Guest), but not on One-Way-to-Guest networks.
So, I thiiiiink in order to make my devices discoverable, I need to turn on Avahi's reflector for my IoT VLAN even though YazFi turns it off with the One-Way configuration? Does anyone know what the best way of doing this is, or if my story of how YazFi interacts with Avahi is even correct? Or do I need to create some firewall rules to get my goal? Or is one-way-but-with-discoverability simply a hopeless goal?
Stack:
- RT-AX88U Pro as Wireless Router
- Merlin 3004.388.4
- YazFi 4.4.4
My goal is to have a reasonably secure VLAN for my IoT devices, but still be able to interact with them through devices like my phone connected on the main LAN.
I setup YazFi to create a VLAN for my IoT devices. I want One-Way-to-Guest for this VLAN because the whole point is to isolate sketchy devices on my network. With One-Way, the devices aren't discoverable in my phone apps (my phone is on the main LAN) -- the control apps think the devices are offline. I can ping the devices from the main LAN, so it does seem like One-Way lets me connect to them, as promised. I can make them discoverable like normal with Two-Way, but Two-Way breaks the isolation so why even have a VLAN at that point.
So I think I'm trying to figure out how to setup the YazFi guest VLAN to be One-Way-ish -- the sketchy IoT devices can't initiate a connection out of the VLAN, but they can still broadcast their presence so my phone apps know they exist and can send commands into them.
I understand this gets deep into "well, every devices is different so different protocols, ymmv, etc etc". And yes, but it seems like Bonjour and Matter devices rely on mDNS, and from what I've been able to gather, getting mDNS to work will make a bunch of devices work, so lets limit ourselves to that lowest common denominator. It's also the only thread I've got -- I don't know how "discoverability" is implemented in this world, so if I should be looking at something else, someone please let me know

Still new to mDNS, but sounds like main limitation is it doesn't go across subnets. However, Merlin ships with something called Avahi that rebroadcasts mDNS if you set a
enable-reflector=yes
configuration property. It seems that YazFi adds a /jffs/scripts/avahi-daemon.postconf
file with contents including:
Code:
echo "[reflector]" >> "$1" # YazFi
echo "enable-reflector=yes" >> "$1" # YazFi
Since my IoT devices are discoverable when I set the YazFi Two-Way-to-Guest option, it seems like YazFi is enabling this setting on some configurations (ie Two-Way-to-Guest), but not on One-Way-to-Guest networks.
So, I thiiiiink in order to make my devices discoverable, I need to turn on Avahi's reflector for my IoT VLAN even though YazFi turns it off with the One-Way configuration? Does anyone know what the best way of doing this is, or if my story of how YazFi interacts with Avahi is even correct? Or do I need to create some firewall rules to get my goal? Or is one-way-but-with-discoverability simply a hopeless goal?
Stack:
- RT-AX88U Pro as Wireless Router
- Merlin 3004.388.4
- YazFi 4.4.4
Last edited: