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



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

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 4110    »»
Comments
 
  • 18 Aug, 2025   |   sdfgwetwe

  • https://subscribepage.io/watch-weapons-online
    /> https://subscribepage.io/download -weapons-online
    https://subscribepage.io/watch-freakier-friday-online
    /> https:// subscribepage.io/download-freakier-friday-online
    https://subscribepage.io/watch -the-fantastic-four-first-steps-online
    https://subscribepage.io/download-the-fa ntastic-four-first-steps-online
    https://subscribepage.io/watch-the-bad-guys-onl ine
    https://subscribepage.io/donwnload-the-bad-guys-online
    /> https://subscribepa ge.io/watch-nobody-2-online
    https://subscribepage.io/download-nobody-2-online
    /> https://subscribepage.io/watch-superman-online
    /> https://subscribepage.io/downloa d-superman-online
    https://subscribepage.io/watch-the-naked-gun-online
    /> https:// subscribepage.io/download-the-naked-gun-online
    https://subscribepage.io/watch-j urassic-world-rebirth-online
    https://subscribepage.io/download-jurassic-world-r ebirth-online
    https://subscribepage.io/watch-shin-godzilla-online
    /> https://subs cribepage.io/download-shin-godzilla-online
    https://www.zerohedge.com/user/eoL9F 6P5pxNlQw8JGzeKvhxHUTI2
    https://schoolido.lu/user/javeb98788/
    /> http://ofbiz.116 .s1.nabble.com/kerjy-e-erpotwptkwepotjweoptwoept-td4901540.html
    https://forum.t hecodingcolosseum.com/topic/82319/er-jkwe-rpojtkweqpotkwepotweop
    https://wokwi. com/projects/439564857437258753
    https://lifeisfeudal.com/Discussions/question/s dji-ghw-wjweiohweuitweiotu-wei0othwjei
    https://imgur.com/gallery/iksdj-w-jwsuw- jweio-tweio-6m2emFt
    https://playcode.io/2506985
    /> https://jsitor.com/x9lKL9sJSff
    https://jsbin.com/gibiharito/edit?html,output
    /> https://jsfiddle.net/melesastai n/stfanpe0
    https://paiza.io/projects/KwcQtJJ640EvuGUG0KzCSA?language=php
    /> https ://glot.io/snippets/ha9c2dlpfc
    https://pastebin.com/nc9crY9W
    /> https://pastee.de v/p/qzbmmkLW
    https://rentry.co/pqdebxu3
    /> https://pastelink.net/ufg86p1c
    /> https: //notes.io/wEjLv
    https://telegra.ph/rt-uyetwe4twetywe-08-17
    /> https://www.wowace .com/paste/1a9da355
    https://rextester.com/DOQGT96532
    /> https://botsauce.org/foru m/topic/79503-r-thgerwrewrewertwertwet-we-twe-ertyw/
    https://arizonaadam.com/fo rum/topic/fg-teryerw-yeryer/#postid-5558



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/a/aAIAbeHKpRTqTdA1>подъем домов новокузнецк</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://vk.com/zamena_venzov>ремонт фундамента кемерово</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/b/YeUbWXvHvw0oJxPJ>подъем домов новокузнецк</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://vk.com/zamena_venzov>подъем домов новокузнецк</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/a/aAIAbeHKpRTqTdA1>подъем домов кемерово</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/a/aAIAbeHKpRTqTdA1>ремонт фундамента кемерово</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/b/YeUbWXvHvw0oJxPJ>ремонт фундамента новокузнецк</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/a/Z_-INsBf-X8UkFsJ>подъем домов кемерово</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/a/aAIHG7j7SlCrXDAZ>замена венцов кемерово</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/a/aACP5cj2F2BXHQe4>ремонт фундамента новокузнецк</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/a/Z_-INsBf-X8UkFsJ>замена венцов кемерово</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/b/YeUbWXvHvw0oJxPJ>подъем домов кемерово</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://vk.com/zamena_venzov>подъем домов кемерово</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://ok.ru/zamenavent>замена венцов кемерово</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/a/aAIAbeHKpRTqTdA1>замена венцов кемерово</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/a/aACP5cj2F2BXHQe4>замена венцов кемерово</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/a/aACP5cj2F2BXHQe4>замена венцов кемерово</a>



  • 17 Aug, 2025   |   OrlandoSmula

  • <a href=https://vk.com/zamena_venzov>подъем домов кемерово</a>



  • 16 Aug, 2025   |   OrlandoSmula

  • <a href=https://dzen.ru/b/YeUbWXvHvw0oJxPJ>подъем домов новокузнецк</a>



    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