Merge pull request #8 from qzi/Dev

add trojan xtls sample
This commit is contained in:
Meta 2022-02-06 03:52:41 +08:00 committed by GitHub
commit 52c37f7140
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -175,6 +175,7 @@ Support outbound transport protocol `VLESS`.
The XTLS support TCP/UDP by the XRAY-CORE.
```yaml
proxies:
# Vless + TCP Sample
- name: "vless-tcp"
type: vless
server: server
@ -185,6 +186,7 @@ proxies:
# flow: xtls-rprx-direct # xtls-rprx-origin # enable XTLS
# skip-cert-verify: true
# Vless + WS Sample
- name: "vless-ws"
type: vless
server: server
@ -197,6 +199,17 @@ proxies:
ws-path: /path
ws-headers:
Host: example.com
# Trojan + XTLS Sample
- name: "proxy name"
type: trojan
server: server name
port: 443
password: password
udp: true
servername: server name # AKA SNI
flow: xtls-rprx-direct # Enable XTLS: xtls-rprx-direct | xtls-rprx-origin
skip-cert-verify: false
```
### IPTABLES auto-configuration