Hi, I recently got a Flint 2 router, and I wanted to put it behind an OPNsense router to use it as a dumb WAP. Furthermore, I wanted to divide my network as follows:
Step 1: Wireless access point for trusted devices and all Ethernet ports for trusted devices
Step 2: Wireless access point for untrusted devices and one Ethernet port for untrusted devices
Since I want my OPNsense router to manage everything, I thought I would need to use VLANs.
Step 1 worked, but Step 2 failed. When trying to connect my smartphone to the untrusted devices network, it never received an IP address via DHCP. I have already tried a lot of tutorials, talked for hours with AI, and followed forum posts, but nothing seemed to work for me. I unfortunately couldn't find a post covering this exact setup for my devices:
Devices:
OPNsense router: Version 26.7.1_1
Flint 2 router: Default GL.iNet firmware (v4.9.1)
Here is my Setup:
On the OPNsense Router:
-
Create a new VLAN
vlan02[testvlan]with VLAN tag 20 (under Intefaces -> Devices -> VLAN)

-
Create a new assignment (under Interfaces -> Assignment):

-
Enable the new
[testvlan]interface and set the static IPv4 address to172.16.20.1(my LAN is172.16.7.1, so I am keeping it consistent). -
Add DHCP for my new VLAN 20:
Services -> DNSmasq DNS & DHCP -> General -> Interface: added testvlan
Services -> DNSmasq DNS & DHCP -> DHCP ranges: see picture:
- Add firewall allow rules (since this is just a test, the rules allow everything):
On the Flint 2:
Network -> Network Mode:I selected Access Point.
On the OPNsense Router (last time doing something there):
- Get the MAC address of the Flint 2 and assign it a static IP:
Back to the Flint 2:
-
System -> Advanced Settings -> Go To LuCI -
Network -> Devices -> br-lan: enable VLAN filtering and set up VLAN ID:
{picture}
onlan1is my OPNsense and onlan2my PC -
Network -> Interfaces: Delete the default LAN Interface, create 2 new interfaces and configure the interfaces as follows:
I have given both of these interfaces the firewall rule lan, which was already there. Though I am asking myself why there is even a firewall, because I activated AP mode as the first step on the Flint 2...
Also, on both interfaces, DHCP is set to "Ignore interface". I want to use the DHCP server on my OPNsense.
-
Save and apply to ensure everything is working and to create
br-lan.1andbr-lan.20. -
br-lan.1should have the same MAC address as the one we set the static IP for in OPNsense. -
Note: I also gave
br-lan.20a new MAC address, ending with 75, see picture under 3. (not sure if that's needed). -
Network -> Wireless: Edit SSIDGL-MT6000-b71and set Network tomyvlan. -
Network -> Wireless: Edit SSIDGL-MT6000-b71-IoTand set Network tovlan20. I didn't want to create a new Wi-Fi network because, from experience, you have to go to the console to add some code to prevent a "Wireless is not associated" error. -
Reboot.
On the Smartphone:
- Connect to
GL-MT6000-b71: Get an IP address -> be happy. - Connect to
GL-MT6000-b71-IoT: Get no IP address -> be confused and write this post.
I'm looking forward to your replies, and I'm interested to see my mistake(s). Also, please let me know if i forgot to share some important information ![]()







