trojan: support listen as trojan server

This commit is contained in:
nadoo committed 2020-10-10 19:04:33 +08:00
1 parent 6eda2b79c8
commit 175ef16a5c
17 files changed
+357 -115

No files matched your search

+12
View File
@@ -72,6 +72,15 @@ listen=socks5://:1080
# socks5 over kcp
# listen=kcp://aes:key@127.0.0.1:8444?dataShards=10&parityShards=3,socks5://
# vless server
# listen=vless://UUID@:1234
# vless over tls server
# listen=tls://:1234?cert=/path/to/cert&key=/path/to/key,vless://UUID@?fallback=127.0.0.1:80
# trojan server
#listen=trojan://PASSWORD:1234?cert=/path/to/cert&key=/path/to/key
# FORWARDERS
# ----------
# Forwarders, we can setup multiple forwarders.
@@ -216,6 +225,9 @@ dnsmaxttl=1800
# minimum TTL value for entries in the CACHE(seconds)
dnsminttl=0
# size of CACHE
dnscachesize=4096
# custom records
dnsrecord=www.example.com/1.2.3.4
dnsrecord=www.example.com/2606:2800:220:1:248:1893:25c8:1946