Hi i have been trying to limit download on p2p torrents etc. but keep voip and sip at full speed I have used the script below that i got from the wiki i have added to the script on my microtik i wont paste my one as its too long. just the part i need help on
Ip firewall mangle
add chain=prerouting protocol=tcp dst-port=80 action=mark-connection
new-connection-mark=http_conn passthrough=yes
add chain=prerouting connection-mark=http_conn action=mark-packet
new-packet-mark=http passthrough=no
add chain=prerouting p2p=all-p2p action=mark-connection
new-connection-mark=p2p_conn passthrough=yes
add chain=prerouting connection-mark=p2p_conn action=mark-packet
new-packet-mark=p2p passthrough=no
add chain=prerouting action=mark-connection new-connection-mark=other_conn
passthrough=yes
add chain=prerouting connection-mark=other_conn action=mark-packet
new-packet-mark=other passthrough=no
((((((((((((((((((((((((((((NOW I HAVE ADDED THESE FEW LINES)))))))))))))))))))))))))))))))))))))))))))
ip firewall mangle
add chain=prerouting protocol=tcp dst-port=5060-5061 action=mark-connection
new-connection-mark=voip_conn passthrough=yes
add chain=prerouting connection-mark=voip_conn action=mark-packet
new-packet-mark=voip passthrough=no
ip firewall mangle
add chain=prerouting protocol=udp dst-port=5060-5061 action=mark-connection
new-connection-mark=voip_conn passthrough=yes
add chain=prerouting connection-mark=voip_conn action=mark-packet
new-packet-mark=voip passthrough=no
NOW I ADDED THESE LINES FOR THE QUEUE
add name=“main” target-addresses=10.0.0.12/32 max-limit=256000/512000
add name=“http” parent=main packet-marks=http max-limit=240000/500000 priority=1
add name=“p2p” parent=main packet-marks=p2p max-limit=64000/64000 priority=8
add name=“voip” parent=main packet-marks=voip max-limit=240000/500000 priority=1
add name=“other” parent=main packet-marks=other max-limit=128000/128000 priority=4
ok in my microtik firewall under connection sip shows as voip connection as i wanted
but my sip phone is being limited by the queue named other not the queue named voip
Does anyone know how to seperate skype so it can have its own queue so i can ajust the speed that i want