DefGuard / client

Best WireGuard desktop client with Multi-Factor Authentication
66 stars 9 forks source link

Unable to connect to Wireguard instance after importing config #215

Closed syphernl closed 3 months ago

syphernl commented 3 months ago

I imported my Wireguard config file, which didn't go without a hiccup:

Finally ends up with an imported tunnel:

image

Clicking Connect doesn't work though:

2024-03-13T08:21:14.935866+01:00 frank-laptop defguard-client.desktop[6642]: [2024-03-13][07:21:14][ERROR][k0@tauri://localhost/assets/index-d5216b38.js:68:7119] Invoking connect FAILED
2024-03-13T08:21:14.936439+01:00 frank-laptop defguard-client.desktop[6642]: "IP address parse error: invalid socket address syntax"
2024-03-13T08:21:14.936498+01:00 frank-laptop defguard-client.desktop[6642]: [2024-03-13][07:21:14][ERROR][k0@tauri://localhost/assets/index-d5216b38.js:68:7119] Error handling interface: IP address parse error: invalid socket address syntax

Not sure which IP address it is not liking (see #206)

teon commented 3 months ago

@syphernl by any chance is the server Address a doman name? If it is that's the problem, you need to follow this issue https://github.com/DefGuard/client/issues/213 if you have a domain name. For now, just put the IP.

syphernl commented 3 months ago

@syphernl by any chance is the server Address a doman name? If it is that's the problem, you need to follow this issue #213 if you have a domain name. For now, just put the IP.

Ah yes it is. If I put in the IP it does work fine indeed. Thanks!

teon commented 3 months ago

@syphernl Perfect! Would be great if you joined our Matrix and told us anything about your deployment (no specifics), how did you found defguard, etc. We love to hear and talk about how we could make the product better and more fitted into any use cases...