# Zoom Meeting Mangle and Queue - MikroTik Script RouterOS

    There are various media used to hold meetings or video conferences, one of the most widely used is Zoom Meeting. In this article, we will try to optimize the network by prioritizing the connection used by video conferencing so that it can be used properly without any interference. The bandwidth used will be prioritized so as not to be disturbed when other clients browse the internet.

    /ip firewall filter
    add action=add-dst-to-address-list address-list=zoom-ip address-list-timeout=1d chain=forward dst-address-list=!LOCAL-IP protocol=tcp dst-port=3478,3479,5090,5091,8801-8810 comment="ZOOM"
    add action=add-dst-to-address-list address-list=zoom-ip address-list-timeout=1d chain=forward dst-address-list=!LOCAL-IP protocol=udp dst-port=3478,3479,5090,5091,8801-8810

    /ip firewall mangle
    add action=mark-connection chain=prerouting dst-address-list=zoom-ip new-connection-mark="conn-zoom" passthrough=yes comment="ZOOM"
    add action=mark-packet chain=forward connection-mark="conn-zoom" new-packet-mark=zoom-pkt passthrough=no src-address-list=LOCAL-IP
    add action=mark-packet chain=forward connection-mark="conn-zoom" new-packet-mark=zoom-pkt passthrough=no dst-address-list=LOCAL-IP

    /queue simple
    add name="Zoom" packet-marks=zoom-pkt target=10.0.0.0/8,192.168.0.0/16,172.16.0.0/12 comment="ZOOM"

    /ip firewall address-list
    add address=10.0.0.0/8 list=LOCAL-IP
    add address=172.16.0.0/12 list=LOCAL-IP
    add address=192.168.0.0/16 list=LOCAL-IP
    Credit: www.o-om.com