How to Forward CloudFlare IP to SafeLine WAF

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MyrinNew
    Senior Member
    • Feb 2024
    • 5168

    #1

    How to Forward CloudFlare IP to SafeLine WAF

    SafeLine is a self-hosted and very easy-to-use Web Application Firewall(WAF) powered by a unique semantic analysis engine.


    Website: https://ly.safepoint.cloud/aMx9T1U

    Discord: https://discord.gg/dy3JT7dkmY





    By default, SafeLine obtains the client IP through the TCP socket connection. However, if there is a proxy (such as Cloudflare) in between, you need to configure SafeLine to retrieve the source IP from the HTTP headers.


    Cloudflare usually passes the real client IP through the CF-Connecting-IP header. So you should set it up like this:





    Then the real IP will be logged in SafeLine.




    More...
Working...