Hi all,

My openvpn server is on the same machine as my nginx server. When my
clients make requests to the nginx server, the IP addresses that get logged
are the original, non-vpn address of the client. Here is some more
information:

1. client's non-vpn address is 50.64.25.75
2. icanhazip.com returns 190.171.27.34 (this is the correct public facing
ip address and is also the ip address of the vpn and nginx server)
3. client's vpn address is 10.8.0.210
4. nginx logs the client's IP address as 50.64.25.75 (ie- the non-vpn
address)

#1, 2, and 3 are all what I want and expect. However, #4 is not. I want
nginx to see the client's vpn address. How can I get this to happen?

I am happy to provide any extra information that you need. Thanks for your
help.

Andrew

ps- I had originally thought that this was an issue with the client
software, so I asked this question:
https://groups.google.com/forum/#!topic/tunnelblick-discuss/OeYwRZHyhwE but
it was suggested that it was more likely an openvpn issue.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to