-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can it be used together with Xray? #14
Comments
To clarify:
|
yes,I use Xray as my local SOCKS server. I only use socks client from this package,and start Xray to listen on port 10808.
The local Xray server works well with hev-socks5-tunnel.
|
Oh I see the issue now. socks5_proxy:
git:
url: git://github.com/lacticwhale/socks_dart.git
ref: lookup And add SocksTCPClient.assignToHttpClient(
client, [ProxySettings(InternetAddress("127.0.0.1"), 10808)], // to connect local Xray socks5 server
tryLookup: true,
); If it helped I will polish this feature and put into next release. |
works well,thank you |
Ok I will do a better interface and release update soon. The problem was that some socks5 proxy don't do DNS lookup, they usually noted as socks5h. |
I have a bold idea to use it together with Xray.Route WebView traffic to port 10808, start Xray to listen on port 10808. When WebView accesses http://**********, Xray reports an error: 'rejected proxy/socks: failed to read address > common/protocol: invalid domain name: **********' Do you know what the problem might be? I'm sure the Xray configuration is correct because it works fine when I use hev-socks5-tunnel.I set up a SOCKS5 server using https://github.com/Lozy/danted, and this Flutter code also works fine.
The text was updated successfully, but these errors were encountered: