Regras Facebook Youtube Speedtest

Segue abaixo algumas regras para passar mais banda para determinados sites:

Vale lembrar que utilizo a versão 6.0 do RouterOs

/ip firewall mangle
#################################Facebook
add action=mark-connection chain=prerouting comment=Facebook_In content=\
facebook.com new-connection-mark=facebook.com_conn

add action=mark-connection chain=postrouting comment=Facebook_OUT content=\
facebook.com new-connection-mark=facebook_out

add action=mark-packet chain=prerouting connection-mark=facebook.com_conn \
new-packet-mark=Facebook_pac passthrough=no

add action=mark-packet chain=prerouting connection-mark=facebook_out \
new-packet-mark=facebook_out passthrough=no


################################# Youtube

add action=mark-connection chain=prerouting comment=toutube_in content=\
youtube.com new-connection-mark=youtube.com_conn

add action=mark-connection chain=postrouting comment=Youtube_Out content=\
youtube.com new-connection-mark=youtube_out

add action=mark-packet chain=prerouting connection-mark=youtube.com_conn \
new-packet-mark=Youtube_pac passthrough=no

add action=mark-packet chain=prerouting connection-mark=youtube_out \
new-packet-mark=youtube_out passthrough=no
#################################Speed Test Copel

add action=mark-connection chain=prerouting comment=speedtest.copel.net_in \
content=speedtest.copel.net new-connection-mark=speedtest.copel.net_conn

add action=mark-connection chain=postrouting comment=speedtest.copel.net_Out \
content=speedtest.copel.net new-connection-mark=speedtest.copel.net_out

add action=mark-packet chain=prerouting connection-mark=speedtest.copel.net_out
new-packet-mark=speedtest.copel.net_out passthrough=no

add action=mark-packet chain=prerouting connection-mark=\
speedtest.copel.net_conn new-packet-mark=speedtest.copel.net_pac \
passthrough=no
#################################Speedtest.net

add action=mark-connection chain=prerouting comment=speedtest.net_in content=\
speedtest.net new-connection-mark=speedtest.net_conn

add action=mark-connection chain=postrouting comment=speedtest.net_Out content=\
speedtest.net new-connection-mark=speedtest.net_out

add action=mark-packet chain=prerouting connection-mark=speedtest.net_conn \
new-packet-mark=speedtest.net_pac passthrough=no

add action=mark-packet chain=prerouting connection-mark=speedtest.net_out \
new-packet-mark=speedtest.net_out passthrough=no


=======================================Queues Tree

/queue tree
#################################Facebook
add max-limit=5M name=Facebook_IN packet-mark=Facebook_pac parent=global queue=default
add max-limit=5M name=Facebook_OUT packet-mark=facebook_out parent=global priority=4 queue=default

################################# Youtube
add max-limit=5M name=Youtube_IN packet-mark=Youtube_pac parent=global queue=default
add max-limit=5M name=Youtube_OUT packet-mark=youtube_out parent=global priority=4 queue=default
################################# Speedtest.copel
add burst-time=2s max-limit=5M name=speedtest.copel.net_IN packet-mark=speedtest.copel.net_pac parent=global queue=default
add burst-time=2s max-limit=5M name=speedtest.copel.net_OUT packet-mark=speedtest.copel.net_out parent=global priority=4 queue=default
################################# Speedtest.net
add max-limit=5M name=speedtest.net_IN packet-mark=speedtest.net_pac parent=global queue=default
add max-limit=5M name=speedtest.net_OUT packet-mark=speedtest.net_out parent=global priority=4 queue=default

Para adicionar comentários, você deve ser membro de MK-AUTH.

Join MK-AUTH

Votos 0
Enviar-me um email quando as pessoas responderem –

Respostas

This reply was deleted.