-
I'm currently involved in a VPN project utilizing SharpPCAP on the client side, which can be found here: https://github.com/vpnhood/VpnHood. I'm keen to explore the possibility of using SharpPCAP for the server side as well. I've observed that the TunnelDevice.GetTunnelInterfaces method returns an empty array when running it on a Linux virtual machine (VM). I'm wondering if SharpPCAP TunnelDevice is compatible with Linux, as I couldn't locate any examples or documentation showcasing the use of SharpPCAP with TunnelDevice on Linux. Any guidance or insights on this matter would be greatly appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, It is tested to be working on ubuntu, you will need to create the tuntap device using Please take into account that unlike Windows, tuntap requires sudo access by default on Linux. |
Beta Was this translation helpful? Give feedback.
Hi,
It is tested to be working on ubuntu, you will need to create the tuntap device using
ip tuntap add mode tap
.Please take into account that unlike Windows, tuntap requires sudo access by default on Linux.