Skip to content

Instantly share code, notes, and snippets.

@bigswordCN
Created June 15, 2023 02:40
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save bigswordCN/43c546be6050d62e46d234ff15652439 to your computer and use it in GitHub Desktop.
Save bigswordCN/43c546be6050d62e46d234ff15652439 to your computer and use it in GitHub Desktop.
clashTunnels
mixed-port: 7890
allow-lan: false
mode: Rule
log-level: info
external-controller: 127.0.0.1:9090
profile:
store-selected: true
store-fake-ip: true
dns:
enable: true
ipv6: false
listen: 127.0.0.1:5450
enhanced-mode: fake-ip
nameserver:
- https://dns.pub/dns-query
- https://223.5.5.5/dns-query
tunnels:
- network: [tcp, udp]
address: 127.0.0.1:7777 # 这里也不需要改
# target: 162.111.111.111:2408 # 这里改成自建节点的ip和端口号
target: engage.nanocat.me:2408
proxy: 机场
# - tcp/udp, 127.0.0.1:7777, engage.nanocat.me:2408, 机场
proxies:
# READY BOOST
- name: ⚡️ READY BOOST
type: wireguard
server: 127.0.0.1
port: 7777
ip: 172.111.111.111
# ipv6: 2606:4700:110:8c
private-key: +F8ARjCMCyffU1236azCH5
public-key: bmXOC+F1FxEMF9dyiK2H5
remote-dns-resolve: true
dns: [1.0.0.1, 223.6.6.6]
mtu: 1280
udp: true
proxy-providers:
Jichang:
type: file
path: Jichang.yaml
health-check:
enable: true
interval: 86400
url: https://www.gstatic.com/generate_204
proxy-groups:
- name: 🚀 节点选择
type: select
proxies:
- ⚡️ READY BOOST
- 机场
- DIRECT
- name: 机场
type: select
use: # provider 的节点要放在 use 下⾯
- Jichang
filter: "港|HK|(?i)Hong"
rules:
- GEOIP,LAN,DIRECT
- GEOIP,CN,DIRECT
- MATCH,🚀 节点选择
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment