daviftorres opened a new issue, #11020:
URL: https://github.com/apache/cloudstack/issues/11020

   ### The required feature described as a wish
   
   I’d like to propose extending the Reverse Proxy support introduced in 
Management servers in 
(https://github.com/apache/cloudstack/commit/67e2061f4b87934c863cbafc5031821ad7ef6d02)
  to the SysVMs as well.
   
   As shown in the screenshot below, Management servers can now recognize (and 
trust) Reverse Proxy servers:
   
   
![Image](https://github.com/user-attachments/assets/b8564539-7881-41aa-bb16-55501afc0a68)
   
   This brings both **security**, **observability**, and **control**, by 
preserving the real client IP address, which makes logs significantly more 
useful.
   
   Today we leverage Reverse Proxies for: WAF, Rate limiting for abusive users, 
DoS/DDoS protection, and SSL/TLS termination. Each of these alone is a valid 
reason to support Reverse Proxies in SysVMs.
   
   The current workaround: we had to modify the SysVM template manually:
   
   1. Update Apache vhost config:
   ```
   RemoteIPHeader X-Forwarded-For
   RemoteIPTrustedProxy 10.7.1.0/24
   ```
   
   2. Enable the module and restart Apache:
   ```
   a2enmod remoteip
   systemctl restart apache2
   ```
   
   Feel free to ask questions and share your thoughts. I can provide details 
and perform tests as needed.
   
   Keep up with the good work!!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to