-
Notifications
You must be signed in to change notification settings - Fork 2.3k
support remote YAML parsers(part) of CFW #434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…es),在订阅链接增加parsers=YmlUrl(URLEncoded)即可适用parsers
|
请问下怎么使用呀?在订阅链接里parsers=YmlUrl(url)好像不行,订阅链接里只能接受http格式 |
|
尝试在订阅链接后面加入 |
一个简单的demo,以wireguard节点作为例子该例子会在节点列表最前增加一个wireguard-peer节点,并创建一个名为Home的代理组,包含wireguard-peer和DIRECT两个选项。 parsers:
yaml:
prepend-proxies:
- name: "wireguard-peer"
type: "wireguard"
private-key: "private-key"
server: "server.addr"
port: 55820
ip: "198.18.7.4"
public-key: "public-key"
persistent-keepalive: 25
prepend-proxy-groups:
- name: "Home"
type: "select"
proxies:
- "wireguard-peer"
- "DIRECT"
prepend-rules:
- IP-CIDR,192.168.2.0/24,Home
- IP-CIDR,198.18.7.0/24,Home |
?parsers=https://github.com/xxx/parsers.yaml https://github.com/xxx/parsers.yaml |
support remote YAML parsers(prepend-proxies,prepend-proxy-groups,prepend-rules) of CFW