QUEUE only for one TCP port

Hello… i’ve a question

I’ve an host 192.168.1.41 in my LAN. I need limit bandwith 256k/3M on this host only for service use port 10333 TCP. I’ve creating a prerouting-mark in magle for this port, but the queue don’t work.

can you help me? Thanks

May be you messed up with source/destination port or source/destination queuing. You better show your rules.

thanks friend for the help…

i’ve use this rule, but it’s not work:

add action=mark-routing chain=prerouting new-routing-mark=service passthrough=\
    no protocol=tcp src-address=192.168.1.41 src-port=10333
add comment=NAME limit-at=256k/8M max-limit=256k/8M name=NAME \
    packet-marks=service queue=pcq-upload-default/pcq-download-default target=\
    192.168.1.41/32

packet-mark and routing-mark are different things. You should use mark-packet action in mangle

Thank you very mutch.

I’ve change only mark-packet and now work :smiley:

But I can not tell if the rest of the traffic is regular and if the only traffic of TCP 10333 is limited

Thanks