Skip to content

Commit

Permalink
update rules
Browse files Browse the repository at this point in the history
  • Loading branch information
233boy committed Jun 25, 2019
1 parent 6058e14 commit 87340c9
Show file tree
Hide file tree
Showing 8 changed files with 85 additions and 8 deletions.
13 changes: 12 additions & 1 deletion config/client/h2.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
"settings": {},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"protocol": "dns",
"tag": "dns-out"
Expand Down Expand Up @@ -105,10 +110,16 @@
],
"outboundTag": "dns-out"
},
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{
"type": "field",
"ip": [
"geoip:private",
"geoip:cn"
],
"outboundTag": "direct"
Expand Down
13 changes: 12 additions & 1 deletion config/client/http.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@
"settings": {},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"protocol": "dns",
"tag": "dns-out"
Expand Down Expand Up @@ -135,10 +140,16 @@
],
"outboundTag": "dns-out"
},
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{
"type": "field",
"ip": [
"geoip:private",
"geoip:cn"
],
"outboundTag": "direct"
Expand Down
13 changes: 12 additions & 1 deletion config/client/kcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,11 @@
"settings": {},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"protocol": "dns",
"tag": "dns-out"
Expand Down Expand Up @@ -106,10 +111,16 @@
],
"outboundTag": "dns-out"
},
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{
"type": "field",
"ip": [
"geoip:private",
"geoip:cn"
],
"outboundTag": "direct"
Expand Down
13 changes: 12 additions & 1 deletion config/client/quic.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
"settings": {},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"protocol": "dns",
"tag": "dns-out"
Expand Down Expand Up @@ -105,10 +110,16 @@
],
"outboundTag": "dns-out"
},
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{
"type": "field",
"ip": [
"geoip:private",
"geoip:cn"
],
"outboundTag": "direct"
Expand Down
13 changes: 12 additions & 1 deletion config/client/tcp.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@
"settings": {},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"protocol": "dns",
"tag": "dns-out"
Expand Down Expand Up @@ -95,10 +100,16 @@
],
"outboundTag": "dns-out"
},
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{
"type": "field",
"ip": [
"geoip:private",
"geoip:cn"
],
"outboundTag": "direct"
Expand Down
13 changes: 12 additions & 1 deletion config/client/ws.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@
"settings": {},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"protocol": "dns",
"tag": "dns-out"
Expand Down Expand Up @@ -98,10 +103,16 @@
],
"outboundTag": "dns-out"
},
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{
"type": "field",
"ip": [
"geoip:private",
"geoip:cn"
],
"outboundTag": "direct"
Expand Down
13 changes: 12 additions & 1 deletion config/client/ws_tls.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@
"settings": {},
"tag": "direct"
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"protocol": "dns",
"tag": "dns-out"
Expand Down Expand Up @@ -108,10 +113,16 @@
],
"outboundTag": "dns-out"
},
{
"type": "field",
"ip": [
"geoip:private"
],
"outboundTag": "blocked"
},
{
"type": "field",
"ip": [
"geoip:private",
"geoip:cn"
],
"outboundTag": "direct"
Expand Down
2 changes: 1 addition & 1 deletion v2ray.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ none='\e[0m'
# Root
[[ $(id -u) != 0 ]] && echo -e " 哎呀……请使用 ${red}root ${none}用户运行 ${yellow}~(^_^) ${none}" && exit 1

_version="v3.12"
_version="v3.13"

cmd="apt-get"

Expand Down

0 comments on commit 87340c9

Please sign in to comment.