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 2019-05-03 11:57:08

newton
Member
Registered: 2019-05-03
Posts: 2

Configuration error

Hello,

I can't establish WG connection with TunSafe, following error occurs:

[13:49:33] Loading file: C:\Program Files\TunSafe\Config\wg0-client.conf
[13:49:33] TAP is not compatible CIDR /31 or /32. Changing to /24
[13:49:33] TAP Driver Version 9.21 
[13:49:33] SetMtuOnNetworkAdapter IPv4 failed: 1168
[13:49:33] Blocking standard DNS on all adapters
[13:49:33] SetMetricOnNetworkAdapter IPv4 failed: 1168
[13:49:33] Added Route xxx.xxx.xxx.xxx/32  =>  192.168.10.1
[13:49:33] AddRoute failed (1168) 0.0.0.0/1  =>  10.192.122.1
[13:49:33] AddRoute failed (1168) 128.0.0.0/1  =>  10.192.122.1
[13:49:33] Unable to add new default ipv4 route.
[13:49:33] FlushIpNetTable failed: 0x490
[13:49:33] Deleted Route xxx.xxx.xxx.xxx/32  =>  192.168.10.1

Client config:

[Interface]
PrivateKey = xxxxxxxxxxxxxxxxxxxxxxxxxx
Address = 10.192.122.101/32
DNS = 1.1.1.1

[Peer]
PublicKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AllowedIPs = 0.0.0.0/0
Endpoint = xxx.xxx.xxx.xxx:51820

Server config:

[Interface]
Address = 10.192.122.1/24
SaveConfig = true
ListenPort = 51820
PrivateKey =xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

[Peer]
PublicKey = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AllowedIPs = 10.192.122.101/32

Please help with that. What could be wrong there?

Offline

#2 2019-05-03 13:15:27

newton
Member
Registered: 2019-05-03
Posts: 2

Re: Configuration error

Nevermind, the problem has been probably solved - I did uninstall Hyper-V (used for development purposes), uninstalled its network interfaces and problem has been solved.

Please adjust TunSafe to work correctly with the Hyper-V.

Offline

Board footer

Powered by FluxBB