Forum Discussion
chuffaker_11557
Nimbostratus
Jan 17, 2014iRule to verify request to VIP came via a URL, not an IP
Does anyone know if it's possible to write an iRule to ensure a request to a VIP came from a URL, not an IP.
We have and External VIP (DMZ), whose pool membeer is an Internal VIP (Internal), on...
ltwagnon
Jan 17, 2014Ret. Employee
On the front VIP, you could add this iRule:
when HTTP_REQUEST {
if { not ([stringtolower [HTTP::host]] ends_with "domain.com") } {
reject
}
}
This should work as long as anything "domain.com" is acceptable.
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