kali安裝機場v2ray
阿新 • • 發佈:2018-09-20
8.0 bcd style rate 169.254 protoc androi readme.md next
為了方便查找資料,之前安裝的ssr在kali上面,感覺速度不怎麽快,相比windows和android上慢很多,所以打算在kali上面裝個機場試試,看官方介紹說機場比ssr速度更快,下面是安裝步驟: 結合官方文檔找到了一鍵安裝的腳本: 在kali上執行如下命令:
bash <(curl -L -s https://install.direct/go.sh) # v2ray一鍵安裝腳本
root@bigzero:~# bash <(curl -L -s https://install.direct/go.sh) Installing V2Ray v3.41 on x86_64 Downloading V2Ray.% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 608 0 608 0 0 608 0 --:--:-- 0:00:01 --:--:-- 469 100 10.4M 100 10.4M 0 0 115k 0 0:01:33 0:01:33 --:--:-- 182k Extracting V2Ray package to/tmp/v2ray. Archive: /tmp/v2ray/v2ray.zip creating: /tmp/v2ray/v2ray-v3.41-linux-64/ inflating: /tmp/v2ray/v2ray-v3.41-linux-64/geoip.dat inflating: /tmp/v2ray/v2ray-v3.41-linux-64/geosite.dat inflating: /tmp/v2ray/v2ray-v3.41-linux-64/readme.md creating: /tmp/v2ray/v2ray-v3.41-linux-64/systemd/ inflating:/tmp/v2ray/v2ray-v3.41-linux-64/systemd/v2ray.service creating: /tmp/v2ray/v2ray-v3.41-linux-64/systemv/ inflating: /tmp/v2ray/v2ray-v3.41-linux-64/systemv/v2ray inflating: /tmp/v2ray/v2ray-v3.41-linux-64/v2ctl extracting: /tmp/v2ray/v2ray-v3.41-linux-64/v2ctl.sig inflating: /tmp/v2ray/v2ray-v3.41-linux-64/v2ray extracting: /tmp/v2ray/v2ray-v3.41-linux-64/v2ray.sig inflating: /tmp/v2ray/v2ray-v3.41-linux-64/vpoint_socks_vmess.json inflating: /tmp/v2ray/v2ray-v3.41-linux-64/vpoint_vmess_freedom.json PORT:26772 UUID:c71d4bb9-65fa-4b32-badf-d0d912728a15 Created symlink /etc/systemd/system/multi-user.target.wants/v2ray.service → /etc/systemd/system/v2ray.service. V2Ray v3.41 is installed.
提示安裝成功,在/etc/v2ray/找到配置文件,編輯配置文件:
{ "inbound": { "port": 1080, "listen": "127.0.0.1", "protocol": "socks", "settings": { "udp": true } }, "outbound": { "protocol": "vmess", "settings": { "vnext": [{ "address": "x.x.x.x", "port": 38633, "users": [{ "id": "50dd4c-a0fe-4d85-9b07-bcd7cb5c0c3b" }] }] } }, "outboundDetour": [{ "protocol": "freedom", "tag": "direct", "settings": {} }], "routing": { "strategy": "rules", "settings": { "domainStrategy": "IPOnDemand", "rules": [{ "type": "field", "ip": [ "0.0.0.0/8", "10.0.0.0/8", "100.64.0.0/10", "127.0.0.0/8", "169.254.0.0/16", "172.16.0.0/12", "192.0.0.0/24", "192.0.2.0/24", "192.168.0.0/16", "198.18.0.0/15", "198.51.100.0/24", "203.0.113.0/24", "::1/128", "fc00::/7", "fe80::/10" ], "outboundTag": "direct" }] } } }
然後保存,啟動v2ray就可以了
kali安裝機場v2ray