|
| 1 | +upstreams = [] |
| 2 | +show_link = [] |
| 3 | + |
| 4 | +[general] |
| 5 | +ad_tag = "{{ hconfigs['telegram_adtag'] }}" |
| 6 | +prefer_ipv6 = false |
| 7 | +fast_mode = true |
| 8 | +use_middle_proxy = false |
| 9 | +middle_proxy_nat_probe = false |
| 10 | +middle_proxy_nat_stun_servers = [] |
| 11 | +middle_proxy_pool_size = 2 |
| 12 | +middle_proxy_warm_standby = 0 |
| 13 | +me_keepalive_enabled = true |
| 14 | +me_keepalive_interval_secs = 25 |
| 15 | +me_keepalive_jitter_secs = 5 |
| 16 | +me_keepalive_payload_random = true |
| 17 | +me_warmup_stagger_enabled = true |
| 18 | +me_warmup_step_delay_ms = 500 |
| 19 | +me_warmup_step_jitter_ms = 300 |
| 20 | +me_reconnect_max_concurrent_per_dc = 1 |
| 21 | +me_reconnect_backoff_base_ms = 500 |
| 22 | +me_reconnect_backoff_cap_ms = 30000 |
| 23 | +me_reconnect_fast_retry_count = 1 |
| 24 | +stun_iface_mismatch_ignore = false |
| 25 | +unknown_dc_log_path = "unknown-dc.txt" |
| 26 | +log_level = "normal" |
| 27 | +disable_colors = false |
| 28 | + |
| 29 | +[general.modes] |
| 30 | +classic = true |
| 31 | +secure = true |
| 32 | +tls = true |
| 33 | + |
| 34 | +[general.links] |
| 35 | +show = [] |
| 36 | + |
| 37 | +[network] |
| 38 | +ipv4 = true |
| 39 | +prefer = 4 |
| 40 | +multipath = false |
| 41 | + |
| 42 | +[server] |
| 43 | +port = 1001 |
| 44 | +listen_addr_ipv4 = "127.0.0.1" |
| 45 | +listen_addr_ipv6 = "::1" |
| 46 | +proxy_protocol = true |
| 47 | +metrics_port=10087 |
| 48 | +metrics_whitelist = [ |
| 49 | + "127.0.0.1/32", |
| 50 | + "::1/128", |
| 51 | +] |
| 52 | +listeners = [] |
| 53 | + |
| 54 | +[timeouts] |
| 55 | +client_handshake = 15 |
| 56 | +tg_connect = 10 |
| 57 | +client_keepalive = 60 |
| 58 | +client_ack = 300 |
| 59 | +me_one_retry = 3 |
| 60 | +me_one_timeout_ms = 1500 |
| 61 | + |
| 62 | +[censorship] |
| 63 | +tls_domain = "{{ hconfigs['telegram_fakedomain'] }}" |
| 64 | +tls_domains = [] |
| 65 | +mask = true |
| 66 | +mask_port = 443 |
| 67 | +fake_cert_len = 2048 |
| 68 | +tls_emulation = false |
| 69 | +tls_front_dir = "tlsfront" |
| 70 | + |
| 71 | +[access] |
| 72 | +replay_check_len = 65536 |
| 73 | +replay_window_secs = 1800 |
| 74 | +ignore_time_skew = false |
| 75 | + |
| 76 | +[access.users] |
| 77 | +default = "{{ hconfigs['shared_secret'].replace("-","") }}" |
| 78 | +{% for u in users %} |
| 79 | +{{ u['uuid'].replace("-","") }} = "{{ u['uuid'].replace("-","") }}" |
| 80 | +{% endfor%} |
| 81 | + |
| 82 | +[access.user_max_tcp_conns] |
| 83 | + |
| 84 | +[access.user_expirations] |
| 85 | + |
| 86 | +[access.user_data_quota] |
| 87 | + |
| 88 | +[access.user_max_unique_ips] |
| 89 | + |
| 90 | +[dc_overrides] |
0 commit comments