WebSockets <-> TCP(ADNL) Proxy
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
A
record for your domain
example.com. IN A xxx.xxx.xxx.xxx
- create a
.env
file similar to.env.example
- pass your domain into
.env
- run
make setup-wtih-ssl
- run
git pull
- remove all containers
make docker-rm-all
- run
make setup-wtih-ssl
ormake setup-no-ssl
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.
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
.