上网配置方式
使用方式
运行以下脚本即可
(*****删除)
curl -Ls https://raw.githubusercontent.com/v2fly/fhs-install-*****/master/install-release.sh | sudo bash

id
运用指令:cat /proc/sys/kernel/random/uuid 创建一个用户 id ,并记住这个id号
[root@vultr ~]# cat /proc/sys/kernel/random/uuid
08ef6234-dcc0-45d1-9954-f9490cb2beb2

配置
配置文件路径为/usr/local/etc/*****/config.json
{
"inbounds": [{
"port": 12345,
"protocol": "***",
"settings": {
"clients": [
{
"id": "08ef6234-dcc0-45d1-9954-f9490cb2beb2",
"level": 1,
"alterId": 64
}
]
}
}],
"outbounds": [{
"protocol": "freedom",
"settings": {}
},{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
}],
"routing": {
"rules": [
{
"type": "field",
"ip": ["geoip:private"],
"outboundTag": "blocked"
}
]
}
}

重启*****
启动
systemctl start *****
停止
systemctl stop *****
重启
systemctl restart *****

浙公网安备 33010602011771号