This repository was archived by the owner on Dec 29, 2023. It is now read-only.
- Notifications
You must be signed in to change notification settings - Fork3
WebSockets <-> TCP(ADNL) Proxy
License
NotificationsYou must be signed in to change notification settings
tonstack/wsadnlroxy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
WebSockets <-> TCP(ADNL) Proxy
Prerequisites
GNU bash 5.1 or newerGNU make 3.81 or newerdocker 20.10.17 or newerdocker-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 isGNU GENERAL PUBLIC LICENSE Version 3
, but the repository contains aninit-ssl.sh
file its license isMIT
.