You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Wireguard actually works great on iOS, especially with the on-demand feature.
However, it has had the nasty bug for quite some time that a permanent 24/7 connection is not possible if the IP address of the endpoint changes (e.g. because the Wireguard sever is self-hosted via DynDNS). Thus, every morning the connection must be manually disconnected and reconnected. Otherwise, websites simply don't load without an error message, which naturally frustrates users when they have to manually put their iPhone back online.
The issue is neither server-side nor with the client app on the iOS device solvable so far.
Therefore, if "iOS-VPN-Autoconnect" were extended to Wireguard and could contain the simple function: "rebuild the vpn tunnel daily at 6 am", this would make Wireguard really useful for many on iOS.
(or it doesn't have to be a time based automation, it would be enough if the script would support in case of Wireguard "automatically disconnect and reconnect" instead of just "automatically connect" in case of Wireguard, because otherwise the old "dead" tunnel will be reused, like it is the case when you switch on and off the flight mode, the Wireguard client then continues to use the old connection and doesn't establish a new one).
The text was updated successfully, but these errors were encountered:
Perhaps iPhone Shortcuts could help with the recurring task of reconnecting VPN.
Apparently it's possible to call url prefs:root=General&path=VPN and you might be able to have some automation with urls setup once or twice a day. In ios-settings-urls repo there's mention of adding and removing the VPN configuration. That would be interesting to play around with.
Thank you for these ideas!
With iPhone shortcuts you can turn a lot of things on and off (Wifi, BT, flight mode...). But actually not VPN connections.
Unless the VPN app supports that, as is the case with some commercial ones, unfortunately not with Wireguard. That's what brought me to this tool here. :-)
I already tried the solution with prefs:root=General&path=VPN
But this ultimately only opens the VPN settings menu, the reconnection still has to be done manually.
Unfortunately, this is not a real relief compared to a purely manual procedure.
Then we will probably have to wait until Apple adds the VPN option to Shortcuts (or Wireguard, in its app).
Wireguard actually works great on iOS, especially with the on-demand feature.
However, it has had the nasty bug for quite some time that a permanent 24/7 connection is not possible if the IP address of the endpoint changes (e.g. because the Wireguard sever is self-hosted via DynDNS). Thus, every morning the connection must be manually disconnected and reconnected. Otherwise, websites simply don't load without an error message, which naturally frustrates users when they have to manually put their iPhone back online.
The issue is neither server-side nor with the client app on the iOS device solvable so far.
Therefore, if "iOS-VPN-Autoconnect" were extended to Wireguard and could contain the simple function: "rebuild the vpn tunnel daily at 6 am", this would make Wireguard really useful for many on iOS.
(or it doesn't have to be a time based automation, it would be enough if the script would support in case of Wireguard "automatically disconnect and reconnect" instead of just "automatically connect" in case of Wireguard, because otherwise the old "dead" tunnel will be reused, like it is the case when you switch on and off the flight mode, the Wireguard client then continues to use the old connection and doesn't establish a new one).
The text was updated successfully, but these errors were encountered: