imgk/shadow

How do I send all UDP packets to the proxy server?

BeOB opened this issue · 3 comments

BeOB commented

I have a question.

How do I send all UDP packets to the proxy server?

Thanks...

imgk commented

Shadowsocks-windivert doesn’t support protocol-related rules. I want to keep this tool as simple as possible and won’t add too many features. If you really need this feature, you can build a customized version by modifying the source code to divert UDP packets only and change the program filter mode from black list to white list. Then you can divert all UDP packets except those sent by shadowsocks.

imgk commented

I found that it is not too hard to add this feature. You can try the dev branch, it provides more functions if you understand how to write a Divert filtering string.

BeOB commented

Thanks for your hard work.