Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Problem with loggin on online medical page

    Scheduled Pinned Locked Moved Off-Topic & Non-Support Discussion
    5 Posts 3 Posters 2.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      Matchek
      last edited by

      Hi, i have problem with logging on: https://online.medicover.pl/NetworkWeb/

      i get this error:  System.Web.UI.ViewStateException: Invalid viewstate
      it is caused by pfsense.
      Any ideas why this happen ?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        Not enough to say for sure.

        Some random guesses:

        • Multi-WAN Load Balancing - that server may be enforcing a login/IP relationship, need to force traffic to that server out a single WAN
        • Squid/Proxy interference of some sort, find a way to make that site bypass the proxy.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • M
          Matchek
          last edited by

          Yep, Multi-WAN was the problem. And it's still problem. I create multiwan for failover but sometimes it looks like WAN's are agregated and use both WAN on the sime time. Should it work that way ? Now I turn off multiwan and looking for solution….

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            With load balancing, each connection can go out a different WAN.

            Browsers often make multiple connections to a remote server to speed up transfers, so that means they could have half their connections going out WAN1 and others out WAN2.

            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • stephenw10S
              stephenw10 Netgate Administrator
              last edited by

              Just add a firewall rule that sends all traffic with destination 'medicover.pl' via a single WAN.
              See attached picture for an example. I have an alias 'load balance exceptions' where I have a list of websites that don't work with multiple WAN connections. Traffic destined for those is routed only via the default WAN but you could specify which WAN to use there.

              Alternatively if you really want only failover, and not load balancing, then lower the priority of one WAN in the gateway group.

              Steve

              ![policy route rules.jpg](/public/imported_attachments/1/policy route rules.jpg)
              ![policy route rules.jpg_thumb](/public/imported_attachments/1/policy route rules.jpg_thumb)

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.