# HTTP Forward Proxy Access FIlter

**URL:** <https://community.f5.com/t/http-forward-proxy-access-filter/20426>\
**Category:** Technical Forums\
**Tags:** afm, irules, application-delivery\
**Created:** [June 18, 2018, 6:37am UTC](https://community.f5.com/t/http-forward-proxy-access-filter/20426 "2018-06-18T06:37:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashish\_205344](https://avatars.discourse-cdn.com/v4/letter/a/a587f6/32.png) [@Ashish\_205344](https://community.f5.com/u/Ashish_205344)\
**Post date:** [June 18, 2018, 6:37am UTC](https://community.f5.com/t/http-forward-proxy-access-filter/20426/1 "2018-06-18T06:37:43Z")

</div>

I have implemented F5 as explicit forward proxy, now to add further, i need to add some HTTP filtering so that Servers in Group A can only access external domains defined in Group A, likewaise for 100 of groups.

I ahve also got AFM provisioned, not sure which is the best way..?? I-RUle or AFM policy..??

Any suggestions or I-Rule code snippets highly appreciated. Thanks in advance.

---

<div class="post-metadata">

**Author:** ![stan\_piron](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@stan\_piron](https://community.f5.com/u/stan_piron)\
**Post date:** [June 18, 2018, 7:18am UTC](https://community.f5.com/t/http-forward-proxy-access-filter/20426/2 "2018-06-18T07:18:20Z")

</div>

Hi,

AFM is a Layer 4 firewall. it won’t filter on HTTP host.

you can :

- create a data group with all allowed sites:

- use this ltm policy (load it with
