分了tun模式和非tun模式的主机,然后ubuntu专门配置了走外网
This commit is contained in:
+10
-24
@@ -11,7 +11,13 @@ external-controller: '127.0.0.1:9090'
|
||||
|
||||
find-process-mode: off
|
||||
|
||||
tproxy-port: 7893
|
||||
tun:
|
||||
enable: true
|
||||
stack: system
|
||||
dns-hijack:
|
||||
- any:53
|
||||
auto-route: true
|
||||
auto-detect-interface: true
|
||||
|
||||
dns:
|
||||
enable: true
|
||||
@@ -34,8 +40,8 @@ dns:
|
||||
- '+.salmonstill.cn'
|
||||
- '+.raylink' # keyword 的话用这个兜底
|
||||
default-nameserver:
|
||||
- 127.0.0.1
|
||||
- 223.5.5.5
|
||||
- 114.114.114.114
|
||||
nameserver:
|
||||
- https://9.9.9.9/dns-query
|
||||
- https://149.112.112.112/dns-query
|
||||
@@ -90,23 +96,6 @@ proxies:
|
||||
short-id: "a1b2c3d4"
|
||||
network: tcp
|
||||
|
||||
- name: Beijing-Direct
|
||||
type: vless
|
||||
server: salmonstill.cn
|
||||
port: 443
|
||||
uuid: "113e167a-a2be-4b46-9010-60020108626c"
|
||||
udp: true
|
||||
flow: xtls-rprx-vision
|
||||
packet-encoding: xudp
|
||||
tls: true
|
||||
servername: news.apple.com
|
||||
skip-cert-verify: true
|
||||
client-fingerprint: chrome
|
||||
reality-opts:
|
||||
public-key: "62y5gDjPrdeuePGl-D2IW4Cw9Kb8_bSBBTmArvL7Nhs"
|
||||
short-id: "7c947a71b94f369e"
|
||||
network: tcp
|
||||
|
||||
# ========================
|
||||
# 策略组
|
||||
# ========================
|
||||
@@ -151,10 +140,6 @@ proxy-groups:
|
||||
type: select
|
||||
proxies: [国外, 国内, 直连, 拒绝]
|
||||
|
||||
- name: PT-BT
|
||||
type: select
|
||||
proxies: [Beijing-Direct, 直连]
|
||||
|
||||
# ========================
|
||||
# rule-providers
|
||||
# ========================
|
||||
@@ -331,10 +316,11 @@ rules:
|
||||
- DOMAIN-KEYWORD,raylink,直连
|
||||
- IP-CIDR,49.232.242.90/32,直连
|
||||
- IP-CIDR,43.165.178.10/32,直连
|
||||
- DOMAIN-SUFFIX,ubuntu.com,国外
|
||||
- DOMAIN-SUFFIX,canonical.com,国外
|
||||
- RULE-SET,Ads,Block
|
||||
- RULE-SET,Private_Domain,国内
|
||||
- RULE-SET,Private_IP,国内,no-resolve
|
||||
- SRC-IP-CIDR,192.168.1.200/32,PT-BT,no-resolve
|
||||
- RULE-SET,China_Domain,国内
|
||||
- RULE-SET,Oracle,国内
|
||||
- RULE-SET,China_IP,国内,no-resolve
|
||||
|
||||
Reference in New Issue
Block a user