V2Ray global proxy:修订间差异
标签:2017版源代码编辑 |
标签:2017版源代码编辑 |
||
第1行: | 第1行: | ||
= Install V2Ray = | = Install V2Ray (Server side) = | ||
== Install == | |||
https://github.com/v2fly/fhs-install-v2ray | https://github.com/v2fly/fhs-install-v2ray | ||
第13行: | 第14行: | ||
V2Ray 5.22.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.23.2 linux/amd64) | V2Ray 5.22.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.23.2 linux/amd64) | ||
A unified platform for anti-censorship. | A unified platform for anti-censorship. | ||
</syntaxhighlight> | |||
== Basic Config == | |||
<syntaxhighlight lang="json"> | |||
{ | |||
"inbounds": [{ | |||
"port": 10086, | |||
"protocol": "vmess", | |||
"settings": { | |||
"clients": [{ "id": "b831381d-6324-4d53-ad4f-8cda48b30811" }] | |||
} | |||
}], | |||
"outbounds": [{ | |||
"protocol": "freedom", | |||
"settings": {} | |||
}] | |||
} | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[Category:Linux/Unix]] | [[Category:Linux/Unix]] |
2024年11月28日 (四) 15:25的版本
Install V2Ray (Server side)
Install
https://github.com/v2fly/fhs-install-v2ray
sudo su -
bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)
systemctl enable v2ray
systemctl start v2ray
bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-dat-release.sh)
v2ray version
V2Ray 5.22.0 (V2Fly, a community-driven edition of V2Ray.) Custom (go1.23.2 linux/amd64)
A unified platform for anti-censorship.
Basic Config
{
"inbounds": [{
"port": 10086,
"protocol": "vmess",
"settings": {
"clients": [{ "id": "b831381d-6324-4d53-ad4f-8cda48b30811" }]
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {}
}]
}