Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
/ip firewall nat add chain=srcnat src-address= 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.