Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Dec 29, 2023. It is now read-only.
/wsadnlroxyPublic archive

WebSockets <-> TCP(ADNL) Proxy

License

NotificationsYou must be signed in to change notification settings

tonstack/wsadnlroxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebSockets <-> TCP(ADNL) Proxy

fast setup with ssl (ubuntu linux)

Prerequisites

GNU bash 5.1 or newerGNU make 3.81 or newerdocker 20.10.17 or newerdocker-compose 1.29.2 or newer
  1. create anA record for your domain
example.com. IN A xxx.xxx.xxx.xxx
  1. create a.env file similar to.env.example
  2. pass your domain into.env
  3. runmake setup-wtih-ssl

how to upgrade

  1. rungit pull
  2. remove all containersmake docker-rm-all
  3. runmake setup-wtih-ssl ormake setup-no-ssl

connection string

wss://host:port/?ip={}&port={}&pubkey={}
  • ip – liteserver signed integer IP
  • port – liteserver unsigned integer TCP port
  • pubkey – 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 isGNU GENERAL PUBLIC LICENSE Version 3, but the repository contains aninit-ssl.sh file its license isMIT.

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp