Created
November 20, 2014 05:03
-
-
Save yenleidong/23988568bb20fc285719 to your computer and use it in GitHub Desktop.
Mikrotik_Dual ISP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/ip fi mangle | |
add action=mark-connection chain=input comment=LB disabled=no dst-address-list=\ | |
!speedy2 in-interface=ether1 new-connection-mark=speedy1_conn \ | |
passthrough=yes src-address-type="" | |
add action=mark-connection chain=input disabled=no dst-address-list=!speedy1 \ | |
dst-address-type="" in-interface=ether2 new-connection-mark=\ | |
speedy2_conn passthrough=yes | |
add action=mark-routing chain=output connection-mark=speedy2_conn disabled=no \ | |
new-routing-mark=to_speedy2 passthrough=yes | |
add action=mark-routing chain=output connection-mark=speedy1_conn disabled=no \ | |
new-routing-mark=to_Speedy1 passthrough=yes | |
add action=mark-connection chain=prerouting disabled=no dst-address-list=!Lokal \ | |
in-interface=Client new-connection-mark=speedy1_conn passthrough=yes \ | |
per-connection-classifier=both-addresses-and-ports:2/0 | |
add action=mark-connection chain=prerouting disabled=no dst-address-list=!Lokal \ | |
in-interface=Client new-connection-mark=speedy2_conn passthrough=yes \ | |
per-connection-classifier=both-addresses-and-ports:2/1 | |
add action=mark-routing chain=prerouting connection-mark=speedy1_Conn disabled=no \ | |
in-interface=Client new-routing-mark=to_speedy1 passthrough=yes | |
add action=mark-routing chain=prerouting connection-mark=speedy2_Conn disabled=no \ | |
in-interface=Client new-routing-mark=to_speedy2 passthrough=yes |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment