Transport VPN (via Ubiquiti) works great when out and about on mobile. But drops when entering WiFi.

Joined
May 1, 2019
Messages
2,215
Reaction score
3,504
Location
Reno, NV
Really trying to rack my head about this. Unsure if it's a Transport VPN configuration issue or is this simply how VPN works.

When I am away from any Wifi, the Transport VPN on my Android smartphone works fantastic with blazing speed (well, compared to when I used OpenVPN or L2TP).
However, once I enter into a WiFi environment, the Transport VPN says connection refused and stops. Any Wifi....public like Home Deport or even at home.

Is this just how mobile VPN works?
 
Joined
Sep 5, 2015
Messages
653
Reaction score
480
No, that's not how it works. What is your LAN IP address? If your LAN IP address is 192.168.1.x and the public wifi you're connected to also has a LAN IP address range of 192.168.1.x it'll cause issues and you won't be able to connect to your devices within your VPN. Your LAN IP address has to have a different subnet such as 192.168.10.x or 10.27.10.x so it doesn't cause conflicts when you're connected to 3rd party wifi networks.

I'm currently using Open VPN with the Passepartout app on my iPhone. The Passepartout app is a 3rd party app and works with multiple VPN providers such as Open VPN, Wireguard etc. One thing I like about it is when I enter my house and connect to my wifi, it'll automatically disable the VPN since I'm inside my network and it's not needed. When I leave my house and disconnect from my wifi network, it'll automatically reenable the VPN. I'm not sure if this app is available on Android tho.

I'm assuming you're using Transport VPN with the UDM Pro? I ditched my UDMP about a month ago for pfSense and I'm not never looking back. pfSense is so much better than the UDMP and has a lot more features especially when it comes to VPN. I still use the Unifi AP's but I just have them configured with the software controller I installed on my desktop.
 
Joined
May 1, 2019
Messages
2,215
Reaction score
3,504
Location
Reno, NV
got sidetracked with my retaining wall project due to the weather finally being nice.

Let's see...
My LAN IP address is 192.168.1.xxx
However, my VPN LAN address is 192.168.7.xxx
At work, the local LAN IP address on the WiFi is 192.168.0.xxx

Maybe this Transport VPN (since it's kinda brand new to Ubiquiti) does not have the option (not that I can see anwywhere) to automatically fireup VPN when not on Wifi and vice versa. That, so far, is my only issue. Getting close to any WiFi (even when passing by a Starbucks public WiFi), Transport seems to disconnect and the error I get is 'connection refused".
 
Joined
Sep 5, 2015
Messages
653
Reaction score
480
In pfSense there’s an option called “duplicate connections”. Enabling this will allow multiple connections from the same user. I needed to enable this because when I would switch from WiFi to cell or an area that lacks cell service my VPN wouldn’t reconnect because the sever thought I was already connected. Which resulted in my connection being refused.

It’s possible the UDMP has a similar option you can enable.

Or you could buy a used Dell Optiplex with a 7th gen i3 on eBay for about $170 and an intel dual port gigabit NIC on amazon for $40 and switch to pfSense lol.

Then you could sell your UDMP on eBay for close to or more than you bought it for cause apparently they’re in very high demand with little supply.
 
Top