Mikrotik multiple wan split Streaming bandwidth for Streamer

Napont Kitiwiriyakul
mrnonaki network
Published in
2 min readMay 1, 2018

If you have multiple wan at home and want to optimize your streaming (better performance and better quality) this is your guideline

just split bandwidth don’t leave game and streaming use your bandwidth on same wan … why

streaming(twitch) use your upload bandwidth up to 6Mbps if you only have internet packet upload 10Mbps ….. it not enough for your game and discord finally ping will too high for playing

how to solve this resolution ….. Answer is Mikrotik (Hard Sell)

this blog will show you how to use mikrotik with address list for routing any services to any wan you want just insert destination url in address list

other streaming server url you can find at OBS github

/ip firewall address-list
add address=live-sin.twitch.tv list=twitch-up
add address=live-hkg.twitch.tv list=twitch-up
add address=live-tpe.twitch.tv list=twitch-up

/ip firewall nat
add action=masquerade chain=srcnat out-interface=ISP1-Interface
add action=masquerade chain=srcnat out-interface=ISP2-Interface

/ip firewall mangle
add action=mark-connection chain=prerouting in-interface=ISP1-Interface \
new-connection-mark=isp1_conn passthrough=yes
add action=mark-connection chain=prerouting in-interface=ISP2-Interface \
new-connection-mark=isp2_conn passthrough=yes
add action=mark-connection chain=prerouting comment=force-isp2_live-twitch \
dst-address-list=twitch-up new-connection-mark=isp2_conn passthrough=yes
add action=mark-routing chain=prerouting connection-mark=isp1_conn \
in-interface-list=lan new-routing-mark=isp1 passthrough=no
add action=mark-routing chain=prerouting connection-mark=isp2_conn \
in-interface-list=lan new-routing-mark=isp2 passthrough=no

/ip route
add check-gateway=ping distance=1 gateway=ISP1-Gateway
add check-gateway=ping distance=2 gateway=ISP2-Gateway
add check-gateway=ping distance=1 gateway=ISP1-Gateway routing-mark=isp1
add check-gateway=ping distance=1 gateway=ISP2-Gateway routing-mark=isp2
add check-gateway=ping distance=2 gateway=ISP1-Gateway routing-mark=isp2
add check-gateway=ping distance=2 gateway=ISP2-Gateway routing-mark=isp1

--

--