0
0
I have a problem. I recently added a server running at home. I'm currently running lighttpd on it to host some private stuff. Therefore I restricted the access to my local network and my static IP address (VPN IP). To access my stuff on my android device I connect via VPN (fritz.box) to my local network.
Problem: The local server doesn't see my static IP address (VPN IP) but rather the IP address of the android device. In contrast checking http://www.whatismyip.com/ shows my static IP address (VPN IP).
Android Device
---> VPN
---> local server (sees public IP address of android device)
Android Device
---> VPN
---> whatismyip.com (sees IP address of VPN)
(1) I think there is an error in your schema: Android Device is found twice and no local server. (2) How do you look for IP addresses on the local server? It seems that you are looking using the network created by the physical adapter rather than using the virtual adapter created by the VPN (as also answered by @davidgo). (3) What is the operating system of the server and what exactly is its setup. – harrymc – 2014-05-17T10:22:28.383
It would be extremely useful, to diagnose your problem, if you could scan your local network with nmap at a time when your Android phone is connected to your VPN. nmap must be downloaded, I do not know your OS but it exists for all OSes, could you please post the output of a simple ping scan here? TY. – MariusMatutiae – 2014-05-20T07:42:40.677