OpenVPN Android LAN Issues?

I have a TUN openvpn server running on my pfsense box, I have all ipv4 and ipv6 network traffic being routed through the VPN. I’m trying to connect my android phone so I can use the moonlight app to stream my PC while I’m away from home.

My VPNs network is 10.0.0.0/26

My homes network is 192.168.1.0/24

I’ve tested the VPN on my laptop running Ubuntu and its able to connect to the LAN just fine. In fact its actually using the OpenVPN Connect android/ios config file from the export.

I try it on my android phone using the same config and its showing the external IP as my homes address and I am able to ping my LAN devices and get replies back but I’m not actually able to accesses any in the LAN. I’ve tried using all the other configs in the export tool but still cannot connect to my LAN properly on my phone. I even tried using my wife’s iPhone and it works fine with the config.

Has anyone else had any the same issues as me? Its starting to seem like an android issue and not a openvpn one.

Hey, I’m no expert but here is my take; you said that from your android you can ping fine but can’t access anything, so maybe that’s a dns problem? try checking “DNS Server enable” in the openvpn settings and add a dns server of your lan (most likely your pfsense lan address)

In the OpenVPN profile settings in the Android app, do you have routing → bypass VPN for local networks unchecked?

Do you have all client traffic being forced over the VPN? I had alot of issues with Android specifically in the past with these options on.

I had similar issues. In the end I put it down to my 4G network on my phone, as on wifi away from home it worked fine. I contacted my network (3 in the UK) and they weren’t helpful so I guess I’ll never know. I did create a second VPN using TCP and had no issues. Maybe you could try that to see if its any different?

DNS is fine since I can access websites just fine while connected. DNS shouldn’t have anything to do with connecting to internal IPs.

I do. I’ll give it a go with that disabled.

Unfortunately no luck. Might look at a wireguard VPN.

TCP fixed it for me too, laptop connected via phone hotspot worked fine on UDP, but phone itself could ping, but not connect to anything (login pages may start to load, but that’s all) switched to TCP and it worked fine on phone and laptop