How to limit UDP connections?

I think my question is a repeating question here, never mind guys but need to know that. How can I limit udp connections like we done it for tcp connections per IP?

Is there a way to do that? please let me know.

Thanks n regards

So, there is noway to limit udp connection??!!

Too Bad
So Sad :frowning:

Mangle it and limit in queue tree or simple.

Dear npbrasil,

Can you please give me the Exact udp connection marking rules here?

Thanks

Sorry, i don’t use this type of limitation, but go to mangle, chain=prerouting, protocol=udp, action=mark-connection and type a name (ex: udp-clients), then make the same with other rule but with the connection mark in the target and action=mark-packet. In the queue simple or tree use that packet mark to limit the desired traffic. PS: Be careful about udp port 53 (dns), 123 etc.