[GH-ISSUE #2108] grpc+cdn ip log not working #1438

Closed
opened 2026-10-31 20:18:50 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @tsalehm on GitHub (Mar 21, 2024).
Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2108

Welcome

  • Yes, I'm using the latest major release. Only such installations are supported.
  • Yes, I'm using the supported system. Only such systems are supported.
  • Yes, I have read all WIKI document,nothing can help me in my problem.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've included all information below (version, config, log, etc).

Description of the problem,screencshot would be good

یک کانفیگ grpc پشت کلادفلر و انجین اکس هست. مشکل اینه که برخلاف وب سوکت هدر های

    grpc_set_header Host $host;
    grpc_set_header X-Real-IP $remote_addr;
    grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

کمکی نمی کنند و به هر حال هر چیزی که از grpc_pass رد میشه رو با ایپی های کلادفلر نشون میدن نه ایپی کلاینت که خودش باعث از کار افتادن ip limit میشه. حقیقتا نتونستم راهی براش پیدا کنم که ایپی اصلی کلاینت رو نشون بده لطفا بررسی کنید با تشکر

Version of 3x-ui

اخرین

x-ui log reports or xray log

fff

Originally created by @tsalehm on GitHub (Mar 21, 2024). Original GitHub issue: https://github.com/MHSanaei/3x-ui/issues/2108 ### Welcome - [X] Yes, I'm using the latest major release. Only such installations are supported. - [X] Yes, I'm using the supported system. Only such systems are supported. - [X] Yes, I have read all WIKI document,nothing can help me in my problem. - [X] Yes, I've searched similar issues on GitHub and didn't find any. - [X] Yes, I've included all information below (version, config, log, etc). ### Description of the problem,screencshot would be good یک کانفیگ grpc پشت کلادفلر و انجین اکس هست. مشکل اینه که برخلاف وب سوکت هدر های grpc_set_header Host $host; grpc_set_header X-Real-IP $remote_addr; grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for; کمکی نمی کنند و به هر حال هر چیزی که از grpc_pass رد میشه رو با ایپی های کلادفلر نشون میدن نه ایپی کلاینت که خودش باعث از کار افتادن ip limit میشه. حقیقتا نتونستم راهی براش پیدا کنم که ایپی اصلی کلاینت رو نشون بده لطفا بررسی کنید با تشکر ### Version of 3x-ui اخرین ### x-ui log reports or xray log fff
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#1438
No description provided.