Wsadnlroxy
WebSockets <-> TCP(ADNL) Proxy
Install / Use
/learn @tonstack/WsadnlroxyREADME
wsadnlroxy
WebSockets <-> TCP(ADNL) Proxy
fast setup with ssl (ubuntu linux)
Prerequisites
GNU bash 5.1 or newer
GNU make 3.81 or newer
docker 20.10.17 or newer
docker-compose 1.29.2 or newer
- create an
Arecord for your domain
example.com. IN A xxx.xxx.xxx.xxx
- create a
.envfile similar to.env.example - pass your domain into
.env - run
make setup-wtih-ssl
how to upgrade
- run
git pull - remove all containers
make docker-rm-all - run
make setup-wtih-sslormake setup-no-ssl
connection string
wss://host:port/?ip={}&port={}&pubkey={}
ip– liteserver signed integer IPport– liteserver unsigned integer TCP portpubkey– liteserver base64 public key (percent-encoding)
note: public key information is used to check the connection to the liteserver. The proxy works transparently, all cryptography, which is associated with ADNL, must be on the client.
License
The main license of this repository is GNU GENERAL PUBLIC LICENSE Version 3, but the repository contains an init-ssl.sh file its license is MIT.
