
Summary:
Ios (iPAd air 2 with 8.2) and android clients (nexus 5 with 5.1) connecting to a Ubuntu OpenVPN-as server behind a DSL router. with a 192.168.1.0/24 LAN subnet. I'm on holiday, accessing my home network and Home LAN servers.
Setup to allow Internet and DNS access through the tunnel, and access to the Home Lan Servers.
All is good when the remote ( Hotel/Hotspot) LAN subnet is different from the Home LAN.
When the hotel or Hotspot uses 192.168.1.0/24, the iPad routes all 192.168.1.0/24 to the hotspot LAN, so HomeLAN services are unreachable. I was confused by the fact DNS which was pointed at 192.168.1.254 as the DSL router still worked. Turned out the DNS was being successfully resolved via the Hotspot LAN as it also proxied vis the same address.
The android client happily routes everything via the tunnel, and works as I wish it to.
IS this a known feature/intentional ? The ipad is hard to diagnose as there is no access to the tools I would usually use, and I cant add routes to it, so I eventually found I could modify the wifi IP address to a /32 and then everything went down the tunnel, job done.But it was hard to diagnose, and I cant see any way to get the android behaviour on the IOs client