Hi there,
Recently purchased a Flint 2 router, I have yet to install it to my WAN. Thus right now it is just plugged into my laptop where I have been learning about VLANs.
Scenario: I had a router that would not let me create VLAN, thus all of my devices even IOT where under the same network, and that was the reason I went with the Flint 2, I am fairly new using OpenWRT.
I have successfully created multiple Bridge VLAN filtering, I accomplish this by:
1 - Went to Devices > Add device configuration:
1.1: Device Type: Bridge Device
1.2: Device Name: DeviceName
1.3: Bridge Port: Ethernet Switch:“eth0”
I left the rest of the option emphy
2 - I moved to the Bridge VLAN Filtering, in here I added 3 VLANs ID
3 - Click on Save, and then I click on Save and Apply
3 - I went back to the Bridge Device I just created, and added all 3 new VLAN ID I just created. This is how it looks like after doing all of these steps
After that, I move onto creating a Interface
1 - I went to Network > Interfaces > Add new interface
1.1: Protocol: Static Address
1.2: Device: VirtLand.20
1.3: IPv4: 192.168.20.1
1.4: IPv4 netmask: 255.255.255.0
2 - Then I move onto DHCP Server Tab, Enabled it and just changed the “Start” vale to “1” so IPs are assigned from 192.168.20.1. Screenshots are below
Topic is already pretty long, but after I did all of that. I went to Network > Wireless. Added a new network under “radio0” (2.4 ghz)
- Mode: Access Point
- SSID: SSIDName
- Network: Picked the IOT instance I just created
- Added a WPA2/PSK Password
After that, I tried connecting to it but it was failing out, it was not assigning an IP, I read online that this might be due to Firewall rules within the router, thus I did the following:
I went over Network > Firewall:
- Under “Zones” Lan ===> wan, I click on “Edit”
- Under “Covered Networks” I added the “IOTs” instance I created before
After all that, I did a quick reboot, and connected to the wifi. and Bingo it worked.
Finally, to the question I wanted to ask
Is this the proper way to do this? Did I do something wrong?
Is what I did in the Firewall rule correct? secure?
Sorry, I am still learning about Firewalls.
Thanks in advance.