wiresock / ndisapi

Windows Packet Filter library for network packet interception and manipulation, suitable for custom firewall, VPN and traffic analysis applications.
https://www.ntkernel.com/windows-packet-filter/
MIT License
289 stars 78 forks source link

vmware error #14

Closed mudebug77 closed 2 years ago

mudebug77 commented 2 years ago

我想实现一个nat 在vmware中 类似 pcap2cosy 在pcap中可以获取到 网卡列表 在Windows Packet Filter 3.2.32.1 x64 无法获取到网卡列表 pcap : image

ndis image

translate.google : I want to implement a nat in vmware similar to pcap2socks The list of network cards can be obtained in pcap Unable to get network card list in Windows Packet Filter 3.2.32.1 x64

wiresock commented 2 years ago

I can see from your screenshot that the Windows Packet Filter is bound to 5 network interfaces. I think it's confusing to you that it's not tied to VMWare network adapters. However, this is expected behavior. The standard Windows Packet Filter does not bind to certain types of virtual network adapters, including VMWare or WinTun. This is relatively easy to fix though by changing the driver's INF file as it is described here: https://www.ntkernel.com/forums/topic/wintun-support/

Also, for example, custom Windows Packet Filter builds used in https://wiresock.net project do bind to WinTun.

mudebug77 commented 2 years ago

thanks