Comments (4)
不会像现在已经被废除的旧安装脚本那样为用户创建一套开箱即用的配置。
你们既然选择自建,就应该自己写自己的配置了。
from fhs-install-v2ray.
开箱即用的脚本不是很好么?
为什么要废弃掉呢?
from fhs-install-v2ray.
我也不懂这波操作,这是我自己写的配置文件,你可以复制使用它
vi /usr/local/etc/v2ray/config.json
修改后通过命令重启进程
service v2ray restart
查看确保在运行状态
cat /var/log/v2ray/error.log | grep started
top -b -n 1 |grep v2ray
{
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbounds": [
{
"port": 8880,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "da5c5b2d-06ca-4363-9b4d-3a9e23ce291d",
"level": 1,
"alterId": 64
}
]
},
"streamSettings": {
"network": "ws"
},
"sniffing": {
"enabled": true,
"destOverride": [
"http",
"tls"
]
}
}
//include_ss
//include_socks
//include_mtproto
//include_in_config
//
],
"outbounds": [
{
"protocol": "freedom",
"settings": {}
},
{
"protocol": "blackhole",
"settings": {},
"tag": "blocked"
},
{
"protocol": "freedom",
"settings": {},
"tag": "direct"
},
{
"protocol": "mtproto",
"settings": {},
"tag": "tg-out"
}
//include_out_config
//
],
"dns": {
"server": [
"8.8.8.8",
"1.1.1.1",
"localhost"
]
},
"routing": {
"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": "blocked"
},
{
"type": "field",
"inboundTag": ["tg-in"],
"outboundTag": "tg-out"
}
//include_ban_ad
//include_rules
//
]
},
"transport": {
"kcpSettings": {
"uplinkCapacity": 100,
"downlinkCapacity": 100,
"congestion": false
},
"sockopt": {
"tcpFastOpen": true
}
}
}
from fhs-install-v2ray.
开箱即用的脚本不是很好么?
为什么要废弃掉呢?
@GuoXu-GX @1265578519
#51 (comment)
from fhs-install-v2ray.
Related Issues (20)
- current version not working as client on Ubuntu 22.04.2 LTS HOT 1
- qv2ray issue / v2ray core executable
- `sudo -i` first, then `bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)` HOT 1
- apt install 无人维护 HOT 1
- 使用ws+tls连续2天封端口 HOT 1
- error: Installation of unzip failed, please check your network. HOT 2
- 安裝失敗
- The installation script fails in the Ubuntu22.04 environment HOT 1
- 未预期的符号 `(' 附近有语法错误 HOT 1
- 安装内核失败 HOT 1
- curl: (56) Recv failure: 连接被对方重设 HOT 1
- v2ctl 没被安装 HOT 6
- 在centos7安装2ray客户端当代理使用,版本为 The current version of V2Ray is v5.10.1 .配置文文件有流控:xtls-rprx-vision无法使用! HOT 1
- The method to avoid the bug "/proc/self/fd/11: No such file or directory". HOT 1
- 1
- error: Failed to get release list, GitHub API response code:
- curl: (28) Failed to connect to github.com port 443 after 133493 ms: Couldn't connect to server HOT 4
- /usr/local/share/v2ray/geosite.dat': No such file or directory HOT 2
- URL usage? HOT 2
- Mahdiastani
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fhs-install-v2ray.