2021-10-25 14:12:44 +00:00
|
|
|
version: 1
|
|
|
|
log: disable
|
|
|
|
|
|
|
|
servers:
|
|
|
|
test_server:
|
|
|
|
listen:
|
|
|
|
- "0.0.0.0:21341"
|
|
|
|
- "[::]:21341"
|
|
|
|
tls: true
|
|
|
|
sni:
|
|
|
|
proxy.test.com: proxy
|
|
|
|
www.test.com: web
|
|
|
|
default: ban
|
2021-10-26 13:36:12 +00:00
|
|
|
tcp_server:
|
|
|
|
listen:
|
|
|
|
- "127.0.0.1:54500"
|
|
|
|
default: tester
|
2021-10-26 15:52:07 +00:00
|
|
|
tcp_echo_server:
|
|
|
|
listen:
|
|
|
|
- "0.0.0.0:54956"
|
|
|
|
default: echo
|
2021-10-26 13:36:12 +00:00
|
|
|
kcp_server:
|
2021-10-26 15:52:07 +00:00
|
|
|
protocol: kcp
|
|
|
|
listen:
|
|
|
|
- "127.0.0.1:54958"
|
|
|
|
default: tester
|
|
|
|
kcp_echo_server:
|
2021-10-26 13:36:12 +00:00
|
|
|
protocol: kcp
|
|
|
|
listen:
|
|
|
|
- "127.0.0.1:54959"
|
|
|
|
default: echo
|
2021-10-25 14:12:44 +00:00
|
|
|
|
|
|
|
upstream:
|
|
|
|
web: "127.0.0.1:8080"
|
2021-10-26 13:36:12 +00:00
|
|
|
proxy: "www.example.com:1024"
|
|
|
|
tester: "127.0.0.1:54599"
|