A fast and high performance socks5 proxy over websocket based on netty.
You require the following to build wsocks:
Latest stable OpenJDK 8 +
Latest stable Apache Maven
mvn package
application.properties
local.host=(the host of local socks5 server)
local.port=(the port of local socks5 server)
ws.host=(the host of local or remote websocket server)
ws.port=(the port of local or remote websocket server)
ws.key=(the encryption key)
ws.obfs=(enable data obfuscation:true or false)
ws.path=(the path of websocket server)
ws.scheme=(the scheme of websocket:ws or wss )
local.host=127.0.0.1
local.port=1081
ws.host=you.domain.org
ws.port=443
ws.key=123456
ws.obfs=true
ws.path=/way-to-freedom
ws.scheme=wss
ws.host=127.0.0.1
ws.port=443
ws.key=123456
ws.obfs=true
ws.path=/way-to-freedom
ws.scheme=wss
java -jar wsocks-cli-1.0-SNAPSHOT.jar --spring.config.location=/data/config/application.properties
java -jar wsocks-srv-1.0-SNAPSHOT.jar --spring.config.location=/data/config/application.properties
docker run -e JAVA_OPTS='-server -Xmx128m -Xms128m' -e ARGS='--spring.config.location=/data/config/application.properties' -v /data/config/application.properties:/data/config/application.properties -d -p 1081:1081 -p 1081:1081/udp --restart=always --name wsocks-cli netbyte/wsocks-cli
docker run -e JAVA_OPTS='-server -Xmx128m -Xms128m' -e ARGS='--spring.config.location=/data/config/application.properties' -v /data/config/application.properties:/data/config/application.properties -d -p 8088:8088 --restart=always --name wsocks-srv netbyte/wsocks-srv
wsocks-cli(wss 443)---->nginx/caddy(tls 443)---->wsocks-srv(ws 8088)
Apache License v2.0