Forum Discussion
Doug_McNeill_24
Nimbostratus
Jan 07, 2009GTM: Creating a Wide IP that returns different answers to internal clients
I'm trying to set up a number of Wide IPs for an application that has a few trying requrements:
1) Internal users must access the application servers directly (They're each housed at remote fa...
JRahm
Admin
Jan 15, 2009you could create two pools and define your internal addresses in one and your external addresses in the other, then use a GTM rule based on source address:
when DNS_REQUEST {
if { [IP::addr [IP::client_addr]/24 equals "10.10.10.0"] } {
pool internal_pool
} else { pool external_pool }
}
If you have bind configured under GTMd, then a simple forward statement should work as well (assume the wip has a pool defined)
when DNS_REQUEST {
if { [IP::addr [IP::client_addr]/24 equals "10.10.10.0"] } {
forward
}
}
It's been a while since I've written a GTM rule, so you might need to tune this, but it should help along the way.
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
