# GL mt6000: mDNS and IOT isolated wifi

**URL:** <https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180>\
**Category:** VPN, DNS, Leaks\
**Created:** [December 15, 2023, 10:21am UTC](https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180 "2023-12-15T10:21:02Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![FabianM](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/f/c4cdca/32.png) [@FabianM](https://forum.gl-inet.com/u/FabianM)\
**Post date:** [December 15, 2023, 10:21am UTC](https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180/1 "2023-12-15T10:21:02Z")

</div>

HI,

Just got my GL mt6000, and I am in the process of setting it up for my home. I have 2 questions:

1. Can I use the Guest network, for my IOT devices? I still not very familiar with Luci. Therefore, I figured, it would be easier to configure the Guest network to create a secure network for IOT devices.

1.1 According to the list below, how do I set up the router to create the separate networks for normal and IOT devices (VLANS ?).  
1.2 How do I bridge them together? And what configuration types are there to consider?  
1.3 I used Cloudflare for exposing my home assistant to the outside world, should I instead use a application already present on the GL mt6000 for doing so?  
What I have and want:

On the GL mt6000:

- LAN 1: Managed switch for PC’s printer etc,
- LAN 2: Truenas Server
- LAN 4: Hue bridge connected to GL mt6000
- LAN 5: home assistant running on a Pi, connected to the GL mt6000
- Wi-Fi: normal devices.
- IOT-Wi-Fi: Multiple esphome devices, all connected to home assistant
- IOT-Wi-Fi: some Shelly devices connected over.

1. Homeassistant and ESPHome devices are using mDNS for discovery, this leads to some problems, since some of them are not discovered anymore by Homeassistant. Has anyone has some experience with it and could give me some advice on how to tackle this? I looked into the openWRT ZeroConf (umdns, Avahi), but this also seems to be a bit involved.

Thank you in advance,  
Best  
Fabian

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [December 16, 2023, 7:24am UTC](https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180/2 "2023-12-16T07:24:02Z")

</div>

_Geezus;_ there's a lot going on in this post given all the other devices you've got going on. Here's what I'm going to suggest: you're going to find yourself wanting to get into LuCI & SSH sooner than later. Before doing so to do more advanced setups (eg: IoT VLANs &/or bridging VLANs), make sure you have a backup(s) to fall back on if things go awry. Here's a HOW-TO:

> [@HOW-TO: Script: List My OPKGs (to a file for backup)](https://forum.gl-inet.com/t/how-to-script-list-my-opkgs-to-a-file-for-backup/30963):
>
> Keywords: backup, opkg, plugins, list, howto, script, shell, luci, restore, ipk, tarball, conf Description List user’s (your) installed packages, writing them to a text file that can be used to reinstall the binaries of what a user manually installed. The resulting .list file will be use to opkg install to pull from the feeds. That is done with two commands in one execution. The GL GUI doesn’t feature a backup function. Creating & restoring a backup achieve (.tar.gz, aka tarball) of all your…

You're already running the latest release, OpenWrt 23.05. From there, feel free to consult the OpenWrt Wiki, maybe their forums, if you don't find what you need in the GL docs.

[https://docs.gl-inet.com/router/en/4/user\_guide/gl-mt6000/#first-time-setup](https://docs.gl-inet.com/router/en/4/user_guide/gl-mt6000/#first-time-setup)

... but I don't see a reason why not to use the Guest subnet for IoT if you know you won't be having any guests use it.

(You might want to map/diagram your current network vs your ideal network setup; see [draw.io](http://draw.io))

> **[Flowchart Maker & Online Diagram Software](https://app.diagrams.net/)**
>
> draw.io is free online diagram software for making flowcharts, process diagrams, org charts, UML, ER and network diagrams

---

<div class="post-metadata">

**Author:** ![xize11](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/xize11/32/5340_2.png) [@xize11](https://forum.gl-inet.com/u/xize11)\
**Post date:** [December 16, 2023, 8:21am UTC](https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180/3 "2023-12-16T08:21:30Z")

</div>

Not wanting to be harsh to op, but if you are a beginner i would suggest first to make seperated networks first per port just to get a bit familar with luci and DSA.

i mean iot can be easily added into a guest network for now maybe after some time you can add vlan topology and more complexity to your network 😄

Note since i read op is very familar with GL UI, thats fine but the chances are also there you break support for gl ui once you go beyond gls ui options.

I think for more advanced i can recommend a YouTube channel [https://youtube.com/@OneMarcFifty?si=LG4sTR8eVJ3NKPUb](https://youtube.com/@OneMarcFifty?si=LG4sTR8eVJ3NKPUb)

He covers alot of DSA based videos but also wifi and isolation videos 👍, but i think best is to start with a really simple setup first.

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [December 16, 2023, 8:30am UTC](https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180/4 "2023-12-16T08:30:45Z")

</div>

… & backups. _Lots_ of backups!

Keep a log too, @FabianM . Both baled my ass out of a few muck ups on more than one occasion.

---

<div class="post-metadata">

**Author:** ![FabianM](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/f/c4cdca/32.png) [@FabianM](https://forum.gl-inet.com/u/FabianM)\
**Post date:** [December 16, 2023, 5:03pm UTC](https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180/5 "2023-12-16T17:03:00Z")

</div>

Hi,  
[EDIT] regarding backups and using openWRT: I am familiar with linux and fine with using the CLI. The problem I have is, that I don’t know most commands and nomenclature, and therefore this might lead to simple copy past errors in the config files since I still have a hard time reading them.

thank you for the replies, good tip for using the guest network for my IOT.  
I found the Videos from OneMarcFifty yesterday, Pretty good channel, I will check it out.

What kind of changes should I make to allow devices (PC, smartphone) to access HA(homeassistant) when using the Guest network for my IOT stuff?  
Ether I have the Pi running HA in the regular network but then I have to expose it to the guest network, or I reserve one LAN Port for the guest WiFi and I then need a good option to access HA with my phone.  
I think I could still use my cloudflare tunnel to access the HA server, that might be the easier option and I have good Isolation between the Networks. I am not sure if I need a VLAN to have a LAN port in the guest network…?

Or just use my spare router (mikrotik hapAX3) just for the IOT stuff, this would leave the FLINT2 clean. good choice ?

Best

---

<div class="post-metadata">

**Author:** ![xize11](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/xize11/32/5340_2.png) [@xize11](https://forum.gl-inet.com/u/xize11)\
**Post date:** [December 16, 2023, 11:16pm UTC](https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180/6 "2023-12-16T23:16:44Z")

</div>

> [@FabianM](#):
>
> What kind of changes should I make to allow devices (PC, smartphone) to access HA(homeassistant) when using the Guest network for my IOT stuff?

Assuming you have a topology like:

iot/guest interface → wan  
lan → wan

Where lan shares wifi and iot shares a other wifi network or use ethernet seperated from lan.

Then you can do two things either forward the firewall zones:

for lan you forward to zone iot or guest.

Or a better approach this is how i would do it:

create a traffic rule, src lan, dest iot/guest, and then the dest ip of your HA.

The zones can be found in luci, luci → network tab → firewall, and the traffic rules are there aswell in a tab.

> [@FabianM](#):
>
> regarding backups and using openWRT: I am familiar with linux and fine with using the CLI. The problem I have is, that I don’t know most commands and nomenclature, and therefore this might lead to simple copy past errors in the config files since I still have a hard time reading them.

Most of the commands should be vim, opkg as replacement for apt, and if you want to be more advanced [uci](https://openwrt.org/docs/guide-user/base-system/uci) for the configuration, but you can also edit them in `/etc/config` and with winscp you can access everything similar like ftp 👍, normally for a backup we do that in luci its in the system tab, but these backups can also be opened as zip file, to move configs one at a time aswell.

---

<div class="post-metadata">

**Author:** ![bring.fringe18](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bring.fringe18/32/11777_2.png) [@bring.fringe18](https://forum.gl-inet.com/u/bring.fringe18)\
**Post date:** [December 17, 2023, 1:02pm UTC](https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180/7 "2023-12-17T13:02:20Z")

</div>

> [@FabianM](#):
>
> and therefore this might lead to simple copy past errors in the config files since I still have a hard time reading them.

Which is why my protocol is to take a backup _before_ I make any changes & _after_ I’m confident those settings are working. Restoring a backup is just a matter of uploading a small archive file & rebooting. It should be less than 1 min ‘downtime’ in your case.

> [@FabianM](#):
>
> […] I don’t know most commands and nomenclature […]

LuCI is just a front end to `uci` which itself is a front end to editing .conf. It’s rare I use uci when I can just fire up vi(m).

> [@FabianM](#):
>
> Or just use my spare router (mikrotik hapAX3) just for the IOT stuff, this would leave the FLINT2 clean. good choice ?

That’s is what I’d do. Wholly isolate the IOT behind its own subnet. Make the Flint 2 your ‘main router’. You can always create custom routes at a later time.

… but really, you should see that HOW-TO & whip up some diagrams. You’re going to need to break up your goals into more digestible chunks.

---

<div class="post-metadata">

**Author:** ![FabianM](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/f/c4cdca/32.png) [@FabianM](https://forum.gl-inet.com/u/FabianM)\
**Post date:** [December 18, 2023, 7:16am UTC](https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180/8 "2023-12-18T07:16:59Z")

</div>

@xize11 @bring.fringe18 You are right, first I should make a topology. While I am reading and watching guides and tutorials, I start to see how valuable it is, to understand what I want.

I am having a easier time just using the CLI and Vim, anyway… guess I just have to learn some basics for interacting with openwrt and the config files.

> [@bring.fringe18](#):
>
> That’s is what I’d do. Wholly isolate the IOT behind its own subnet. Make the Flint 2 your ‘main router’. You can always create custom routes at a later time.
> 
> … but really, you should see that HOW-TO & whip up some diagrams. You’re going to need to break up your goals into more digestible chunks.

TY for your help, For now I will follow your advice and make smaller steps :). ill be back when I have done my homework!

---

<div class="post-metadata">

**Author:** ![cannondale](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/c/a5b964/32.png) [@cannondale](https://forum.gl-inet.com/u/cannondale)\
**Post date:** [July 10, 2024, 2:28pm UTC](https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180/9 "2024-07-10T14:28:48Z")

</div>

@FabianM Were you able to figure out how to enable discovery (mDNS) from LAN to the guest network for your IoT devices, as per the question in your original post? I am facing the same issue of having IoT devices on my guest network that cannot be discovered from HomeAssistant. This applies to my HomeKit compatible devices for example.

I already adjusted my firewall settings to allow forwarding from LAN to Guest, but discovery doesn't work across those different subnets still.

There's [this](https://openwrt.org/docs/guide-developer/mdns), but I don't want to mess up my configuration without seeing if anyone else has experience with it.

---

<div class="post-metadata">

**Author:** ![FabianM](https://forum-assets.gl-inet.com/letter_avatar_proxy/v4/letter/f/c4cdca/32.png) [@FabianM](https://forum.gl-inet.com/u/FabianM)\
**Post date:** [July 10, 2024, 4:06pm UTC](https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180/10 "2024-07-10T16:06:29Z")

</div>

In the end my solution was to use stock openwrt.  
I configured a separate iot wifi with its own firewall rules and added mdns there.  
Having a separate interface with its own IP range helps for testing, since you can attach it to different firewalls or APs, since all iot devices will in the same wifi and won't get confused.

Luci might not be as pretty as the gl inet interface but in the end it was easier that way.

Best

---

<div class="post-metadata">

**Author:** ![bruce](https://forum-assets.gl-inet.com/user_avatar/forum.gl-inet.com/bruce/32/35649_2.png) [@bruce](https://forum.gl-inet.com/u/bruce)\
**Post date:** [October 29, 2025, 11:40am UTC](https://forum.gl-inet.com/t/gl-mt6000-mdns-and-iot-isolated-wifi/36180/11 "2025-10-29T11:40:13Z")

</div>


