Forum Discussion
Resources_15094
Nimbostratus
Feb 25, 2010ReDirect to external site - source = BigIP
This should be an easy one for the forum...
I am redirecting off of the big ip to an external site, so i have the usual irule:
when HTTP_REQUEST {
if { [HTTP::uri] equals "/" } {
HTTP::redirect https://externalwebsite.com
}
}
but, when i do that, the source is still the users PC. I need the source to be the BigIP instead.
I know i need to add the set http host, but dont know the syntax.
Thank you in advance
- The_Bhattman
Nimbostratus
Hi Resources, - Resources_15094
Nimbostratus
Yes, they would need to hit the big ip in order to get to the site. Reason, the far end site is locked down by IPs and they want only 1 IP from us. So, i figured we could source it with the bigip address - The_Bhattman
Nimbostratus
Then you must have some kind of wildcard Virtual forwarding that the request is going through and sounds like you don't have SNAT turned on. If you turn SNAT on for that Wildcard Virtual forwarding then SNAT to the BIPs egress floating address.
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