I have this one Mikrotik router (RB951G-2HnD) that serves as a main router with port forwarding for HTTP/HTTPS and Plex to a server behind NAT. Now since there isn't much upload bandwidth (15Mbps), I'd love to limit the bandwith for HTTP/HTTPS on the WAN interface so that there's some bandwidth left for Plex. I've been looking in /queue
but haven't seen anything that limits by port number.
You need to create a
mangle
rule in/ip firewall
that will match outgoing packets to ports 80 and 443 and mark them (action=mark-packet
).Then you can create a queue and use the packet mark you defined on the mangle rule to match and limit those packets.
This is described here
or here
First you need to mark your packets. And to mark you can use port number
And then you can do traffic shaping on those marked packets
Below is also a very good and simple example
http://wiki.mikrotik.com/wiki/TransparentTrafficShaper