This repository has been archived by the owner on Aug 22, 2021. It is now read-only.
Feature: add optional support for tun2SOCKS5 Round Robin Load Balancing #78
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello ambrob72,
i like this project. This is why I do like to share this suggestion back and hacked together a very simple Load Balancing between multiple Socks Servers list from additional parameters in pseudo random Round Robin fashion.
It compiles into release and works fine for me so far as tested by myself only.
I'am not a C programmer and this is why I tried to keep it as simple as possible.
Example for starting with SOCKS5 Server List:
.\badvpn-tun2socks.exe --socks-server-addr [::1]:9050 --socks-server-addr-secondary [::1]:9052 --socks-server-addr-tertiary [::1]:9053 --socks-server-addr-quaternary [::1]:9054 --socks-server-addr-quinary [::1]:9055 --socks-server-addr-senary [::1]:9056 --socks-server-addr-septenary [::1]:9057 --socks-server-addr-octonary [::1]:9058 --socks-server-addr-nonary [::1]:9059 --socks-server-addr-denary [::1]:9060 --socks-server-addr-undenary [::1]:9061 --socks-server-addr-duodenary [::1]:9062 --socks-server-addr-ternidenary [::1]:9063 --tundev "tap0901:TAP:10.128.0.2:10.128.0.0:255.128.0.0" --netif-ipaddr 10.128.0.1 --netif-netmask 255.128.0.0 --netif-ip6addr fc00:0000:0000:0000:0000:0000:0000:0001 --loglevel 5