nknorg / nconnect

Securely connect to remote machines without the need of any server, public IP address, or publicly exposed ports.
Apache License 2.0
109 stars 32 forks source link

Failed to open TUN device #40

Open Masir01 opened 2 years ago

Masir01 commented 2 years ago

OS: windows_10_pro_21H2_19044.1806 tap-windows: v9.9.2 nConnect: v1.0.8

1, When I use VPN mode 1657454562543

2, When I create a network called "nconnect tap0" 微信图片_20220710200305

3, C(37{`U9Y$8@F$GA8SSOU83

Masir01 commented 2 years ago

Didn't I use it correctly?

yilunzhang commented 2 years ago

Have you checked this part in readme?

If you are using windows, you will need to install the network adaptor driver and change adaptor info beforehand. The simplest way of doing that is to install nConnect client for windows before using nConnect command line version.

You can download nConnect client for windows at https://nconnect-releases.nkn.org/client/windows/nConnect.exe

Masir01 commented 2 years ago

I have tested the manual creation and installation of clients when adding network cards, but they are not allowed

yilunzhang commented 2 years ago

It's a bit tricky to do it manually. Have you tried installing nConnect client? It will set those things for you during installation

Masir01 commented 2 years ago

I have installed nconnect client ,reported error too

yilunzhang commented 2 years ago

So you got the same error as in your 2nd image?

Masir01 commented 2 years ago

yes!

yilunzhang commented 2 years ago

It seems to be a problem in this library go-tun2socks and I haven't found a solution yet...

Masir01 commented 2 years ago

ok.Look forward to the good news from the next update.