Skip to content
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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

4-FLOSS-Free-Libre-Open-Source-Software

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

@ambrop72
Copy link
Owner

ambrop72 commented Jun 2, 2019

Thanks for your contribution. Note that I am no longer actively working on this project, I will need to get around to checkout out this and the other pull request. Hopefully in a week or two.

@ReginaldRucker
Copy link

ReginaldRucker commented Jun 2, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants