Forum Discussion
_33_113201
Nimbostratus
Mar 31, 2010port address translation, can it be done with out an Irule ?
is there a way to perform port address translation with out using the Irules???
I have a VIP: 443 and a pool with DIP:444 assigned to the VIP, will the F5 automatically transalte the po...
hoolio
Cirrostratus
Apr 12, 2010Hi Luis,
If you want to insert :444 in the Host header if it's not present, you can use an iRule like this:
when HTTP_REQUEST {
Check if host header has a value and doesn't already have :444
if {[HTTP::host] ne "" && [getfield [HTTP::host] ":" 2] ne "444"}{
Append :444 to the host header value
HTTP::header replace Host "[HTTP::host]:444"
}
}
Aaron
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
