Port Marking

Hello,

I want to mark 80 and 443 port as “http” port, then the other por" as “general” using this config :

add action=mark-connection chain=forward comment="mangle qos" dst-port=\
    80,443 new-connection-mark=http-port \
    passthrough=yes protocol=tcp
add action=mark-packet chain=forward connection-mark=http-port \
    dst-address-list=local-ip new-packet-mark=http-download \
    passthrough=no
add action=mark-packet chain=forward connection-mark=http-port \
    new-packet-mark=http-upload passthrough=no src-address-list=\
    local-ip
add action=mark-connection chain=forward dst-port=\
    !80,443 new-connection-mark=\
    general-port passthrough=yes protocol=tcp
add action=mark-packet chain=forward connection-mark=general-port \
    dst-address-list=local-ip new-packet-mark=general-download \
    passthrough=no
add action=mark-packet chain=forward connection-mark=general-port \
    new-packet-mark=general-upload passthrough=no src-address-list=\
    local-ip

The packet mark will be queue in Queue Tree as Download and Upload with some priority.

Is this config true ?