Getting a VLAN to use the right Gateway
-
I'm running pfsense 2.1
I have a WRT54GS running DD-WRT firmware.
I'm setting up a VLAN for guest network/wireless access. Everything works great. I'm using the pfsense as DHCP. Both wireless and wired clients can access the internet.
My problem is I can't get the VLAN clients to use the correct gateway. We have a 10Mbit WAN2 and a 1Mbit WAN1 and I would like my VLAN to use the faster connection.
I have a rule for VLAN:
Any packets from VLAN to any destination use WAN2Gateway.
This same rule works fine on my LAN, but not on the VLAN.
The VLAN only has two rules. Block everything heading to the LAN, and allow everything else but use WAN2Gateway (but it doesn't work!)
Any tips would be appreciated. I'm guessing its something silly I'm forgetting.
Edit: And as soon as I save this post, my IP address switched to the correct gateway. I don't know why it took so long to show the change. (I was just googling show my IP). There should be a way to mark a post as resolved.
-
The reason it took a while is because pfSense is a stateful firewall. Rules changes do not apply to existing states. That's why it is always advised to flush the state table before testing ;)