Forum Discussion
SSHSSH_97332
Nimbostratus
Nov 17, 2012Irule to Perform destination NAT
i need to chnage destination port at the packet matching a VIP using an IRule .
my VIP is wildcadr VIP with Pool = Default GW router , i just want to change destination port , for example :
dst ip = facebook & dst port = 8080 >>>>>>> change to dst ip = the same , dst port = 80
3 Replies
- SSHSSH_97332
Nimbostratus
I Think no Irule can do that , right ? - What_Lies_Bene1
Cirrostratus
You can effectively change the destination port with an iRule by specifying a node and the port to be used; however, I think you'd need to create an additional Virtual Server listening on port 8080 rather than apply it to the wildcard one.
- What_Lies_Bene1
Cirrostratus
Actually, I just read on another post that you can use the 'translate' command for this. Perfect!
Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects