Forum Discussion
Port redirect on return traffic
The scenario is a device connects to a VIP on the F5 using UDP 9010 and needs to have the response directed back to them on port UDP 9010. Since the F5 will try and send it back based on the clients source port (random ephemeral port), I need to find a way to change that port to 9010. Since this is UDP and therefore connectionless, as long as the response is going to the correct IP, I don't need to maintain any kind of state.
I posted this in the iRules forum as well, but thought this may be a design question.
Not sure if an iRule or possibly using a L4 forwarding scenario for outbound traffic would work, but I haven't been able to find a good solution.
Any help is appreciated.
Thanks,
Mike
1 Reply
- nitass
Employee
not sure if it works.
maybe we create two virtual servers. one is to handle incoming udp 9010 and the other one is to take care return udp traffic. both virtual servers set immediate timeout.
additionally, we have to maintain some connection information manually. so, bigip will be able to direct the return traffic to correct client. this could be done using table command.
just my 2 cents.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com