Problem with VPN IP address and Nginx

Reinis Rozitis r at roze.lv
Wed Jul 10 11:22:27 UTC 2013


> the ip detected by Nginx is my real ip address, not the IP address of my 
> VPN, so i cannot use allow/deny function correctly.
> Could you please help me ?


Your nginx/host IP is probably not routed via the VPN tunnel so you access 
it directly and it sees your real ip - so check the routes on your client 
box. There is nothing you can change in nginx.conf for that.

rr 



More information about the nginx mailing list