How to break out of Windows raw sockets to send UDP datagrams where the source ip does not exist on the network interface
I hope to implement a proxy UDP traffic function in WFP, proxy the traffic to the local proxy program, and forward it to my remote UDP proxy server by the local proxy program
WFP has some problems with the UDP redirection processing function. The community did say that it was a Microsoft problem. I tried to bypass those problems, but I encountered a problem that I couldn’t solve:
Some applications use the Connect function for UDP sockets, causing my local proxy to reply data to the application. Because the source IP of the datagram replied to the application does not match the target IP of the data sent by the application UDP, the operating system discards my local proxy’s reply