extremecoders-re / go-dispatch-proxy

SOCKS5/Transparent load balancing proxy developed in Go, combines multiple internet connections
MIT License
286 stars 46 forks source link

Dispatch Proxy not working #29

Open gaamaaresosa opened 1 year ago

gaamaaresosa commented 1 year ago

Both network adopter working. When I call below command I get the below result. After that I set Internet proxy on Socks localhost:8080 But I see no internet.

On same system older node-js dispatch-proxy version works great. Please check the bug.

go-dispatch-proxy.exe 192.168.1.11 192.168.187.34

EDIT: I get below error:

[INFO] Load balancer 1: 192.168.1.11, contention ratio: 1 [INFO] Load balancer 2: 192.168.187.34, contention ratio: 1 [INFO] Local server started on 127.0.0.1:8080 [WARN] unsupported SOCKS version [WARN] unsupported SOCKS version [WARN] unsupported SOCKS version [WARN] unsupported SOCKS version [WARN] unsupported SOCKS version [WARN] unsupported SOCKS version [WARN] unsupported SOCKS version [WARN] unsupported SOCKS version

Windows 10 64bit

extremecoders-re commented 1 year ago

Please check the SOCKS version. Go dispatch proxy only supports SOCKS v5.

gaamaaresosa commented 1 year ago

I set SOCKS as mentioned below: I do same thing for older Dispatch-Proxy Node-Js version which works fine. But this go-dispatch-proxy doesn't work.

In Windows 10 Internet Control Panel > Internet Options > Connections > Lan Settings > Proxy Server (Enabled) > Advance Socks: localhost : 1080

extremecoders-re commented 1 year ago

Unfortunately windows only support SOCKS4, not SOCKS5.

However if you're using a browser like Firefox you can specify the SOCKS5 proxy in Firefox Options. For Chrome you can use an extension like Proxy SwitchyOmega.

gaamaaresosa commented 1 year ago

Thanks again extremecoders-re ! That's unfortunate, because each and every windows application we can't set SOCKS5 Can't you have an option to toggle SOCKS/SOCKS5 ?

gaamaaresosa commented 1 year ago

Important doubt : Can we use this bonding technology for video streaming ?

extremecoders-re commented 1 year ago

Can't you have an option to toggle SOCKS/SOCKS5 ?

For this to work, SOCKS4 protocol support has to be coded before such a toggle option. There are other tools which you can try: https://github.com/yyyar/gobetween https://github.com/alexkirsz/dispatch

Can we use this bonding technology for video streaming ?

Not sure the context of this question. Bonding can be used for any network uses case including video streaming.

gaamaaresosa commented 1 year ago

Thanks for your kind help. I will explore.

gitzec commented 10 months ago

windows can do socks 5: https://github.com/extremecoders-re/go-dispatch-proxy/issues/11#issuecomment-1847487664

50494554524F commented 7 months ago

windows can do socks 5: #11 (comment)

this method works but go-dispatch-proxy uses only one interface... why?! thanks

50494554524F commented 7 months ago

windows can do socks 5: #11 (comment)

this method works but go-dispatch-proxy uses only one interface... why?! thanks

nevermind, this settings doesn't survive a reboot... i just created a batch to open chrome using proxy directives