dswd / vpncloud

Peer-to-peer VPN
https://vpncloud.ddswd.de
Other
1.8k stars 159 forks source link

The binary build by myself can't automaitc set TUN IP Correctly #335

Closed Handsome1080P closed 1 year ago

Handsome1080P commented 1 year ago

I had built by mysel with latest RUST,configrations below:

mode: normal listen: 5000 ip: 10.88.0.1 port-forwarding: false peer-timeout: 300 keepalive: 25 device: name: tun0 type: tun fix-rp-filter: false claims: - 0.0.0.0/0 crypto: password: "634218"

mode: normal ip: 10.88.0.2 port-forwarding: false peer-timeout: 300 keepalive: 25 device: name: tun0 type: tun fix-rp-filter: false crypto:password: "634218" peers: - 192.168.250.110:5000

image.png image.png

image.png

paluszak commented 1 year ago

I have exactly the same problem, vpncloud built with 1.64.0

Handsome1080P commented 1 year ago

I have exactly the same problem, vpncloud built with 1.64.0

any solutions?

dswd commented 1 year ago

Hi there, it seems that libc changed something recently. I fixed that issue in a different branch already but did not have the time to port the fix to the master version (I am working on a multithreaded version which will replace master sometime soon). Here is the commit of the fix: ca4ad2769dc9be1a027bb15cc56f63a1906d6dc7.

Handsome1080P commented 1 year ago

Hi there, it seems that libc changed something recently. I fixed that issue in a different branch already but did not have the time to port the fix to the master version (I am working on a multithreaded version which will replace master sometime soon). Here is the commit of the fix: ca4ad2769dc9be1a027bb15cc56f63a1906d6dc7.

Thx a lot