vps交流

大佬们,使用CloudFlare SAAS 优选后 源站获取不到客户端真实Ip


  1. {
  2.   "ip": "8.218.223.13",
  3.   "headers": {
  4.     "x-forwarded-for": "8.218.223.13, 172.71.214.31",
  5.     "x-real-ip": "172.71.214.31",
  6.     "connection": "upgrade",
  7.     "x-forwarded-proto": "https",
  8.     "cdn-loop": "cloudflare",
  9.     "cf-ipcountry": "HK",
  10.     "accept-encoding": "gzip, br",
  11.     "cf-ray": "8ad970a5390c044d-HKG",
  12.     "cf-visitor": "{"scheme":"https"}",
  13.     "cf-connecting-ip": "8.218.223.13",
  14. }

复制代码

demo中:cf-connecting-ip为优选ip x-real-ip 为cf访问源站的ip

至于真正的请求发起者ip 是获取不到的吗?

反代节点特色大佬们,使用CloudFlare SAAS 优选后 源站获取不到客户端真实Ip