Escolar Documentos
Profissional Documentos
Cultura Documentos
/ip address
add address=192.168.5.1/24 interface=ether5
/ip firewall nat
add chain=srcnat out-interface=pppoe-out1 action=masquerade
add chain=srcnat out-interface=pppoe-out2 action=masquerade
add chain=srcnat out-interface=pppoe-out3 action=masquerade
add chain=srcnat out-interface=pppoe-out4 action=masquerade
add chain=srcnat out-interface=pppoe-out5 action=masquerade
add chain=srcnat out-interface=pppoe-out6 action=masquerade
add chain=srcnat out-interface=pppoe-out7 action=masquerade
add chain=srcnat out-interface=pppoe-out8 action=masquerade
add chain=srcnat out-interface=pppoe-out9 action=masquerade
add chain=srcnat out-interface=pppoe-out10 action=masquerade
/ip route
add gateway=pppoe-out1 distance=1
add gateway=pppoe-out2 distance=2
add gateway=pppoe-out3 distance=3
add gateway=pppoe-out4 distance=4
add gateway=pppoe-out5 distance=5
add gateway=pppoe-out6 distance=6
add gateway=pppoe-out7 distance=7
add gateway=pppoe-out8 distance=8
add gateway=pppoe-out9 distance=9
add gateway=pppoe-out10 distance=10
/ip firewall mangle
add chain=prerouting in-interface=pppoe-out1 connection-state=new new-connection
-mark=pppoe-out1_conn action=mark-connection passthrough=yes
add chain=prerouting in-interface=pppoe-out2 connection-state=new new-connection
-mark=pppoe-out2_conn action=mark-connection passthrough=yes
add chain=prerouting in-interface=pppoe-out3 connection-state=new new-connection
-mark=pppoe-out3_conn action=mark-connection passthrough=yes
add chain=prerouting in-interface=pppoe-out4 connection-state=new new-connection
-mark=pppoe-out4_conn action=mark-connection passthrough=yes
add chain=prerouting in-interface=pppoe-out5 connection-state=new new-connection
-mark=pppoe-out5_conn action=mark-connection passthrough=yes
add chain=prerouting in-interface=pppoe-out6 connection-state=new new-connection
-mark=pppoe-out6_conn action=mark-connection passthrough=yes
add chain=prerouting in-interface=pppoe-out7 connection-state=new new-connection
-mark=pppoe-out7_conn action=mark-connection passthrough=yes
add chain=prerouting in-interface=pppoe-out8 connection-state=new new-connection
-mark=pppoe-out8_conn action=mark-connection passthrough=yes
add chain=prerouting in-interface=pppoe-out9 connection-state=new new-connection
-mark=pppoe-out9_conn action=mark-connection passthrough=yes
add chain=prerouting in-interface=pppoe-out10 connection-state=new new-connectio
n-mark=pppoe-out10_conn action=mark-connection passthrough=yes
add chain=output connection-mark=pppoe-out1_conn new-routing-mark=to_pppoe-out1
action=mark-routing passthrough=yes
add chain=output connection-mark=pppoe-out2_conn new-routing-mark=to_pppoe-out2
action=mark-routing passthrough=yes
add chain=output connection-mark=pppoe-out3_conn new-routing-mark=to_pppoe-out3
action=mark-routing passthrough=yes
add chain=output connection-mark=pppoe-out4_conn new-routing-mark=to_pppoe-out4
action=mark-routing passthrough=yes
add chain=output connection-mark=pppoe-out5_conn new-routing-mark=to_pppoe-out5
action=mark-routing passthrough=yes
add chain=output connection-mark=pppoe-out6_conn new-routing-mark=to_pppoe-out6
action=mark-routing passthrough=yes
add chain=output connection-mark=pppoe-out7_conn new-routing-mark=to_pppoe-out7
action=mark-routing passthrough=yes
add
add
add
add
add
add
add
add
gateway=pppoe-out3 routing-mark=to_pppoe-out3
gateway=pppoe-out4 routing-mark=to_pppoe-out4
gateway=pppoe-out5 routing-mark=to_pppoe-out5
gateway=pppoe-out6 routing-mark=to_pppoe-out6
gateway=pppoe-out7 routing-mark=to_pppoe-out7
gateway=pppoe-out8 routing-mark=to_pppoe-out8
gateway=pppoe-out9 routing-mark=to_pppoe-out9
gateway=pppoe-out10 routing-mark=to_pppoe-out10