add trojan xtls sample
This commit is contained in:
parent
87ac32eac9
commit
30c6d40f3b
1 changed files with 14 additions and 1 deletions
15
README.md
15
README.md
|
@ -175,6 +175,7 @@ Support outbound transport protocol `VLESS`.
|
||||||
The XTLS support TCP/UDP by the XRAY-CORE.
|
The XTLS support TCP/UDP by the XRAY-CORE.
|
||||||
```yaml
|
```yaml
|
||||||
proxies:
|
proxies:
|
||||||
|
# Vless + TCP Sample
|
||||||
- name: "vless-tcp"
|
- name: "vless-tcp"
|
||||||
type: vless
|
type: vless
|
||||||
server: server
|
server: server
|
||||||
|
@ -184,7 +185,8 @@ proxies:
|
||||||
servername: example.com # AKA SNI
|
servername: example.com # AKA SNI
|
||||||
# flow: xtls-rprx-direct # xtls-rprx-origin # enable XTLS
|
# flow: xtls-rprx-direct # xtls-rprx-origin # enable XTLS
|
||||||
# skip-cert-verify: true
|
# skip-cert-verify: true
|
||||||
|
|
||||||
|
# Vless + WS Sample
|
||||||
- name: "vless-ws"
|
- name: "vless-ws"
|
||||||
type: vless
|
type: vless
|
||||||
server: server
|
server: server
|
||||||
|
@ -197,6 +199,17 @@ proxies:
|
||||||
ws-path: /path
|
ws-path: /path
|
||||||
ws-headers:
|
ws-headers:
|
||||||
Host: example.com
|
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
|
### IPTABLES auto-configuration
|
||||||
|
|
Loading…
Reference in a new issue