Hi guys i wonder how i should set masquerade when i want to use 2 WAN connections (without load balancing).
Should it look like:
chain=srcnat action=masquerade out-interface=ether1-gateway log=no log-prefix=“”
chain=srcnat action=masquerade out-interface=ether2- gateway 2 log=no log-prefix=“”
or
chain=srcnat action=masquerade log=no log-prefix=“”
?
Thank You
Heelo, this one is the right :
chain=srcnat action=masquerade out-interface=ether1-gateway log=no log-prefix=“”
chain=srcnat action=masquerade out-interface=ether2- gateway 2 log=no log-prefix=“”
regards,
But why chain=srcnat action=masquerade log=no log-prefix=“” is wrong? What consequences will be?
Regards
devi1
May 2, 2016, 7:04pm
4
In chain=srcnat action=masquerade log=no log-prefix=“” you are not specified any interface. Router does not know which interface to go traffic
But it worked. 2 WAN > | chain=srcnat action=masquerade log=no log-prefix=“” | > SWITCH (4 x LAN). Why and what problems it will cause?
Sob
May 3, 2016, 3:17pm
6
It NATs everything. So when you run some internal server, it will make you wonder why all clients look like they come from your router’s internal address.