passepartoutvpn / passepartout-app

VPN client for Apple platforms.
https://passepartoutvpn.app
GNU General Public License v3.0
775 stars 119 forks source link

Implement WireGuard in providers #392

Open keeshux opened 6 months ago

keeshux commented 6 months ago

Strictly depending on server. Async involved.

Experiment with IVPN infrastructure:

Will need a custom map in Profile.Provider.Settings for VPN-specific seetings beyond serverId/presetId.

Also an issue was opened in api-source-torguard.


IVPN

Generates and uploads to server.

Mullvad

WireGuard returns IPv4/6 based on:

So no WireGuard info in preset. Just use infrastructure for endpoints (aka peers).

Peer:

Parameters are fetched via web services and account (cache locally or fetch each connection?). Also needs public key of locally generated private key.

Generate private key when creating a WireGuard provider profile.