aschi
Jun 06, 2013Nimbostratus
Proxypass Rule just for a specific IP-Range
Hi
We have successfully the ProxyPass iRule Version 10.9 in place. (https://devcentral.f5.com/wiki/iRules.proxypassv10.ashx)
But because a Web-Service has confidential content the access has to be limited to a specific IP-Range or maybe IP-Ranges in the future.
Without Proxypass i would just use the folowing part in a iRule:
if { [IP::addr [IP::client_addr]/24 equals 10.85.4.0] } {
access
}
The ProxyPass iRule is very complex with a lot of different Sections.
I tried to add the "Client IP Restriction somewhere in the Proxypass Rule but i wasn't able to get it running.
Is this possible?
Where would i have to place the IP-Address check?
Best Regards,
Roger