How to avoid loopback in wintun?
I created a interface using wintun and imported all traffic into this interface through the default route (0.0.0.0/0->wintun IP). The problem now is that packets received by the tun interface are sent, but due to the default route, the packets return, causing a loopback. In Linux, I bound the socket to a real interface using SO_BINDTOVICE, and the packet will be sent directly. How can I avoid loopback in Windows?
Poor WinDivert performance
I am getting extremely bad download performance out of WinDivert and need help fixing it. I am using WinDivertSharp version 1.4.3.3 for my .NET C# application in tandem with the WinDivert driver. It runs fine but when I use speedtest.net my download speed gets more than halved while my ping gets quintupled. The odd thing is my download speed stays relatively static with and without using it. This made me think that maybe since my download is so much greater than my upload my C# thread is bottlenecking? If that is the case is there a way, I can run multiple threads to handle this or something?