Quantcast
Channel: EdgeRouter topics
Viewing all articles
Browse latest Browse all 20028

Load balancing 2 WAN - How to NAT?

$
0
0

Dear Ubiquiti Community, 

 

I feel like this question should have been asked multiple times before already, but after extensive search in the forums and through Google, I have not found a thread on the subject of enabling NAT when one has used the Load-balancing wizard to set up load balance over two seperate WAN interfaces.

 

I did read that the port-forwarding function is a simplification of the combination Firewall/NAT rules, and that one of the downsides of this simplification is the fact that only one WAN-interface is supported, I have however been unable to find a guide/hint on how to set up NAT to function on the two WAN-interfaces.

 

The behaviour that I am aiming for is that regardless of the external IP, the NAT is the same.

So externalip1:2000 -> internalip1:80 AND  externalip2:2000 -> internalip1:80.

I have found other topics on the Multi-IP aspect of Natting, but these IP's were never split over two interfaces.

 

I have tried to achieve this by creating two NAT rules, one for each interface, but this did not work, possibly because I do not know what to change in the firewall. I am also confused by the NAT options. I have to set 'translation' address and port' but also source- and destination addresses and ports. From other routers I am used to set only the incoming port and destination IP and port, so I am confused as to what I have to fill in all these fields.

 

Could someone push me in the right direction? Preferably via the EdgeOs GUI, but if this is not possible, with good instructions on how to commit and save these changes via the CLI?

 

Thank you very much in advance :-)


Viewing all articles
Browse latest Browse all 20028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>