Multiple wan : specific URL must use specific WAN
-
My bank seems to create a sessionID when i want to do internetbanking and includes my IP in it. So when i use the loadbalancer, i got an IP of WAN1 and at an other click of the mouse WAN2.
How can i set pfsense so that every traffic to the site of my bank (www.dexia.be) have to use WAN1 or WAN2 only?
Kris
-
Create a failover pool for https traffic.
-
Create a failover pool for https traffic.
How do i have to do that? I've tried a time with sticky connections, but that seems to be broken or something. It did work for time, but now i do have the same troubles.
-
See this: http://doc.pfsense.org/index.php/Multi-WAN_Version_1.2.x#Setting_up_Load_Balancing_pools
Now, there are 2 failovers listed. Choose one based on whether you want the traffic to try going out WAN1 first or WAN2 first.
Under the firewall rules, you need to select:
Source: LAN Subnet; Port: ANY
Destination: ANY; Port: HTTPS
Gateway: WAN1FailsToWAN2 (Choose depending on which WAN you want to use first)Place this rule at the top (2.0 quick-match rule) or right at the bottom (2.0 floating rule)
Right at the bottom of the same page, you'll find a pictorial example:
http://doc.pfsense.org/index.php/Multi-WAN_Version_1.2.x#Further_Rules_for_handling_outgoing_traffic -
See this: http://doc.pfsense.org/index.php/Multi-WAN_Version_1.2.x#Setting_up_Load_Balancing_pools
Now, there are 2 failovers listed. Choose one based on whether you want the traffic to try going out WAN1 first or WAN2 first.
Under the firewall rules, you need to select:
Source: LAN Subnet; Port: ANY
Destination: ANY; Port: HTTPS
Gateway: WAN1FailsToWAN2 (Choose depending on which WAN you want to use first)Place this rule at the top (2.0 quick-match rule) or right at the bottom (2.0 floating rule)
Right at the bottom of the same page, you'll find a pictorial example:
http://doc.pfsense.org/index.php/Multi-WAN_Version_1.2.x#Further_Rules_for_handling_outgoing_trafficI've did that. I'll let you know if it works or not!