Routing issue
Posted: Sat Oct 15, 2016 9:25 am
Hi,
I'm using OpenVPN on iOS 9 with no problem while on 3G or 4G. By using I mean I connect to my Raspberry at home to connect to my computers via SSH or RDP on the LAN.
The problem comes with WiFi.
When I connect my iPhone on a WiFi router (at friends, hotels, etc.) I can connect to the VPN gateway but when I launch my RDP request to a private IP (192.168...) it doesn't work. I guess the reason is because my iPhone sends the request over the local LAN and not the remote LAN (mine).
However, note that when using Safari in that context I am well seen as using my remote connection. So it does seem to only concern requests to private IPs which are in both LANs (host and remote ones).
Any idea about how I can solve this?
I'm using OpenVPN on iOS 9 with no problem while on 3G or 4G. By using I mean I connect to my Raspberry at home to connect to my computers via SSH or RDP on the LAN.
The problem comes with WiFi.
When I connect my iPhone on a WiFi router (at friends, hotels, etc.) I can connect to the VPN gateway but when I launch my RDP request to a private IP (192.168...) it doesn't work. I guess the reason is because my iPhone sends the request over the local LAN and not the remote LAN (mine).
However, note that when using Safari in that context I am well seen as using my remote connection. So it does seem to only concern requests to private IPs which are in both LANs (host and remote ones).
Any idea about how I can solve this?