February 14, 2023, 12:46pm
I am new to openwrt and just setup a load balancer using mwan, everything is working great but I am facing issue on some websites, for example on cPanel whenever I try to login it logs me out automatically saying that IP Address has changed.
I have 3 ISPs connected with the below LAN IPs:
I am a beginner, so any support on how to fix this would be really helpful.
Thanks a lot!
February 14, 2023, 1:01pm
Try creating a rule like the existing default one with the
sticky option enabled:
config rule 'https'
option sticky '1'
option dest_port '443'
option proto 'tcp'
option use_policy 'balanced'
From the guide:
Stickiness lets you route a new session over the same WAN interface as the previous session, as long as the time between the new and the previous session is shorter then the timeout value (default 600 seconds). This can solve some problems with HTTPS sites, which don't allow a new source address within the same cookie/HTTPS session.
February 17, 2023, 9:34am
Unfortunately, the issue is still there. I believe I misconfigured something in the rules, please find attached a screenshot of the rules that I have.
February 17, 2023, 9:54am
Worked now, below are the changes that I made:
Thanks a lot for your support, pavelgl
February 17, 2023, 2:00pm
You needed to enable sticky in the https rule at the top of the list.
The last rule
https_sticky will not be matched, as it has the same matching conditions as the first.
February 17, 2023, 7:42pm
Thanks for letting me know, will remove the last rule.
February 27, 2023, 7:42pm
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.