summarylogtreecommitdiffstats
path: root/tgp.toml
blob: d3cfe6dc71488e4efc6284cd3f835265136dbdb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
listen_url = ["0.0.0.0:6666", "[::]:6666"]
# listen_url = "0.0.0.0:6666" #you can specify one listen address
ipv6 = true # try IPv6 while connecting to DC
# optional fallback host for dpi connection testers
host = "google.com:443"
# You can specify global secret for user _ here
secret = "dd000102030405060708090a0b0c0d0e0f"
stats_sock = /run/tgp.sock
# Set socks5 proxy in case you need to use one
socks5 = "127.0.0.1:9050"
# Optional auth
# socks5_user = "test"
# socks5_pass = "test"
# [users]
# 1 = "dd000102030405060708090a0b0c0d0e0f"
# [users.2] 
# secret = "dd101112131415161718191a1b1c1d1e1f"
# socks5_user = "2" # specify auth for user
# socks5_pass = "2"
# [3]
# secret = "dd303132333435363738393a3b3c3d3e3f"
# socks5 = "" # override user 3 to direct conneection
# [4]
# secret = "dd404142434445464748494a4b4c4d4e4f"
# socks5 = "127.0.0.2:9050" # override to different proxy
# socks5_user = "4" 
# socks5_pass = "4"