mirror of
https://github.com/alexbers/mtprotoproxy.git
synced 2026-03-14 07:13:09 +00:00
28 lines
681 B
Python
28 lines
681 B
Python
PORT = 443
|
|
|
|
# name -> secret (32 hex chars)
|
|
USERS = {
|
|
"tg": "00000000000000000000000000000001",
|
|
# "tg2": "0123456789abcdef0123456789abcdef",
|
|
}
|
|
|
|
MODES = {
|
|
# Classic mode, easy to detect
|
|
"classic": False,
|
|
|
|
# Makes the proxy harder to detect
|
|
# Can be incompatible with very old clients
|
|
"secure": False,
|
|
|
|
# Makes the proxy even more hard to detect
|
|
# Can be incompatible with old clients
|
|
"tls": True
|
|
}
|
|
|
|
# The domain for TLS mode, bad clients are proxied there
|
|
# Use random existing domain, proxy checks it on start
|
|
# TLS_DOMAIN = "www.google.com"
|
|
|
|
# Tag for advertising, obtainable from @MTProxybot
|
|
# AD_TAG = "3c09c680b76ee91a4c25ad51f742267d"
|