更新代理相关内容
This commit is contained in:
35
V2RayA-RoutingA.conf
Normal file
35
V2RayA-RoutingA.conf
Normal file
@@ -0,0 +1,35 @@
|
||||
default: direct
|
||||
|
||||
# 去广告
|
||||
domain(geosite:category-ads-all) -> block
|
||||
|
||||
domain(geosite: gfw) -> proxy
|
||||
|
||||
# 国外域名即使有中国IP也要优先代理
|
||||
domain(geosite:geolocation-!cn)->proxy
|
||||
|
||||
|
||||
default: proxy
|
||||
|
||||
# 特定域名直连
|
||||
domain(domain: gitweb.gentoo.org, domain: zedhugh.fun, domain: www.gnu.org)->direct
|
||||
domain(geosite:codeberg) -> direct
|
||||
|
||||
domain(domain: linuxeden.com) -> proxy
|
||||
|
||||
# 去广告
|
||||
domain(geosite:category-ads-all) -> block
|
||||
|
||||
# 国外域名即使有中国IP也要优先代理
|
||||
domain(geosite:geolocation-!cn)->proxy
|
||||
|
||||
# 学术网站
|
||||
domain(geosite:google-scholar)->proxy
|
||||
domain(geosite:category-scholar-!cn, geosite:category-scholar-cn)->direct
|
||||
|
||||
# 国内直连
|
||||
domain(geosite:cn) -> direct
|
||||
ip(geoip:cn) -> direct
|
||||
|
||||
# 局域网直连
|
||||
ip(geoip:private) -> direct
|
||||
@@ -7,12 +7,14 @@ const direct_ip_list = [
|
||||
["192.168.0.0", "255.255.255.0"],
|
||||
["192.168.1.0", "255.255.255.0"],
|
||||
["192.168.2.0", "255.255.255.0"],
|
||||
["127.0.0.1", "255.255.255.0"],
|
||||
];
|
||||
|
||||
const direct_domain_list = [
|
||||
"zedhugh.fun",
|
||||
"codeberg.org",
|
||||
"gitweb.gentoo.org",
|
||||
"localhost"
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
@@ -49,3 +49,6 @@ sci-ml/llama-cpp **
|
||||
|
||||
# nvidia cuda toolkit
|
||||
dev-util/nvidia-cuda-toolkit ~amd64
|
||||
|
||||
# proxy
|
||||
net-proxy/shadowsocks-rust ~amd64
|
||||
@@ -1,3 +1,2 @@
|
||||
dev-lang/rust
|
||||
net-proxy/shadowsocks-rust::gentoo-zh
|
||||
>=x11-drivers/nvidia-drivers-581
|
||||
|
||||
@@ -40,7 +40,7 @@ docker 拉取命令
|
||||
--network=host \
|
||||
--name v2raya \
|
||||
-e V2RAYA_LOG_FILE=/tmp/v2raya.log \
|
||||
-e V2RAYA_V2RAY_BIN=/usr/local/bin/v2ray \
|
||||
-e V2RAYA_V2RAY_BIN=/usr/bin/v2raya_core \
|
||||
-e V2RAYA_NFTABLES_SUPPORT=off \
|
||||
-e IPTABLES_MODE=legacy \
|
||||
-v /lib/modules:/lib/modules:ro \
|
||||
|
||||
Reference in New Issue
Block a user