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

[Support] Help with socks5 on Heroku #43

Open
lexesv opened this issue Aug 27, 2017 · 3 comments
Open

[Support] Help with socks5 on Heroku #43

lexesv opened this issue Aug 27, 2017 · 3 comments

Comments

@lexesv
Copy link

lexesv commented Aug 27, 2017

Hello.
I trying:

~/bin $ ./chisel_linux_amd64 server --port 9312 --socks5
2017/08/27 18:08:00 server: SOCKS5 Enabled
2017/08/27 18:08:00 server: Fingerprint 2b:01:b4:8b:26:a5:24:5a:e2:b8:02:fa:58:96:ee:35
2017/08/27 18:08:00 server: Listening on 9312

but got

./chisel_linux_amd64 client --fingerprint 2b:01:b4:8b:26:a5:24:5a:e2:b8:02:fa:58:96:ee:35  https://pacific-refuge-52999.herokuapp.com:9312 1080:socks
2017/08/27 21:10:49 client: Connecting to wss://pacific-refuge-52999.herokuapp.com:9312
2017/08/27 21:10:49 client: tunnel#1 127.0.0.1:1080=>socks: Listening
2017/08/27 21:10:50 client: Retrying in 100ms...
2017/08/27 21:10:52 client: Retrying in 200ms...
2017/08/27 21:10:53 client: Retrying in 400ms...
2017/08/27 21:10:55 client: Retrying in 800ms...
2017/08/27 21:10:57 client: Retrying in 1.6s...

What am I doing wrong?

telnet pacific-refuge-52999.herokuapp.com 9312
Trying 23.23.116.0...
Trying 23.21.155.56...
Trying 23.23.120.204...
Trying 23.23.117.76...
Trying 23.21.142.10...
Trying 23.21.45.51...
Trying 23.21.181.176...
Trying 23.23.126.158...
telnet: Unable to connect to remote host: Connection refused

@jpillora
Copy link
Owner

What's port 9312? Are you binding to $PORT?

@lexesv
Copy link
Author

lexesv commented Aug 28, 2017

No, but if

server
chisel server --port $PORT --socks5 -v --proxy http://google.com

client
The connection falls off after the request in the browser through the proxy (14:49:13, 14:50:33 )

./chisel_linux_amd64 client --keepalive 10s  https://boiling-peak-73284.herokuapp.com 1080:socks
2017/08/28 14:48:40 client: Connecting to wss://boiling-peak-73284.herokuapp.com:443
2017/08/28 14:48:40 client: tunnel#1 127.0.0.1:1080=>socks: Listening
2017/08/28 14:48:41 client: Fingerprint df:79:f4:ac:27:18:be:1c:c9:ed:7e:41:0e:95:ba:78
2017/08/28 14:48:42 client: Connected (Latency 148.673529ms)
2017/08/28 14:49:13 client: Retrying in 100ms...
^C
./chisel_linux_amd64 client --keepalive 10s  https://boiling-peak-73284.herokuapp.com 1080:socks
2017/08/28 14:49:33 client: Connecting to wss://boiling-peak-73284.herokuapp.com:443
2017/08/28 14:49:33 client: tunnel#1 127.0.0.1:1080=>socks: Listening
2017/08/28 14:49:34 client: Fingerprint 50:3a:e4:2b:4e:95:b8:ab:75:39:d6:9e:f4:46:95:05
2017/08/28 14:49:35 client: Connected (Latency 142.639984ms)
2017/08/28 14:50:33 client: Retrying in 100ms...
2017/08/28 14:50:39 client: Retrying in 200ms...
2017/08/28 14:50:40 client: Retrying in 400ms...
2017/08/28 14:50:41 client: Retrying in 800ms...

@jpillora
Copy link
Owner

jpillora commented Oct 1, 2017

Can you enable verbose logging on the server and post logs?

@jpillora jpillora changed the title Please, example for heroku socks [Support] Help with socks5 on Heroku Oct 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants