paladine
OK so I run my own OpenVPN server on hardware which also runs a mail server and a web server - today I noticed something strange.
When I connect to any of the other services running on the same server (web, mail) they see my real IP address not my OpenVPN address which would suggest that the OpenVPN client is not routing traffic to other services on the same box over the VPN.
To test this, I setup a simple PHP script on PHPFiddle to echo $_SERVER['REMOTE_ADDR']
The result on PHPFiddle was my correct VPN IP (same on various IP checker sites)
The same script on my own webserver returns my real IP instead of my VPN IP.
This is frustrating because I am trying to setup an auth system for my website that will only allow admin access over my VPN but because of this issue I can't get it work properly.
Any ideas?
Thanks in advance.