Open PayaMousavi opened 2 years ago
Should be fixed now, under proxy.java is where you set your socks IP and Port.
thanks for the fix!
but it just got more confusing
is this app even work?
it managed to connect to socks5 server but opening a site like https://checkip.amazonaws.com/ will download a file i don't know why
with many 19390-19411/jtun2socks.shadowrouter.org.jtun2socks W/System: A resource failed to call close.
in the logcat
Likely I missed some output or socket close, thats due to a "file" closing. The app works perfectly, and as intended. It is just a global socks proxy client, if it is downloading content it may be the site, your browser or the proxy. Files will download due to content type, which is not changed at all within the tunnel.
try going to https://www.google.com when you browse using Chrome and double check your Socks proxy. This app doesn't support UDP, however thats not used in HTTP/HTTPS.
as u can see i get ssl error on google.com with VPN: https://user-images.githubusercontent.com/59400836/149618688-2c6429cb-9c25-42c3-a5ce-473f3496e960.mp4 i test proxy server with other clients like socksdroid and it works fine
As i stated earlier the proxy.java specifies the ip address and port.
The gui does not do anything at all, i forgot to implement it.
Just look for the ip address and port within the class change it and youll be good to go.
Yes i changed proxy server ip in proxy.java file, if it was wrong address it show no internet error but this is different
I don't think the issue is with the code, I have tested this just now with 5 phones with 5 different SOCKS5 servers and I'm having no issues.
The issue displayed in the video is due to ether an invalid SOCKS server or configuration to the server.
I tried with diffrent proxy servers and still it doesn't connect could you pls name your proxy server you are using?
Try running this: https://github.com/DrBrad/OpenProxy The IP address is your machines IP and the port is 8080. I did notice that the client did act odd the first time running it.
Hey, you did a amazing job created android socks5 client in java! i want to use it but i get this error while building in android studio:
i wasn't able to fix it(did build but doesn't connect) so if u could fix it and push update it would be really helpful