NAT with dual WAN inbound
-
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.
-
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/