mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
trojan: support listen as trojan server
This commit is contained in:
1 parent
6eda2b79c8
commit
175ef16a5c
17 files changed
+357
-115
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user