Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Load balance 7 WAN incoming connections

    Scheduled Pinned Locked Moved Routing and Multi WAN
    10 Posts 4 Posters 5.0k 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.
    • Q
      quentusrex
      last edited by

      I have 7 internet connections and I want to load balance the incoming connections over the connections as effeciently(for bandwidth) as possible. I want my users to be able to go to "www.mydomain.com" and it to automatically balance among the different connections. All 7 connections have public static ip's.

      Each incoming connection needs to stay on which ever connection it is given, because the main part of the bandwidth usage is streaming video.

      My basic network diagram:

      [internet]-[7x independant connections]-[pfsense router]-[my video server]

      1 Reply Last reply
      Reply Quote 0
      • E
        eri--
        last edited by

        Find tutorials for incoming load balancing and set it up.

        Since you are on video streaming consider adding to the bounty for traffic shaper so you can shape this streams and guarantee flawless service.
        It is just a recommandation nothing more :).

        1 Reply Last reply
        Reply Quote 0
        • Q
          quentusrex
          last edited by

          I've read the tutorial for outgoing traffic shaping, but I've yet to find the incoming tutorial. Is there a way to load balance the incoming connections to the least used connection? Since all 7 of my connections are the same bandwidth?

          1 Reply Last reply
          Reply Quote 0
          • E
            eri--
            last edited by

            Usually you have to setup an outgoing load balance pool and round robin is the default so it fits your needs, even because they are the same speed.

            I do not see why you need to load balance incoming connections if you only have 7 wans and one lan!

            I've read the tutorial for outgoing traffic shaping

            Usually the same things apply for incoming.

            1 Reply Last reply
            Reply Quote 0
            • Q
              quentusrex
              last edited by

              I think the incoming load balancing will have to be dns based because I will need my users to access my servers from the same domain name, but different public ip's.

              Is there a dns based load balancer to spread the load over multiple ip's?

              1 Reply Last reply
              Reply Quote 0
              • E
                eri--
                last edited by

                It depends on the dns server you use!

                On bind you can do this iirc.

                1 Reply Last reply
                Reply Quote 0
                • Q
                  quentusrex
                  last edited by

                  Let's say I have my domain pointing to one of my static ip's, and I want to use the other 6 for actually streaming the video. How would I effectively balance the incoming connections for the video over the other 6 connections from the first connection?

                  1 Reply Last reply
                  Reply Quote 0
                  • E
                    eri--
                    last edited by

                    With just outgoing load balancing setup!

                    1 Reply Last reply
                    Reply Quote 0
                    • S
                      sai
                      last edited by

                      @quentusrex:

                      Let's say I have my domain pointing to one of my static ip's, and I want to use the other 6 for actually streaming the video. How would I effectively balance the incoming connections for the video over the other 6 connections from the first connection?

                      If the connection came in on static-ip-1 you cannot send out the reply from static-ip-2 as that would mess up the connection.  If you wanted to send out a reply on static-ip-2 you would have to do it on the applicsation level.  This can be dns based or if you have a web site then the links you generate for the video would be to the other static-ips in a dyamic way.

                      sorry if the above is confused…but : incoming load balancing is used when you have several servers attached to one bandwidth and you want the bandwidth distributed amongst the servers evenly.

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

                        @quentusrex:

                        Let's say I have my domain pointing to one of my static ip's, and I want to use the other 6 for actually streaming the video. How would I effectively balance the incoming connections for the video over the other 6 connections from the first connection?

                        Code your website to retrieve videos from different server each time a user clicks on the link.  There is nothing on pfsense that will help you with that.

                        mr-s

                        1 Reply Last reply
                        Reply Quote 0

                        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                        With your input, this post could be even better 💗

                        Register Login
                        • First post
                          Last post
                        Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                        Privacy Policy · Cookie Policy