Posted: Mon Jul 18, 2022 14:48 Post subject: Setup Wi-Fi VLANs with pfSense on WRT320N
Code:
Router Model: Linksys WRT320N
Firmware Version: DD-WRT v3.0-r48786 (05/03/22)
Kernel Version: Linux 4.4.302 #15594
CPU Model: Broadcom BCM4716 chip rev 1
CPU Features: MIPS32r1 MIPS32r2 MIPS16 DSP DSP2
Code:
vlan1ports=4 3 2 1 8*
vlan2ports=0 8
Code:
swconfig dev switch0 show
VLAN 1: ports: 0 1 2 3 4 8t
How would I go about setting in the Switch Config GUI separate wifi vlans? Let's say the routers local ip address is 192.168.99.32. 192.168.40.x is for normal traffic, 192.168.42.x is for untrusted items and 192.168.44.x is for guests. All traffic would be trunked over a single wired ethernet cable plugged into the WAN or whatever port is best.
I had it setup with startup scripts but the traffic was not being tagged so something was wrong. pfSense was not handing down ip addresses from the dhcp server. My setup was similar to https://netosec.com/home-network-vlans/ except without the layer 2 network switch in-between. I have been using pfSense for over 10 years so I'm pretty sure it was dd-wrt that wasn't tagging the traffic correctly. NAT is missing from the above guide which must also be setup in pfSense.
I think this is the right setup translated into GUI form:
Is there no need for startup scripts anymore? Thought I'd ask if anyone would care to share their setups before I play around some more and have to reset again. I've been looking over the forums but I haven't played with dd-wrt for a long time. I mainly set it up for wifi and just forget it. Just wanted to see if this was possible. Thank you all.
Edit: Never mind, any changes made on that Config Switch GUI page causes an infinite boot loop. So this is not possible. I just created vlan3 and hit apply settings and it's gone.