TunSafe Forum

Welcome to the TunSafe Community Forum. This is open for discussions related to TunSafe and the WireGuard protocol.

You are not logged in.

#1 2018-05-16 11:08:44

Siavash
Member
Registered: 2018-05-16
Posts: 8

Windows 10 - Multiple interfaces

Hi

On my PC, I have internet connection on 2 interfaces: Wifi and Lan

When setting the allowedips=0.0.0.0/0 to route all traffic, it does correctly set routing on the wifi interface (including direct routing to the endpoint) and connection goes smoothly , but when I disconnect the wifi and use internet from Lan, it fails to set the direct routing of the endpoint, causing no route for itself to initiate the handshake. (Of course the direct route to endpoint is essential. If not set, tunsafe won't be able to SEE the endpoint)

I tried exiting and re-launching the client with wifi disconnected, hoping that tunsafe might understand the internet-connected interface is now Lan, but it didn't.

How do you suggest to fix the issue? I'm copying my config file below:

PS: My windows 10 version is NOT 17661

[Interface]
PrivateKey = ....
DNS = 8.8.8.8
Address = 10.3.0.2/24
BlockDNS = true
MTU = 1420


[Peer]
PublicKey = .....
AllowedIPs = 0.0.0.0/0
Endpoint = myWGserver:48574
PersistentKeepalive = 25

Last edited by Siavash (2018-05-16 11:11:20)

Offline

Board footer

Powered by FluxBB