Ovpn won't reconnect while on LAN until 5 minutes later..

Post Reply
nukezero
OpenVpn Newbie
Posts: 1
Joined: Mon May 13, 2019 5:53 pm

Ovpn won't reconnect while on LAN until 5 minutes later..

Post by nukezero » Mon May 13, 2019 5:56 pm

So I seemed to have found a strange bug.

I have OVPN server setup on my internal home network on a raspberry pi.

When my iPhone is on cellular data mode, I can quickly connect/disconnect Ovpn session very fast. No issues.

But when I connect my iPhone to my home Wifi network, all on the same subnet as the RPI where the Ovpn server is, then when I connect to VPN for the FIRST time, it works!! Then when I disconnect, and reconnect...it hangs. Try again and again, it hangs and says it can't connect.

About around 5 minutes later, it all works again! I can connect 1 time only, then subsequent disconnect/reconnect will fail again and again until 5 minutes have elapsed.

What is going on and why is this behavior only observed when the iPhone is connected to the same LAN?

Post Reply