add v2ray, update

This commit is contained in:
Newnius 2018-12-14 10:27:40 +08:00
parent 875a80a6a9
commit 00b8edf64f
5 changed files with 130 additions and 0 deletions

7
home/newnius/.gitconfig Normal file
View File

@ -0,0 +1,7 @@
[user]
email = name@example.com
name = Name
[http "https://github.com"]
proxy = socks5h://127.0.0.1:1086
[core]
autocrlf = input

View File

@ -7,3 +7,22 @@ brew install sbt@1
```
Spark
KeepassX
NextCloud
Dropbox
ShadowsocksX-NG
iStat Menus
Docker
Paragon NTFS for MAC
Visual Code

View File

@ -0,0 +1,51 @@
{
"inbounds": [{
"port": 1081,
"listen": "127.0.0.1",
"protocol": "socks",
"settings": {
"udp": true
}
},{
"port": 8001,
"listen": "127.0.0.1",
"protocol": "http",
"settings": {
"timeout": 0,
"userLevel": 0
}
}
],
"outbounds": [{
"protocol": "vmess",
"settings": {
"vnext": [{
"address": "example.com",
"port": 443,
"users": [{ "id": "" }]
}]
},
"streamSettings": {
"network": "ws",
"security": "tls",
"wsSettings": {
"path": "/ray"
}
}
},{
"protocol": "freedom",
"tag": "direct",
"settings": {}
}],
"routing": {
"strategy": "rules",
"settings": {
"domainStrategy": "IPOnDemand",
"rules": [{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "direct"
}]
}
}
}

View File

@ -0,0 +1,15 @@
# V2Ray
[V2Ray](https://github.com/v2ray/v2ray-core/releases)
[Ducuments](https://www.v2ray.com/)
[Manual](https://toutyrater.github.io/)
## Linux
```bash
sudo su
bash <(curl -L -s https://install.direct/go.sh)
```

View File

@ -0,0 +1,38 @@
{
"inbounds": [{
"port": 80,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "",
"level": 1,
"alterId": 64
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"path": "/ray"
}
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {}
},{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}],
"routing": {
"rules": [
{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "blocked"
}
]
}
}