Search:     Advanced search
Browse by category:
Glossary | Ask question



How to enable X-Forwarded-For option on ASF?
Add comment
Views: 9274
Votes: 0
Comments: 261

ArrayOS ASF 3.0.0.1 supports the function of inserting the client IP address into HTTP requests for the specified HTTP profile. After this function is enabled for an HTTP profile that is applied to a security service, client IP addresses that hit the security service will be forwarded to real services associated with the security service.

Why we require X-Forwarded-For option:

The X-Forwarded-For (XFF) header is a de-facto standard header for identifying the originating IP address of a client connecting to a web server through an HTTP proxy or a load balancer. When traffic is intercepted between clients and servers, server access logs contain the IP address of the proxy or load balancer only. To see the original IP address of the client, the X-Forwarded-For request header is used.

Please follow below instructions to enable X-Forwarded-For option through webui:

  • Login into ASF webui.
  • Expand “Application Defense” option under security Defense.

            

  • Click on “HTTP Profile” and click on “Request Security” option.
  • Click on “Request Header” under “Request Security” options
  •  Enable the “X-Forwarded-For” option in section “Transferring Client IP to Backend Server”
  • Selection value as “Header” in Transfer Mode.
  • Click on Apply Changes and save configuration globally.

            

 

  • We can also define custom header name by mentioning the require header name in “Custom Entity Name” option.

             

 

 

Please follow below instructions to enable X-Forwarded-For option through CLI:

 

  • Login into ASF CLI
  • Switch to enable mode with command “enable” and enter into confirm mode with command “conf terminal”
  • Execute the below command to enable the x-forwarded-for option

#http profile insert request xforwardedfor on "Http_profile_Name" header "X-Forwarded-For"

Note: Please mention the exact http profile name on highlighted section on above command.

 

Example for enabling the xforwardedfor :

#http profile insert request xforwardedfor on "CLP" header "X-Forwarded-For"

 

Example for enabling the xforwardedfor  with custom header name:

#http profile insert request xforwardedfor on "CLP" header "Client_ip"

 

How to verify that ASF is forwarding the client ip to Backend server :

To confirm this, we need to take the debug trace log from ASF. If you are using HTTPS real service then you need to decrypt the debug trace for backend real service communication.

In debug trace, click on http request from ASF to real service and check for header name "X-Forwarded-For". The http request should have the header "X-Forwarded-For" with client ip.

 

 

 




Showing: 1-20 of 261    »»
Comments
 
  • 20 Jul, 2024   |   Marilyn




  • 18 Jul, 2024   |   pdygsfxf

  • Array Networks / Knowledgebase / How to enable X-Forwarded-For option on ASF?
    updygsfxf
    pd ygsfxf http://www.g826d61ha7ew180x43166hung0srf7mas.org/
    /> <a href="http://www.g826d61ha7ew180x43166hung0srf7mas.org/">apdygsfxf</a>



  • 18 Jul, 2024   |   ffmyti

  • Array Networks / Knowledgebase / How to enable X-Forwarded-For option on ASF?
    <a href="http://www.g48arq9z4u09fo0ivb40o8878uz88pn8s.org/">affmyti</a>
    uffmyti
    ffmyti http://www.g48arq9z4u09fo0ivb40o8878uz88pn8s.org/



  • 18 Jul, 2024   |   Yeezy Slide

  • [b]Adidas Yeezy Outlet[/b]rn
    <a href="https://www.yeezyofficialwebsites.org/" target="_blank"><strong>Adidas Yeezy Outlet</strong></a><br />
    www.yeezyofficialwebsites.org Adidas Yeezy Outlet
    [b]Yeezy Supply[/b]rn
    <a href="https://www.yeezyofficialwebsites.org/" target="_blank"><strong>Yeezy Supply</strong></a><br />
    www.yeezyofficialwebsites.org Yeezy Supply
    [b]Yeezy Slide[/b]rn
    <a href="https://www.yeezyofficialwebsites.org/" target="_blank"><strong>Yeezy Slide</strong></a><br />
    www.yeezyofficialwebsites.org Yeezy Slide
    [b]Yeezy Official Website[/b]rn
    <a href="https://www.yeezyofficialwebsites.org/" target="_blank"><strong>Yeezy Official Website</strong></a><br />
    www.yeezyofficialwebsites.org Yeezy Official Website
    [b]Yeezy Shoes[/b]rn
    <a href="https://www.yeezyofficialwebsites.org/" target="_blank"><strong>Yeezy Shoes</strong></a><br />
    www.yeezyofficialwebsites.org Yeezy Shoes
    [b]Yeezy Supply[/b]rn
    <a href="https://www.yeezysslide.us/" target="_blank"><strong>Yeezy Supply</strong></a><br />
    www.yeezysslide.us Yeezy Supply
    [b]Yeezy Slide[/b]rn
    <a href="https://www.yeezysslide.us/" target="_blank"><strong>Yeezy Slide</strong></a><br />
    www.yeezysslide.us Yeezy Slide
    [b]Yeezy Supply[/b]rn
    <a href="https://www.yeezyv2-outlet.us/" target="_blank"><strong>Yeezy Supply</strong></a><br />
    www.yeezyv2-outlet.us Yeezy Supply
    [b]Yeezy Outlet[/b]rn
    <a href="https://www.yeezyv2-outlet.us/" target="_blank"><strong>Yeezy Outlet</strong></a><br />
    www.yeezyv2-outlet.us Yeezy Outlet
    [b]Yeezy Supply[/b]rn
    <a href="https://www.yeezyofficialwebsites.org/" target="_blank"><strong>Yeezy Supply</strong></a><br />
    www.yeezyofficialwebsites.org Yeezy Supply
    [b]Yeezy Supply[/b]rn
    <a href="https://www.yeezysboost.us/" target="_blank"><strong>Yeezy Supply</strong></a><br />
    www.yeezysboost.us Yeezy Supply
    [b]Yeezy Boost[/b]rn
    <a href="https://www.yeezysboost.us/" target="_blank"><strong>Yeezy Boost</strong></a><br />
    www.yeezysboost.us Yeezy Boost
    https://www.yeezysslide.us/product/yeezy-700-v3-azael-fw4980/
    /> https://ww w.yeezysslide.us/product/yeezy-boost-350-v2-mono-ice-gw2869/
    https://www.yeezysslide.us Yeezy Slide
    https://www.yeezysslide.us/checkout/
    /> https://www.yeezyofficialwebsites.o rg/product/
    https://www.yeezyofficialwebsites.org Yeezy Official Websites
    https://www.yeezyofficialwebsites.org Adidas Yeezy Outlet
    https://www.yeezyofficialwebsites.org Yeezy Supplys
    https://www.yeezyofficialwebsites.org Yeezy Shoes
    https://www.yeezysslide.us Yeezy Slides
    https://www.yeezysslide.us Yeezy V2
    https://www.yeezysslide.us/cart/
    /> https://www.yeezyv2-outlet.us/shop/
    /> https ://www.yeezyv2-outlet.us Yeezy Supply
    https://www.yeezyv2-outlet.us Yeezy Outlet
    https://www.yeezyv2-outlet.us Yeezy V2 Outlet
    https://www.yeezyv2-outlet.us/track-order/
    /> https://www.yeezyofficialweb sites.org/blog/
    https://www.yeezysboost.us/map/
    /> https://www.yeezysboost.us Yeezy Supplys
    https://www.yeezysboost.us Yeezy Boost
    https://www.yeezysboost.us Yeezys Boost
    Tags:yeezy shoes, Yeezy, Adidas Yeezy,yeezy supply, yeezy slide



  • 12 Jul, 2024   |   gxcdrzvznc

  • Array Networks / Knowledgebase / How to enable X-Forwarded-For option on ASF?
    ugxcdrzvznc
    <a href="http://www.g30y5lk8jkh5641439016rvq2vmb4hwns.org/">agxcdrzvznc</a>
    gxcd rzvznc http://www.g30y5lk8jkh5641439016rvq2vmb4hwns.org/



  • 11 Jul, 2024   |   gkwpkhvdm

  • Array Networks / Knowledgebase / How to enable X-Forwarded-For option on ASF?
    <a href="http://www.g09m1f74d4bmeo5rb64h18r2b89xj91as.org/">agkwpkhvdm</a>
    [url= ugkwpkhvdm]http://www.g09m1f74d4bmeo5rb64h18r2b89xj91as.org/]ugkwpkhvdm
    gkwpkhvdm http://www.g09m1f74d4bmeo5rb64h18r2b89xj91as.org/



  • 09 Jul, 2024   |   vecnkphn

  • Array Networks / Knowledgebase / How to enable X-Forwarded-For option on ASF?
    <a href="http://www.g28cy25xe0zqp47k302x5mfa9q70v20rs.org/">avecnkphn</a>
    vecnkp hn http://www.g28cy25xe0zqp47k302x5mfa9q70v20rs.org/
    /> uvecnkphn



  • 09 Jul, 2024   |   tnwlwzhhcw

  • Array Networks / Knowledgebase / How to enable X-Forwarded-For option on ASF?
    <a href="http://www.g9yez30n4r8qb5v48226stz0hw7920wrs.org/">atnwlwzhhcw</a>
    tnwl wzhhcw http://www.g9yez30n4r8qb5v48226stz0hw7920wrs.org/
    /> utnwlwzhhcw



  • 06 Jul, 2024   |   Lea

  • 12 Companies Leading The Way In Tiktok Pornstar pornstar Tiktok



  • 03 Jul, 2024   |   bveosrhdlv

  • Array Networks / Knowledgebase / How to enable X-Forwarded-For option on ASF?
    ubveosrhdlv
    <a href="http://www.gh517mds32fhsj8762f8sr30l3s592mws.org/">abveosrhdlv</a>
    bveo srhdlv http://www.gh517mds32fhsj8762f8sr30l3s592mws.org/



  • 01 Jul, 2024   |   nrdzhfjx

  • Array Networks / Knowledgebase / How to enable X-Forwarded-For option on ASF?
    nrdzhfjx http://www.gmh4u4uof10wf8px29m1f07z82541ts3s.org/
    /> unrdzhfjx
    <a href="http://www.gmh4u4uof10wf8px29m1f07z82541ts3s.org/">anrdzhfjx</a>



  • 26 Jun, 2024   |   Heriberto

  • &#1050;&#1072;&#1079;&#1080;&#1085;&#1086; &#1044;&#1101;&#1076;&#1076;&#1080;: &#1042;&#1072;&#1096; &#1096;&#1072;&#1085;&#1089; &#1085;&#1072; &#1087;&#1086;&#1073;&#1077;&#1076;&#1091; http://pmlkiop.ek.la/cd-88-besplatno-3gp-grad-svjetla-2k-film-torrent-a209933492



  • 24 Jun, 2024   |   Neva

  • &#1050;&#1091;&#1087;&#1080;&#1090;&#1100; &#1085;&#1072;&#1089;&#1090;&#1086;&#1103;&#1097;&#1080;&#1081; &#1076;&#1080;&#1087;&#1083;&#1086;&#1084; &#1082;&#1091;&#1087;&#1080;&#1090;&#1100; &#1076;&#1080;&#1087;&#1083;&#1086;&#1084;
    &#1074; &#1095;&#1077;&#1073;&#1086;&#1082;&#1089;&#1072;&#1088;&#1072;&#1093;



  • 23 Jun, 2024   |   fgyftjcgiz

  • Array Networks / Knowledgebase / How to enable X-Forwarded-For option on ASF?
    ufgyftjcgiz
    <a href="http://www.ge8m789ysm280bok5bky2q73v887vg21s.org/">afgyftjcgiz</a>
    fgyf tjcgiz http://www.ge8m789ysm280bok5bky2q73v887vg21s.org/



  • 23 Jun, 2024   |   zkmgxmjdrz

  • Array Networks / Knowledgebase / How to enable X-Forwarded-For option on ASF?
    zkmgxmjdrz http://www.gz9iwmu8r90727w4t37h18f89l8zfff0s.org/
    /> uzkmgxmjdrz
    <a href="http://www.gz9iwmu8r90727w4t37h18f89l8zfff0s.org/">azkmgxmjdrz</a>



  • 18 Jun, 2024   |   Lynn

  • &#1058;&#1086;&#1087; &#1082;&#1072;&#1079;&#1080;&#1085;&#1086;: &#1043;&#1076;&#1077; &#1085;&#1072;&#1081;&#1090;&#1080; &#1089;&#1072;&#1084;&#1099;&#1077; &#1080;&#1085;&#1090;&#1077;&#1088;&#1077;&#1089;&#1085;&#1099;&#1077; &#1080;&#1075;&#1088;&#1099; &#1088;&#1077;&#1081;&#1090;&#1080;&#1085;&#1075; &#1082;&#1072;&#1079;&#1080;&#1085;&#1086;



  • 18 Jun, 2024   |   Danny

  • 1win ______: _____ ________ _______ _________ https://bupnsdshop.com/bbs/board.php?bo_table=free&wr_id=2734



  • 18 Jun, 2024   |   Lashawn




  • 18 Jun, 2024   |   rwgtdbejvw

  • Array Networks / Knowledgebase / How to enable X-Forwarded-For option on ASF?
    <a href="http://www.g245o4s5bf0l7s4w991869zmxqx4ncr7s.org/">arwgtdbejvw</a>
    rwgt dbejvw http://www.g245o4s5bf0l7s4w991869zmxqx4ncr7s.org/
    /> urwgtdbejvw



  • 17 Jun, 2024   |   dwczqxvlz

  • Array Networks / Knowledgebase / How to enable X-Forwarded-For option on ASF?
    dwczqxvlz http://www.gn4u9270m24017kd3b4wa5v72wf3fmdws.org/
    /> <a href="http://www.gn4u9270m24017kd3b4wa5v72wf3fmdws.org/">adwczqxvlz</a>
    [url= udwczqxvlz]http://www.gn4u9270m24017kd3b4wa5v72wf3fmdws.org/]udwczqxvlz



    Add comment
    Name:
    Email:
    Comment: *
    (Use BBcode - No HTML)


    Other questions in this category
    How to enable HTTP to HTTPS redirection in ASF?
    What are the steps for password recovery of APV/AG/ASF Appliance?
    How to Decrypt Packet capture with Session keys?
    Array Signature Library (ASL) Update
    How to Mitigate the Log4j2 Vulnerabilities Using ASF
    How to create a mail alert for WAF attack events