Forum Discussion
Nat_Thirasuttakorn
Employee
Jan 25, 2005use rule to configure destination address translation
Hi all,
is it possible to use rule to control destination address translation
for example,
if uri = *.f5.com
no address translation
pool prox...
janholtz
Altostratus
Oct 07, 2010Easy
Create another virtual server which DOES have address / port translation enabled. (Fast L4 works fine)
Then select this vs with "virtual"
eg:
Heres an iRule that makes a certain non-intercepting proxy (polipo) work in intercepting mode:
when HTTP_REQUEST {
if { ![IP::addr [IP::client_addr] equals 192.168.101.180]} {
set httphost [HTTP::host]
set httpuri [HTTP::uri]
set request "http://$httphost$httpuri"
log local0. "request $request"
HTTP::uri $request
virtual vs_proxy
}
}
Jan
'Aut Viam Inveniam Aut Faciam'
Holtzhausen
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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