The point is i dont know how to configure the udp on the rb and the service provider thinks if i allow the end user equipment to get udp from the board then transmission will be fine
You don't configure udp on the RouterBoard. It is just a router and will route what the end device requests. If the end device requests udp on port 5000 then that is what the router will route. If the end device requests tcp on port 5001 then that is what the router will route.