Skip to content

A secure proxy based on WebSocket. 一个基于 WebSocket 的代理工具

License

Notifications You must be signed in to change notification settings

StduMa/websocks

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebSocks

教程资源 中文说明 Telegram Group

A secure proxy based on websocket.

This project is still working in progress, more features are still in development. If you are interested in this project, please star this project in order to support me. Thank you.

If you have any problems or suggestions, please do not hesitate to submit issues or contact me @halulu. We also have a telegram group (mostly Chinese, English is ok).

Advantages:

  • Using WebSocket and TLS which are very secure and difficult to be detected, same as regular HTTPS websites
  • Can be used with cdn such as cloudflare, not afraid of gfw at all!

The disadvantage is that I have just started development, there is no GUI client, and features are not enough. I will appreciate if you can help me!

To-Do: WebSocks mux

Example

Built-in TLS with fake server name and reversing proxy

Server

./websocks cert
./websocks server -l :2333 -p /password --proxy https://www.centos.org/ --tls

Local

./websocks client -l :1080 -s wss://the-real-server.com:2333/password -n www.centos.com --insecure

Caddy TLS

Server

./websocks server -l :2333 -p /password

Local

./websocks client -l :1080 -s wss://server.com/password

Caddyfile

https://server.com {
  proxy /password localhost:2333 {
    websocket
  }
}

About

A secure proxy based on WebSocket. 一个基于 WebSocket 的代理工具

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%