mirror of
https://github.com/seriyps/mtproto_proxy.git
synced 2026-08-04 07:08:10 +00:00
Signed-off-by: raytosa <rayto_sa@163.com>
This commit is contained in:
parent
5ad7c536da
commit
9da50be1bd
2 changed files with 22 additions and 8 deletions
14
.vscode/launch.json
vendored
Normal file
14
.vscode/launch.json
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
// Use IntelliSense to learn about possible attributes.
|
||||
// Hover to view descriptions of existing attributes.
|
||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"name": "Launch erlang",
|
||||
"type": "erlang",
|
||||
"request": "launch",
|
||||
"cwd": "${workspaceRoot}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -4,14 +4,14 @@
|
|||
%% see src/mtproto_proxy.app.src for examples.
|
||||
[
|
||||
%% PUT YOUR CUSTOM SETTINGS BELOW vvvvv
|
||||
|
||||
%% {ports,
|
||||
%% [#{name => mtp_handler_1,
|
||||
%% listen_ip => "0.0.0.0",
|
||||
%% port => 1443,
|
||||
%% secret => <<"d0d6e111bada5511fcce9584deadbeef">>,
|
||||
%% tag => <<"dcbe8f1493fa4cd9ab300891c0b5b326">>}
|
||||
%% ]}
|
||||
{allowed_protocols, [mtp_fake_tls]}, %%-----yhb Only allow fake-TLS connections with ee/base64-secrets
|
||||
{ports,
|
||||
[#{name => mtp_handler_1,
|
||||
listen_ip => "0.0.0.0",
|
||||
port => 1443,
|
||||
secret => <<"44e38d07b3860dbc0bd31370ac0b3df2">>,
|
||||
tag => <<"2babdb5675cb08376c23013d68c3159d">>}
|
||||
]}
|
||||
%% ^^^^^ END
|
||||
]},
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue