Forum Discussion
SergeGhanem_121
Nimbostratus
Mar 21, 2013No NAT for a specific URL request
Hi,
We have to write an iRule, if the destination is a specific URL (4shared,…), the source IP should remain the same, it should not nat this type of traffic.
Any Idea??
Thanks.
nitass
Employee
Mar 21, 2013if it is host name, you should use HTTP::host instead of HTTP::uri.
5-Minute iRules: What’s a URL? by Jason
https://devcentral.f5.com/blogs/us/5-minute-irules-what-rsquos-a-url
e.g.
when HTTP_REQUEST {
if { [HTTP::host] ends_with "google.com" } {
snat none
}
}
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