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

    Inbound load balancing and DNS

    Scheduled Pinned Locked Moved Routing and Multi WAN
    4 Posts 2 Posters 2.3k 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.
    • L
      LoZio
      last edited by

      Hi,
      i read the posts in this forum and realized taht Inbound Load Balancing with multiple WANs requires some DNS trick (as stated in http://forum.pfsense.org/index.php?PHPSESSID=b0eb879d85dfae649437072f11898e3f&topic=2087.0).
      Is there anyone who already did it and wrote some howto?
      Is there some kind of trigger in pfSense that fires when you switch from Main Connection to the Failover one?

      With inbound load balancing I mean having 2 (or more) WANs, with different public ip addresses mapped to a single internal server.
      I know this is not pfSense load balancing.
      Thanks

      1 Reply Last reply Reply Quote 0
      • GruensFroeschliG
        GruensFroeschli
        last edited by

        What you mean is no inbound loadbalancing.
        Inbound loadbalancing is having multiple servers that share the load.

        What you are trying to do is quite simple:
        Setup your server, add 2 NAT entries (one for each WAN) that forward the port from your external IP's to your server. finished.

        We do what we must, because we can.

        Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

        1 Reply Last reply Reply Quote 0
        • L
          LoZio
          last edited by

          @GruensFroeschli:

          What you mean is no inbound loadbalancing.
          Inbound loadbalancing is having multiple servers that share the load.

          What you are trying to do is quite simple:
          Setup your server, add 2 NAT entries (one for each WAN) that forward the port from your external IP's to your server. finished.

          Maybe you read only the first line of my post. If you read further you'll find "I know this is not pfSense load balancing.", also stated in the link I posted.
          By the way…
          I have two NAT correctly working, but as you can suspect from the subject and my post, the problem is with DNS resolution. How can I have
          www.myserver.tld resolve to the currently up ip address, as one interface is configured for failover.
          You need a DNS somewhat linked to the loadbalancer status, and the question was if someone had this already done.

          1 Reply Last reply Reply Quote 0
          • GruensFroeschliG
            GruensFroeschli
            last edited by

            i did read your whole post.
            you want DNS-failover.
            you might want to take a look at the DNS-server-package / DNS-Server-testing area. http://forum.pfsense.org/index.php/board,41.0.html

            We do what we must, because we can.

            Asking questions the smart way: http://www.catb.org/esr/faqs/smart-questions.html

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