Static route with dual lan and load balancing
I have a dual wan configured with load balancing working right but I have a pb with some websites using ip to stay connected, when I click on a link on the page and loadbalancing switches to the other wan, it says that my session has expired…
How can I tell pfsense that for one website (or IP) it have to use wan1 and not wan 2 ?
here is how I set this up:
LAN 10.0.0.103----- PFSENSE --------NET
For example When I use IP 184.108.40.206, I wish It only uses ====> LAN then 192.168.0.2 then 192.168.0.254 then NET
Hopt I am clear enough...
Thanks in advance
Create an hostsalias at firewall>aliases "unbalancable". Then add all destinations that won't work loadbalanced. Now go to firewall>rules, lan tab. Add a pass rule above your loadbalancing rule "pass, proto any, source any, destination unbalanceable, gateway <desired gateway="">. You also can do this based on destinationports like https or a portalias for example (https will most likely break when balanced).</desired>
It works thanks a lot ;D