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

    NAT with dual WAN inbound

    Scheduled Pinned Locked Moved NAT
    2 Posts 2 Posters 195 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.
    • V
      violinandchess
      last edited by

      hello everyone.

      i am new to pfsense and networking.in our office i have configured a web server with ha proxy on pfsense and nat port forwarding in the haproxy port.my pfsense box looks like this

      • ISP1(static ip) mapped to example.com in the domains dns entry
      • LAN
      • ISP2(static ip)-not mapped into any domain name

      we access the web server using public domain name. and all the 443 80 incoming traffic from ISP1 will be port forwarded into the haproxy package where it does the ssl termination.the system works fine but when there is a high load the ISP1 is getting a packet loss due to the bandwidth limitation is there a way to load balance the ISP1 into ISP2 inbound nat using pfsense.i have done outbound nat with gateway groups.

      if i copy the isp1 firewall rules to isp2 wan interface the user has to manually type the ip address to go to wan.there is no load balancing there.

      Your Help is highly appropriated.

      1 Reply Last reply Reply Quote 0
      • C
        Crunk_Bass
        last edited by

        To balance between the two IPs simply add another record to your domain.
        It is called round-robin or load balancing DNS. Here is a quick explanation: https://www.nginx.com/resources/glossary/dns-load-balancing/

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