Update README

This commit is contained in:
9seconds
2018-07-09 16:31:49 +03:00
parent 29b5130c95
commit 0a3dca90d2
2 changed files with 12 additions and 1 deletions
+12
View File
@@ -38,6 +38,18 @@ mtg is an implementation in golang which is intended to be:
* **No management WebUI** * **No management WebUI**
This is an implementation of simple lightweight proxy. I won't do that. This is an implementation of simple lightweight proxy. I won't do that.
This proxy supports 2 modes of work: direct connection to Telegram and
promoted channel mode. If you do not need promoted channels, I would
recommend you to go with direct mode: this is way more robust.
To run proxy in direct mode, all you need to do is just provide a
secret. If you do not provide ADTag as a second parameter, promoted
channels mode won't be activated.
To get promoted channel, please contact
[@MTProxybot|https://t.me/MTProxybot] and provide generated adtag as a
second parameter.
# How to build # How to build
-1
View File
@@ -21,7 +21,6 @@ docker run \
--sysctl net.ipv4.tcp_congestion_control=bbr \ --sysctl net.ipv4.tcp_congestion_control=bbr \
--sysctl net.ipv4.tcp_fastopen=3 \ --sysctl net.ipv4.tcp_fastopen=3 \
--sysctl net.ipv4.tcp_fin_timeout=30 \ --sysctl net.ipv4.tcp_fin_timeout=30 \
--sysctl net.ipv4.tcp_keepalive_time=1200 \
--sysctl net.ipv4.tcp_max_syn_backlog=4096 \ --sysctl net.ipv4.tcp_max_syn_backlog=4096 \
--sysctl net.ipv4.tcp_max_tw_buckets=5000 \ --sysctl net.ipv4.tcp_max_tw_buckets=5000 \
--sysctl net.ipv4.tcp_mtu_probing=1 \ --sysctl net.ipv4.tcp_mtu_probing=1 \