Forum Discussion
sandiksk_35282
Altostratus
Mar 08, 2018allow traffic to VS based on the source IP fwded in the http get request
I need to come up with a design to allow traffic to VS based on the source IP sent in the http get request.
Based on the source IP i need to make a decision whether to allow it or drop it.
Please hel...
sandiksk_35282
Altostratus
Mar 09, 2018I am little confused , just with src ip I can create an irule to all or drop the request.
But looking into the http request getting the src ip. Verify in the data group if the ip is listed allow if not drop the connection.
Can I still achieve this with an irule
nag_54823
Cirrostratus
Mar 09, 2018I didn't tested it but , you still can try something like below
when HTTP_REQUEST {
if { [class match [HTTP::header Client-IP] contains "ipaddress" ] } { reject } else { pool pool_name } }
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