jellever / StreamDivert

Redirecting (specific) TCP, UDP and ICMP traffic to another destination.
343 stars 71 forks source link

Support Multi-IP Redirects & Update To Latest WinDivert? #7

Open ndo360 opened 1 year ago

ndo360 commented 1 year ago

Greetings!

I LOVE this program that you made as it helps me play old classic LAN games over the internet once more, without the need of using a VPN service. I was wondering if there is support to forward the same packet to multiple people. This kind of support would help revive older games without the need to rely on VPN software, and enable a more pure and direct connection.

An example of what I am talking about:

udp > 255.255.255.255 7776 -> [FIRST_IP] 7776, [SECOND_IP] 7776, [THIRD IP] 7776, [FORTH IP] 7776

I am unsure if having the same entry within a config file currently works... Mainly as I believe it alters the packets and doesn't copy and forward it. Hope this is a feature that can be supported, as if so that would be just amazing! :-D

ndo360 commented 1 year ago

Assuming I am reading this entry write on WinDivert's website:

It appears that the flag "WINDIVERT_FLAG_SNIFF" may be what is required, and from there just make separate lines within the config file. I am not too technical so I may be wrong. Maybe this could be an additional flag to enter when running the program?