update rules

pull/519/head^2
233boy 6 years ago
parent 6058e148f1
commit 87340c995e
  1. 13
      config/client/h2.json
  2. 13
      config/client/http.json
  3. 13
      config/client/kcp.json
  4. 13
      config/client/quic.json
  5. 13
      config/client/tcp.json
  6. 13
      config/client/ws.json
  7. 13
      config/client/ws_tls.json
  8. 2
      v2ray.sh

@ -36,6 +36,11 @@
"settings": {}, "settings": {},
"tag": "direct" "tag": "direct"
}, },
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{ {
"protocol": "dns", "protocol": "dns",
"tag": "dns-out" "tag": "dns-out"
@ -105,10 +110,16 @@
], ],
"outboundTag": "dns-out" "outboundTag": "dns-out"
}, },
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{ {
"type": "field", "type": "field",
"ip": [ "ip": [
"geoip:private",
"geoip:cn" "geoip:cn"
], ],
"outboundTag": "direct" "outboundTag": "direct"

@ -66,6 +66,11 @@
"settings": {}, "settings": {},
"tag": "direct" "tag": "direct"
}, },
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{ {
"protocol": "dns", "protocol": "dns",
"tag": "dns-out" "tag": "dns-out"
@ -135,10 +140,16 @@
], ],
"outboundTag": "dns-out" "outboundTag": "dns-out"
}, },
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{ {
"type": "field", "type": "field",
"ip": [ "ip": [
"geoip:private",
"geoip:cn" "geoip:cn"
], ],
"outboundTag": "direct" "outboundTag": "direct"

@ -37,6 +37,11 @@
"settings": {}, "settings": {},
"tag": "direct" "tag": "direct"
}, },
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{ {
"protocol": "dns", "protocol": "dns",
"tag": "dns-out" "tag": "dns-out"
@ -106,10 +111,16 @@
], ],
"outboundTag": "dns-out" "outboundTag": "dns-out"
}, },
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{ {
"type": "field", "type": "field",
"ip": [ "ip": [
"geoip:private",
"geoip:cn" "geoip:cn"
], ],
"outboundTag": "direct" "outboundTag": "direct"

@ -36,6 +36,11 @@
"settings": {}, "settings": {},
"tag": "direct" "tag": "direct"
}, },
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{ {
"protocol": "dns", "protocol": "dns",
"tag": "dns-out" "tag": "dns-out"
@ -105,10 +110,16 @@
], ],
"outboundTag": "dns-out" "outboundTag": "dns-out"
}, },
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{ {
"type": "field", "type": "field",
"ip": [ "ip": [
"geoip:private",
"geoip:cn" "geoip:cn"
], ],
"outboundTag": "direct" "outboundTag": "direct"

@ -26,6 +26,11 @@
"settings": {}, "settings": {},
"tag": "direct" "tag": "direct"
}, },
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{ {
"protocol": "dns", "protocol": "dns",
"tag": "dns-out" "tag": "dns-out"
@ -95,10 +100,16 @@
], ],
"outboundTag": "dns-out" "outboundTag": "dns-out"
}, },
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{ {
"type": "field", "type": "field",
"ip": [ "ip": [
"geoip:private",
"geoip:cn" "geoip:cn"
], ],
"outboundTag": "direct" "outboundTag": "direct"

@ -29,6 +29,11 @@
"settings": {}, "settings": {},
"tag": "direct" "tag": "direct"
}, },
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{ {
"protocol": "dns", "protocol": "dns",
"tag": "dns-out" "tag": "dns-out"
@ -98,10 +103,16 @@
], ],
"outboundTag": "dns-out" "outboundTag": "dns-out"
}, },
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{ {
"type": "field", "type": "field",
"ip": [ "ip": [
"geoip:private",
"geoip:cn" "geoip:cn"
], ],
"outboundTag": "direct" "outboundTag": "direct"

@ -39,6 +39,11 @@
"settings": {}, "settings": {},
"tag": "direct" "tag": "direct"
}, },
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{ {
"protocol": "dns", "protocol": "dns",
"tag": "dns-out" "tag": "dns-out"
@ -108,10 +113,16 @@
], ],
"outboundTag": "dns-out" "outboundTag": "dns-out"
}, },
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{ {
"type": "field", "type": "field",
"ip": [ "ip": [
"geoip:private",
"geoip:cn" "geoip:cn"
], ],
"outboundTag": "direct" "outboundTag": "direct"

@ -10,7 +10,7 @@ none='\e[0m'
# Root # Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1 [[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1
_version="v3.12" _version="v3.13"
cmd="apt-get" cmd="apt-get"

Loading…
Cancel
Save