Forum Discussion

SSHSSH_97332's avatar
SSHSSH_97332
Icon for Nimbostratus rankNimbostratus
Nov 17, 2012

Irule 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

  • 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.

     

  • Actually, I just read on another post that you can use the 'translate' command for this. Perfect!