Update docs/config.yaml

This commit is contained in:
wwqgtxx 2022-11-09 22:55:32 +08:00
parent 93ada8989f
commit 7c8d8f56e1

View file

@ -42,7 +42,7 @@ tun:
enable: false enable: false
stack: system # gvisor / lwip stack: system # gvisor / lwip
dns-hijack: dns-hijack:
- 198.18.0.2:53 # 需要劫持的 DNS - 0.0.0.0:53 # 需要劫持的 DNS
# auto-detect-interface: true # 自动识别出口网卡 # auto-detect-interface: true # 自动识别出口网卡
# auto-route: true # 配置路由表 # auto-route: true # 配置路由表
# mtu: 9000 # 最大传输单元 # mtu: 9000 # 最大传输单元
@ -441,6 +441,16 @@ proxies:
#disable_mtu_discovery: false #disable_mtu_discovery: false
# fingerprint: xxxx # fingerprint: xxxx
- name: "wg"
type: wireguard
server: 162.159.192.1
port: 2480
ip: 172.16.0.2
ipv6: fd01:5ca1:ab1e:80fa:ab85:6eea:213f:f4a5
private-key: eCtXsJZ27+4PbhDkHnB923tkUn2Gj59wZw5wFA75MnU=
public-key: Cr8hWlKvtDt7nrvf+f0brNQQzabAqrjfBvas9pmowjo=
udp: true
# ShadowsocksR # ShadowsocksR
# The supported ciphers (encryption methods): all stream ciphers in ss # The supported ciphers (encryption methods): all stream ciphers in ss
# The supported obfses: # The supported obfses: