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

    Dual WAN https issue

    Scheduled Pinned Locked Moved Routing and Multi WAN
    5 Posts 3 Posters 5.8k 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.
    • S Offline
      sap68
      last edited by

      Hi, I have a dual WAN configuration (a balance gateway group, with 2 adsl both tier1), I use this group in the main firewall rule (very simplest default configuration).

      Al worked well, but now I have a little trouble with some https web sites (wrong authentications and some web page load issue), how can avoid this?

      It's possible route all https requests to a fixed gateway? How?

      Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • N Offline
        Nachtfalke
        last edited by

        One possibility is to enable "Sticky connections" in SYSTEM -> ADVANCED

        The other possibility is to create a firewall rule on top of your LoadBalance firewall rules which has destination port "https" and as gateway WAN1 or WAN2.
        A little bit improvement would be to create a second Gateway-Group which has WAN1 as Tier1 and WAN2 as Tier2 and use this GW-Group for https traffic. This would help you of WAN1 is down that it automatically switches over to WAN2 for https traffic.

        In future you will probably find other pages and/or ports which do not like LoadBalancing. So best way would be to create an port alias and use this as "destination port" in firewall. This will allow you in future to put other ports in this alias and then it automatically affects the firewall rules.

        1 Reply Last reply Reply Quote 0
        • C Offline
          cmb
          last edited by

          Most always best to not load balance HTTPS, since it can also involve connections to multiple servers, for which sticky does nothing.

          1 Reply Last reply Reply Quote 0
          • S Offline
            sap68
            last edited by

            @Nachtfalke:

            One possibility is to enable "Sticky connections" in SYSTEM -> ADVANCED

            The other possibility is to create a firewall rule on top of your LoadBalance firewall rules which has destination port "https" and as gateway WAN1 or WAN2.
            A little bit improvement would be to create a second Gateway-Group which has WAN1 as Tier1 and WAN2 as Tier2 and use this GW-Group for https traffic. This would help you of WAN1 is down that it automatically switches over to WAN2 for https traffic.

            In future you will probably find other pages and/or ports which do not like LoadBalancing. So best way would be to create an port alias and use this as "destination port" in firewall. This will allow you in future to put other ports in this alias and then it automatically affects the firewall rules.

            I insert this rule (and sticky connection opt.) in my conf.

            Now in rules I have:

            
            Proto	Source	port	      dest	port	Gateway	Descr.
            TCP		LAN net	*		*		443		ADSL1	HTTPS traffic to ADSL1 	
             *		LAN net	*		*		*		BALANCE	Default allow LAN to any rule
            
            

            Do you think it's right?
            I'm not sure if it work as I expect…

            Thanks.

            UPDATE: antilockout rule above it all can cause a different behaviour?
            Just in case it's better to disable it?

            Thanks again

            1 Reply Last reply Reply Quote 0
            • N Offline
              Nachtfalke
              last edited by

              Anti-Lockout is ok - no need to change it.
              firewall rules look ok.
              no need to use sticky connects when solving all with firewall rules.

              So why don't you try to connect to https websites (facebook) and check if it is using GW1 ?

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