Tunn
A minimal, cross-platform SSH WebSocket tunneling tool for free internet.
Installation
go install github.com/FreeNetLabs/tunn@latest
Usage
- Create a
config.json file:
{
"host": "example.com",
"port": 22,
"auth": {
"user": "root",
"pass": "secret"
},
"local": {
"type": "http",
"port": 1080
},
"payload": "GET / HTTP/1.1\r\nHost: example.com\r\nUpgrade: websocket\r\n\r\n",
"timeout": 30,
"tls": {
"sni": "example.com"
}
}
- Run the tunnel:
tunn -config config.json
- Connect your applications through the local proxy at
127.0.0.1:1080.
License
MIT License