duy13 / vDDoS-Protection

Welcome to vDDoS, a HTTP(S) DDoS Protection Reverse Proxy. Thank you for using!
https://vddos.voduy.com
488 stars 139 forks source link

How to get really ip #21

Closed Oceanlotus closed 6 years ago

Oceanlotus commented 6 years ago

Hellow Vddos is a really amazing software,But after use vddos,I can't get really ip. What I should do?

Thanks

duy13 commented 6 years ago

WITH APACHE BACKEND:

RemoteIPHeader X-Forwarded-For
RemoteIPTrustedProxy 192.168.1.10 10.10.0.1

https://www.globo.tech/learning-center/x-forwarded-for-ip-apache-web-server/

WITH NGINX BACKEND:

set_real_ip_from 192.168.1.10;
set_real_ip_from 10.10.0.1;
real_ip_header X-Forwarded-For;

https://ypereirareis.github.io/blog/2017/02/15/nginx-real-ip-behind-nginx-reverse-proxy/

(192.168.1.10 10.10.0.1 is IP vDDoS)