Compare commits
5 Commits
1e46f6a080
...
54c28720fd
| Author | SHA1 | Date | |
|---|---|---|---|
| 54c28720fd | |||
| 6ceb795314 | |||
| acdf8c496f | |||
| 607d5ffb9b | |||
| ccc28b0b16 |
@@ -111,17 +111,26 @@ dns:
|
|||||||
# - '+.google.com'
|
# - '+.google.com'
|
||||||
# - '+.facebook.com'
|
# - '+.facebook.com'
|
||||||
# - '+.youtube.com'
|
# - '+.youtube.com'
|
||||||
# Lookup domains via specific nameservers
|
# Lookup domains via specific nameservers
|
||||||
# nameserver-policy:
|
# nameserver-policy:
|
||||||
# 'www.baidu.com': '114.114.114.114'
|
# 'www.baidu.com': '114.114.114.114'
|
||||||
# '+.internal.crop.com': '10.0.0.1'
|
# '+.internal.crop.com': '10.0.0.1'
|
||||||
|
|
||||||
# —————————————————————————————————————— tun —————————————————————————————————————
|
# —————————————————————————————————————— tun —————————————————————————————————————
|
||||||
|
# tun:
|
||||||
|
# enable: true
|
||||||
|
# stack: mixed
|
||||||
|
# device: utun
|
||||||
|
# auto-route: true
|
||||||
|
# auto-detect-interface: true
|
||||||
|
# dns-hijack:
|
||||||
|
# - any:53
|
||||||
|
|
||||||
# ————————————————————————————————————— macro ————————————————————————————————————
|
# ————————————————————————————————————— macro ————————————————————————————————————
|
||||||
health-check-for-providers: &health_check_for_providers
|
health-check-for-providers: &health_check_for_providers
|
||||||
enable: true
|
enable: true
|
||||||
interval: 600
|
interval: 600
|
||||||
url: http://www.gstatic.com/generate_204
|
url: https://www.gstatic.com/generate_204
|
||||||
|
|
||||||
health-check-for-selectors: &health_check_for_selectors
|
health-check-for-selectors: &health_check_for_selectors
|
||||||
url: https://cp.cloudflare.com/generate_204
|
url: https://cp.cloudflare.com/generate_204
|
||||||
@@ -90,8 +90,19 @@ payload:
|
|||||||
- DOMAIN,api.github.com
|
- DOMAIN,api.github.com
|
||||||
|
|
||||||
# > Google Gemini
|
# > Google Gemini
|
||||||
|
- DOMAIN,ai.google.dev
|
||||||
|
- DOMAIN,alkalimakersuite-pa.clients6.google.com
|
||||||
|
- DOMAIN,makersuite.google.com
|
||||||
- DOMAIN-SUFFIX,bard.google.com
|
- DOMAIN-SUFFIX,bard.google.com
|
||||||
|
- DOMAIN-SUFFIX,deepmind.com
|
||||||
|
- DOMAIN-SUFFIX,deepmind.google
|
||||||
- DOMAIN-SUFFIX,gemini.google.com
|
- DOMAIN-SUFFIX,gemini.google.com
|
||||||
|
- DOMAIN-SUFFIX,generativeai.google
|
||||||
|
- DOMAIN-SUFFIX,proactivebackend-pa.googleapis.com
|
||||||
|
- DOMAIN-SUFFIX,apis.google.com
|
||||||
|
- DOMAIN-KEYWORD,colab
|
||||||
|
- DOMAIN-KEYWORD,developerprofiles
|
||||||
|
- DOMAIN-KEYWORD,generativelanguage
|
||||||
|
|
||||||
# > Google DeepMind
|
# > Google DeepMind
|
||||||
- DOMAIN-SUFFIX,deepmind.com
|
- DOMAIN-SUFFIX,deepmind.com
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ iptables -t nat -I OUTPUT -m owner --uid-owner clash -j RETURN
|
|||||||
iptables -t nat -C OUTPUT -p tcp -j CLASH_REDIR 2>/dev/null || \
|
iptables -t nat -C OUTPUT -p tcp -j CLASH_REDIR 2>/dev/null || \
|
||||||
iptables -t nat -A OUTPUT -p tcp -j CLASH_REDIR
|
iptables -t nat -A OUTPUT -p tcp -j CLASH_REDIR
|
||||||
|
|
||||||
|
# Редирект вайргарда от Netbird неа порт 7982
|
||||||
# Перенаправляем трафик от интерфейса netbird в clash
|
# Перенаправляем трафик от интерфейса netbird в clash
|
||||||
iptables -t nat -C PREROUTING -i wt0 -p tcp -j REDIRECT --to-port 7892 2>/dev/null || \
|
iptables -t nat -C PREROUTING -i wt0 -p tcp -j REDIRECT --to-port 7892 2>/dev/null || \
|
||||||
iptables -t nat -A PREROUTING -i wt0 -p tcp -j REDIRECT --to-port 7892
|
iptables -t nat -A PREROUTING -i wt0 -p tcp -j REDIRECT --to-port 7892
|
||||||
|
|||||||
Reference in New Issue
Block a user