/ip firewall mangle
add action=change-mss chain=forward comment=\\\"\\\" disabled=no new-mss=1360 out-interface=pppoe-out1 protocol=tcp tcp-flags=syn tcp-mss=1453-65535
add action=change-mss chain=forward comment=\\\"\\\" disabled=no in-interface=pppoe-out1 new-mss=1360 protocol=tcp tcp-flags=syn tcp-mss=1441-65535
add action=change-mss chain=forward comment=\\\"\\\" disabled=no new-mss=1360 out-interface=pppoe-out2 protocol=tcp tcp-flags=syn tcp-mss=1453-65535
add action=change-mss chain=forward comment=\\\"\\\" disabled=no in-interface=pppoe-out2 new-mss=1360 protocol=tcp tcp-flags=syn tcp-mss=1441-65535
add action=mark-routing chain=prerouting comment=\\\"\\\" connection-mark=Rota1 disabled=yes in-interface=EthClientes new-routing-mark=Rota1 passthrough=no
add action=mark-routing chain=prerouting comment=\\\"\\\" connection-mark=Rota2 disabled=yes in-interface=EthClientes new-routing-mark=Rota2 passthrough=no
add action=accept chain=prerouting comment=\\\"SEM BALANCE\\\" disabled=no dst-address-list=sem_balance in-interface=EthClientes
add action=mark-connection chain=input comment=\\\"\\\" connection-state=new disabled=no in-interface=EthLinkA new-connection-mark=conn_na passthrough=yes
add action=mark-connection chain=input comment=\\\"\\\" connection-state=new disabled=no in-interface=EthLinkB new-connection-mark=conn_nb passthrough=yes
add action=mark-routing chain=output comment=\\\"\\\" connection-mark=conn_na disabled=no new-routing-mark=to_ra passthrough=no
add action=mark-routing chain=output comment=\\\"\\\" connection-mark=conn_nb disabled=no new-routing-mark=to_rb passthrough=no
add action=mark-connection chain=prerouting comment=\\\"\\\" disabled=no dst-address-type=!local in-interface=EthClientes new-connection-mark=conn_ma0 \
passthrough=yes per-connection-classifier=both-addresses:2/0
add action=mark-connection chain=prerouting comment=\\\"\\\" disabled=no dst-address-type=!local in-interface=EthClientes new-connection-mark=conn_mb1 \
passthrough=yes per-connection-classifier=both-addresses:2/1
add action=mark-routing chain=prerouting comment=\\\"\\\" connection-mark=conn_ma0 disabled=no in-interface=EthClientes new-routing-mark=to_nra passthrough=no
add action=mark-routing chain=prerouting comment=\\\"\\\" connection-mark=conn_mb1 disabled=no in-interface=EthClientes new-routing-mark=to_nrb passthrough=no