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-12-24 14:31:56

haraldj
Member
Registered: 2018-12-24
Posts: 1

Code problem

Dear developer,

there is a code bug when having multiple peers:

[14:24:14] Loading file: C:\Program Files\TunSafe\Config\TunSafe.conf
[14:24:14] TAP Driver Version 9.21
[14:24:14] Added Route 10.139.11.1/32  =>  192.168.0.1
[14:24:14] Added Route 10.139.11.3/32  =>  192.168.0.1
[14:24:14] Sending handshake...
[14:24:14] Sending handshake...
[14:24:14] Connection established. IP 192.168.0.4

[Peer]
.
AllowedIPs = 192.168.0.1/32,10.139.11.1/32
.

[Peer]
.
AllowedIPs = 192.168.0.3/32,10.139.11.3/32
.

As you can see the IP added to the second peer is the one from the first peer.

Kind regards
Harald Jenny

Offline

#2 2018-12-30 21:33:17

ludde
Administrator
Registered: 2018-03-09
Posts: 124

Re: Code problem

It doesn't matter that it says 192.168.0.1, that's just one of the IPs within the network card's range so it will be routed to the right interface.

Offline

Board footer

Powered by FluxBB