###############################################################
# Load Balancing NTH ("Every" and "Packet") / LB NTH Script Generator
# Date/Time:
# Created by: BuanaNETPBun.Github.io - fb.me/buananet.pbun
# Load Balancing Method -> NTH ("Every" and "Packet")
###############################################################
/ip firewall address-list
add address=192.168.0.0/16 list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add address=172.16.0.0/12 list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add address=10.0.0.0/8 list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
/ip firewall nat
add chain=srcnat out-interface="" action=masquerade comment="LB NTH by buananetpbun.github.io"
add chain=srcnat out-interface="" action=masquerade comment="LB NTH by buananetpbun.github.io"
/ip route
add check-gateway=ping distance=1 gateway="" routing-mark="" comment="LB NTH by buananetpbun.github.io"
add check-gateway=ping distance=1 gateway="" routing-mark="" comment="LB NTH by buananetpbun.github.io"
add check-gateway=ping distance=1 gateway="" comment="LB NTH by buananetpbun.github.io"
add check-gateway=ping distance=2 gateway="" comment="LB NTH by buananetpbun.github.io"
/ip firewall mangle
add action=accept chain=prerouting dst-address-list=LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=accept chain=postrouting dst-address-list=LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=accept chain=forward dst-address-list=LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=accept chain=input dst-address-list=LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=accept chain=output dst-address-list=LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=mark-connection chain=prerouting in-interface="" new-connection-mark="" passthrough=yes comment="LB NTH by buananetpbun.github.io"
add action=mark-connection chain=prerouting in-interface="" new-connection-mark="" passthrough=yes comment="LB NTH by buananetpbun.github.io"
add action=mark-routing chain=output connection-mark="" new-routing-mark="" passthrough=yes comment="LB NTH by buananetpbun.github.io"
add action=mark-routing chain=output connection-mark="" new-routing-mark="" passthrough=yes comment="LB NTH by buananetpbun.github.io"
add action=mark-connection chain=prerouting new-connection-mark="" passthrough=yes connection-state=new nth=2,1 dst-address-list=!LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=mark-connection chain=prerouting new-connection-mark="" passthrough=yes connection-state=new nth=2,2 dst-address-list=!LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=mark-routing chain=prerouting connection-mark="" new-routing-mark="" passthrough=yes dst-address-list=!LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=mark-routing chain=prerouting connection-mark="" new-routing-mark="" passthrough=yes dst-address-list=!LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
# Load Balancing NTH ("Every" and "Packet") / LB NTH Script Generator
# Date/Time:
# Created by: BuanaNETPBun.Github.io - fb.me/buananet.pbun
# Load Balancing Method -> NTH ("Every" and "Packet")
###############################################################
/ip firewall address-list
add address=192.168.0.0/16 list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add address=172.16.0.0/12 list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add address=10.0.0.0/8 list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
/ip firewall nat
add chain=srcnat out-interface="" action=masquerade comment="LB NTH by buananetpbun.github.io"
add chain=srcnat out-interface="" action=masquerade comment="LB NTH by buananetpbun.github.io"
/ip route
add check-gateway=ping distance=1 gateway="" routing-mark="" comment="LB NTH by buananetpbun.github.io"
add check-gateway=ping distance=1 gateway="" routing-mark="" comment="LB NTH by buananetpbun.github.io"
add check-gateway=ping distance=1 gateway="" comment="LB NTH by buananetpbun.github.io"
add check-gateway=ping distance=2 gateway="" comment="LB NTH by buananetpbun.github.io"
/ip firewall mangle
add action=accept chain=prerouting dst-address-list=LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=accept chain=postrouting dst-address-list=LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=accept chain=forward dst-address-list=LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=accept chain=input dst-address-list=LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=accept chain=output dst-address-list=LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=mark-connection chain=prerouting in-interface="" new-connection-mark="" passthrough=yes comment="LB NTH by buananetpbun.github.io"
add action=mark-connection chain=prerouting in-interface="" new-connection-mark="" passthrough=yes comment="LB NTH by buananetpbun.github.io"
add action=mark-routing chain=output connection-mark="" new-routing-mark="" passthrough=yes comment="LB NTH by buananetpbun.github.io"
add action=mark-routing chain=output connection-mark="" new-routing-mark="" passthrough=yes comment="LB NTH by buananetpbun.github.io"
add action=mark-connection chain=prerouting new-connection-mark="" passthrough=yes connection-state=new nth=2,1 dst-address-list=!LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=mark-connection chain=prerouting new-connection-mark="" passthrough=yes connection-state=new nth=2,2 dst-address-list=!LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=mark-routing chain=prerouting connection-mark="" new-routing-mark="" passthrough=yes dst-address-list=!LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
add action=mark-routing chain=prerouting connection-mark="" new-routing-mark="" passthrough=yes dst-address-list=!LOCAL-IP src-address-list=LOCAL-IP comment="LB NTH by buananetpbun.github.io"
Copy-Paste to Terminal.