Very simple windows tun, base on NetAdapterCx. This is used for ForNet.
- Download the driver files at Release Page
- write rust code like example, replace guid with your own defined and inf_path to the proper path.
Windows Version: Newer than Windows 10, version 2004.(We have tested with Windows 11)
Architecture Platform: x86_64.
We may support aarch64
and Win 10 later. If you have any idea, feel free to open issue.
Because of the EV certifacte, It may be very hard for developer to build the certificated driver. We just write this for a guide of our own to release the driver.
# after build the driver with Visual Studio.
cp .\ForTun\fortun.ddf .\ForTun\x64\Release\ForTun\
cp .\ForTun\x64\Release\ForTun.pdb .\ForTun\x64\Release\ForTun\ForTun.pdb
cd .\ForTun\x64\Release\ForTun
MakeCab /f "fortun.ddf"
# sign dist1/fortun.cab with EV certifacter
# go to https://partner.microsoft.com/zh-cn/dashboard/hardware/Search to submit and signed with Windows.
There's also a simple tutorial to tell you how develop and debug Windows driver in Chinese.
- release rust client code to crate.io
- support win10 and test.
- add Git Action to build unsigned driver.