Request for IP detection filter / trusted proxy support
-
Hi AIOS team,
I’m the author of the GTranslate plugin. We provide translation proxy services, and we have a common user who is experiencing issues with AIOS blocking GTranslate proxy IP addresses.
Would it be possible to add a filter to the get_server_detected_user_ip_address() and/or get_user_ip_address() functions so plugins can define trusted proxies and return the correct visitor IP address programmatically?
Alternatively, would you consider adding default support for our proxy network? Our network IPs are published here:
https://gtranslate.net/ips.txt
When a request comes from our network, the original visitor IP is available in the X-GT-ClientIP request header. We also set the visitor IP in the X-Real-IP and X-Forwarded-For headers.
I understand that AIOS has a UI setting for IP address detection, but users are often not aware of the issue until after proxy IPs have already been blocked or legitimate traffic is affected.
A filter or built-in trusted proxy handling would make this much easier to support safely and automatically.
Thanks! 🙂
You must be logged in to reply to this topic.