I set up a VPN server (OpenVPN) on my Raspberry Pi more than a year ago following these instructions: http://readwrite.com/2014/04/10/raspberry-pi-vpn-tutorial-server-secure-web-browsing/
It's always worked like a charm. The other day my SD crashed and I had to repeat the procedure. I don't know if I did something differently this time, because it still works, but not quite like a charm anymore.
If I set up a VPN connection on my phone over mobile data all is OK.
- ipchicken.com shows me that my public IP address is my home's
- I can also enter 192.168.1.xx in my mobile's browser and the web that runs on my Raspberry Pi shows
However, if I set up a VPN connection over WiFi in my friend's house (on that same phone or on his computer),
- ipchicken.com shows me that my public IP address is my home's, so that's OK
- but if I open that webpage on my Pi it is not found
Thinking about it, it makes sense to me. My friend WiFi also has internal IP addresses starting with 192.168... The address 192.168.1.xx that my Pi runs on in my house is not an address on his network. Being on his network, althought connected to the VPN, seems to be searching for the IP on his network, not mine.
How is it possible that I never had this problem before?
How can I make it work again.
It's not just that I what to be able to show that webpage. More importantly, I need to be able to connect over Remote Desktop to one of the Windows machines in my home.
p.s. I've set a port forwarding in my router redirecting UDP traffic on port 1194 to the Pi, as instructed.