Chore: merge branch 'with-tun' into plus-pro

This commit is contained in:
yaling888
2022-03-30 00:18:42 +08:00
11 changed files with 397 additions and 71 deletions

View File

@@ -212,21 +212,47 @@ interface Context {
```
### Proxies configuration
Support outbound transport protocol `VLESS`.
Support outbound protocol `VLESS`.
The XTLS only support TCP transport by the XRAY-CORE.
Support `Trojan` with XTLS.
Currently XTLS only supports TCP transport.
```yaml
proxies:
- name: "vless-tcp"
# VLESS
- name: "vless-tls"
type: vless
server: server
port: 443
uuid: uuid
network: tcp
servername: example.com
# flow: xtls-rprx-direct # xtls-rprx-origin # enable XTLS
udp: true
# skip-cert-verify: true
- name: "vless-xtls"
type: vless
server: server
port: 443
uuid: uuid
network: tcp
servername: example.com
flow: xtls-rprx-direct # or xtls-rprx-origin
# flow-show: true # print the XTLS direction log
# udp: true
# skip-cert-verify: true
# Trojan
- name: "trojan-xtls"
type: trojan
server: server
port: 443
password: yourpsk
network: tcp
flow: xtls-rprx-direct # or xtls-rprx-origin
# flow-show: true # print the XTLS direction log
# udp: true
# sni: example.com # aka server name
# skip-cert-verify: true
```
### IPTABLES configuration