...
Code Block | ||
---|---|---|
| ||
/ip firewall nat add chain=srcnat src-address=10.0.0.0/24 action=masquarademasquerade out-interface=WAN |
Every time when interface disconnects and/or its IP address changes, the router will clear all masqueraded connection tracking entries related to the interface, this way improving system recovery time after public IP change. If srcnat is used instead of masquerade, connection tracking entries remain and connections can simply resume after a link failure.
...