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

How to create tunnel #372

Closed
OlegVladimirov opened this issue Nov 7, 2024 · 1 comment
Closed

How to create tunnel #372

OlegVladimirov opened this issue Nov 7, 2024 · 1 comment

Comments

@OlegVladimirov
Copy link

Hi!
I'm get SSH Websocket parameters from public provider (for example SSH Websocket. Here it's present:

Server: fi2.wstunnel.site
Username: sshocean-name777
Password: ********
Protocol: SSH Websocket
Port:
  - 80, 8080, 8880, 2052, 2082, 2086, 2095
Port SSL/TLS:
  - 443, 2053, 2083, 2087, 2096, 8443
UDPGW:
  - 7200, 7300   
Created: 7 Nov 2024
Expired: 14 Nov 2024
wildcard domain format *.fi2.wstunnel.site
example: cloudflare.com.fi2.wstunnel.site
-----------------------
COPY PAYLOAD (HTTP):    GET / HTTP/1.1[crlf]Host: fi2.wstunnel.site[crlf]Upgrade: websocket[crlf][crlf]
COPY PAYLOAD (SSL/TLS): GET wss://SNI_bug_host/ HTTP/1.1[crlf]Host: fi2.wstunnel.site[crlf]Upgrade: Websocket[crlf]Connection: Keep-Alive[crlf][crlf]

I have Ubuntu and success download binary of wstunnel (wstunnel_10.1.5_linux_amd64). Now unsuccessful try to connect to this server:

./wstunnel client -L tcp://9999:127.0.0.1:22 wss://fi2.wstunnel.site:443
ssh -p 9999 -N -D 43765 sshocean-name777@127.0.0.1


# or
./wstunnel client -L socks5://127.0.0.1:55522 wss://fi2.wstunnel.site:443
ssh -p 55522 -N -D 43765 sshocean-name777@127.0.0.1

Bouth wrong. So, my question is - how to connect to SSH Websocket to get local socks5 proxy?

Copy link

github-actions bot commented Nov 7, 2024

Hello @OlegVladimirov 👋

This issue is being automatically closed because it does not follow the issue template.

@github-actions github-actions bot closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant