Skip to content

Could one use this great tool to (re)connect Wireguard automatically? #20

@WolfgangDpunkt

Description

@WolfgangDpunkt

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions