Forum Discussion
bookbinder_1115
Nimbostratus
Sep 21, 2010Using the F5 as a Reverse Proxy for RSA SecurID Self Service
Hey Everyone,
I am new to the F5 load balancer and iRules. From what I understand the F5 load balancer has the ability to act as a reverse proxy. In order to make the RSA device accessible from the w...
Troy_90533
Nimbostratus
Aug 20, 2013You can do this without proxypass using the following two irules.
If your environment is HA create a custom snat pool that uses only one of your floating IP addresses.
SNATs > SNAT Pool List > Create > Name it and add the single floating IP address... Add to your Virtual servers
Private https://HostName.Domain.com:7004/console-selfservice/ Public: https://rsa.website.com Place this irule on your 7004 virutal server. It is necessary to listen on 7004 for the import-from-web function to continue workingwhen HTTP_REQUEST {
if { [string tolower [HTTP::uri]] contains ("/ctkip/services/") } { HTTP::header replace "Host" internalhost.com:7004 } else {HTTP::respond 200 content "RSA Self-Service Console - OLD
The URL for this site has changed. Please update your bookmark."}
}
when HTTP_RESPONSE {
HTTP::header replace Location [string map -nocase {internalhost.com:7004 externalhost.com:7004} [HTTP::header value Location]]
}
This irule modifies the the uri so that visitors can type https://externalhost.com instead of https://externalhost.com/console-selfservice. Place this irule on your 443 and 7004 virtual servers
when HTTP_REQUEST {
if {[HTTP::uri] equals "/" } {
HTTP::uri /console-selfservice/
}
HTTP::header replace "Host" internalhost.com:7004
}
when HTTP_RESPONSE {
HTTP::header replace Location [string map -nocase {internalhost.com:7004 externalhost.com} [HTTP::header value Location]]
}
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