I am using OpenVPN on my server as a secure Internet tunnel for both my laptop and phone, which works splendidly. The laptop has access to the website hosted on the same server as the VPN Server, and the tracert shows the path through the VPN. The same client config and certs on the phone works flawlessly for every other website, except it hangs when trying to navigate to the host website (or ping, even though the IP resolves). I don't believe this is a server config issue or the laptop wouldn't be able to see the website. Tried all the settings in the Android OpenVPN IP/DNS/Routing and had no luck. Laptop and Android are on the same subnet 10.8.0.*.
Any ideas?
Cannot access website residing on VPN server from Android
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sat May 02, 2020 4:22 pm
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sat May 02, 2020 4:22 pm
Re: Cannot access website residing on VPN server from Android
Discovered the laptop honored server-provided routes that push requests for the server's IP outside the VPN. On android, this doesn't work when android's VPN settings are configured to not allow connections outside VPN. Workaround was to disable not allowing connections outside VPN (not happy about that), and then configure OpenVPN client to allow a dedicated junk browser app to bypass the VPN, which I'll use exclusively to navigate the website on the VPN server. Lesson here is, have a dedicated IP address for your OpenVPN portal.
-
- OpenVPN Protagonist
- Posts: 11139
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Cannot access website residing on VPN server from Android
That behaviour is caused by --redirect-gateway