Open VPN - No routing
Hi guys,
I use the ER605 as router (not behind an ISP router) and I can establish an OpenVPN session. It is recognized at my android 14 device as well as within omada.
Unfortunately I can't access neither my local devices/servers nor the internet, when openVPN is activated on my mobile device.
I also see a strange info in the routing table: tun_server0
The open VPN Setup looks like this:
I'm also using NO-IP as dynDNS service. This also works fine.
Is this an omada or Android problem? With my previous phonesuch a setup worked as intended.
- Copy Link
- Subscribe
- Bookmark
- Report Inappropriate Content
Anyone who is using Android and experience the issue with OVPN, you might find it helpful: Solution - No Traffic After OpenVPN Is Connected - Android OpenVPN Connect 3.4.0 Update
- Copy Link
- Report Inappropriate Content
Your issue is likely the Subnets you are using.
On you home network, the router LAN network Subnet is 192.168.0.x/24
The Open VPN Server settings also us the same Subnet. Change the IP Pool to a different Subnet:
Private Subnets:
Class A = 10.x.x.x
Class B = 172.16.x.x
Class C = 192.168.x.x
Suggested Settings:
LAN Network = 192.168.0.x/24
Open VPN Server IP Pool: 172.16.0.x/24
Once you make that change you can run into one more issue:
If the remote network (Client Side) uses the same Subnet as the home network (Server Side), connections might not work when you have Tunnel Mode set to "Split". If a device in the remote network has the same IP as a device in the home network, you will have connection issues. Switching Tunnel Mode to "Full" will route all traffic over the VPN avoiding this issue, but this means you will be using your home Internet from a remote location which can slow things down if you have slow ISP speeds.
I run into this issue when I visit my Sisters house. My network and their network are both using the 192.168.1.x/24 Subnet.
- Copy Link
- Report Inappropriate Content
I seem to be having a similar issue to you on my ER605 V1 with (at least) my Android 14 phone.
My VPN is reporting a connection (at least from the client side) but the speeds are incredibly low (a few bites per second).
I suppose this could be an issue with the OpenVPN app. I did have to make a manual change to my OpenVPN configuration file as well since I use CloudFlare for DDNS and my Omada router is behind the ISP one. The ISP router could also be a cause as I have not fully ruled that out yet.
What I do know is that it was working 1-2 months ago. I don't know if it was related to an update of the client application or the router firmware upgrade.
I also do know it is not related to the client's network. I have confirmed this behavior on two separate WiFi networks with different IP schemes as well as a cellular connection.
I have been meaning to dig into this more, and will try to do so in the next few days.
- Copy Link
- Report Inappropriate Content
Thanks to your replay. I'm not sure if this related to my subnets. I had a simliar configuration with my previous mobile phone and it worked. Anyhow, I will play around with different subnets to see if there is any effect.
- Copy Link
- Report Inappropriate Content
VPN connections rely on Upload speeds. During the Covid Pandemic my company sent us all home to work from home. We needed to use a VPN to connect to the work network. At the time I had Charter (Spectrum) Internet with 300 Down / 10 Up and my VPN connection was so slow it was unusable. I then upgraded to a Fiber provider with 500 up and down and my VPN speed issues went away.
Also, Most COAX (Cable) ISP's have moved to Modem/Router combos. If you also have you own router this will put you in a "Double-NAT" situation. Iternet access will likley be fine, but anything that needs a WAN to LAN connection might not get routed correctly. You will know if you are "Double-NAT" if your ER605 is getting a local IP for it's WAN address. If this is the case for you, contact your ISP and asked them to place their router in "Passthrough Mode". That will allow the ER605 to get a public WAN address and solve your routing issues.
- Copy Link
- Report Inappropriate Content
Thanks for your feedback. I will try to use another phone with an older Android version. I will come back with the results (maybe in a few days)
- Copy Link
- Report Inappropriate Content
On your androind phone, the Default Google VPN might be turned on. On your phone, when NOT connected to OpenVPN, if you see a Key icon to the left of the WiFi and Celluar icons, then Google's or another provider like Duck Duck Go VPN is activated. Double VPN's could conflict with each other.
- Copy Link
- Report Inappropriate Content
I have a fiber connection and openVPN worked good enough in the past. I don't have this double NAT scenario, because my provider only sent me a fiber-to-ethernet modem (which is fine for me), so I really use the ER605 as the only router in my setup. My old phone broke down, so i got a new one. I didn't try to reuse the old openVPN setting (because the setup was so easy the first time), but just created a new one for my new phone, which didn't turn out so easy as the first time.
- Copy Link
- Report Inappropriate Content
@HellBent yep, I understandthar, and I don't think I made any configuration changes that would impact this. I have reliable speeds at both ends and have tried on numerous occasions. Thus has only been a problem for a few weeks.
- Copy Link
- Report Inappropriate Content
I just grabbed my wifes phone with android 13. It the same issue here. openVPN connection established but no routing to internal devices or to the internet. it really looks like an internal routing problem with the openVPN connection.
Additionally I tried a total different IP range e.g. 10.10.0.0 but with no different effect. I'm at a loss here. It can't be that difficult since I already got it working in the past.
Any ideas regrading that strange routing table entry?
- Copy Link
- Report Inappropriate Content
@HellBent I have a Samsung phone with Android 14. I typically run a local DNS-based adblocker that uses VPN and disable that when attempting an OpenVPN connection.
As far as I can tell, Android does not allow simultaneous VPN connections.
I am able to successfully connect to OpenVPN and my device gets an IP address, but no traffic is being routed.
- Copy Link
- Report Inappropriate Content
Information
Helpful: 1
Views: 4589
Replies: 31