Page 1 of 1

How to limit UDP connections?

Posted: Sat Mar 08, 2008 11:10 pm
by hulk-bd
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

Re: How to limit UDP connections?

Posted: Sun Mar 09, 2008 11:15 pm
by hulk-bd
So, there is noway to limit udp connection??!!

Too Bad
So Sad :(

Re: How to limit UDP connections?

Posted: Mon Mar 10, 2008 1:05 am
by npbrasil
Mangle it and limit in queue tree or simple.

Re: How to limit UDP connections?

Posted: Mon Mar 10, 2008 8:57 pm
by hulk-bd
Dear npbrasil,

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

Thanks

Re: How to limit UDP connections?

Posted: Wed Mar 12, 2008 6:42 pm
by npbrasil
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.