v2fly / V2ray Examples
v2ray-core 的模板们
Stars: ✭ 778
Projects that are alternatives of or similar to V2ray Examples
V2ray Step By Step
This repo is a fork of ToutyRater/v2ray-guide, we aim to provide a new step-by-step guide of v2ray
Stars: ✭ 341 (-56.17%)
Mutual labels: config, v2ray, configuration
Config
The Config component helps you find, load, combine, autofill and validate configuration values of any kind, whatever their source may be (YAML, XML, INI files, or for instance a database).
Stars: ✭ 3,671 (+371.85%)
Mutual labels: config, configuration
Hoplite
A boilerplate-free library for loading configuration files as data classes in Kotlin
Stars: ✭ 322 (-58.61%)
Mutual labels: config, configuration
Dasel
Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.
Stars: ✭ 759 (-2.44%)
Mutual labels: config, configuration
nest-typed-config
Intuitive, type-safe configuration module for Nest framework ✨
Stars: ✭ 47 (-93.96%)
Mutual labels: config, configuration
Charles-Proxy-Mobile-Guide
The mobile hackers' guide to Charles Proxy 👍
Stars: ✭ 105 (-86.5%)
Mutual labels: config, configuration
Ini Parser
Read/Write an INI file the easy way!
Stars: ✭ 643 (-17.35%)
Mutual labels: config, configuration
config-parser
A slim, fully managed C# library for reading/writing .ini, .conf, .cfg etc configuration files.
Stars: ✭ 67 (-91.39%)
Mutual labels: config, configuration
Koanf
Light weight, extensible configuration management library for Go. Built in support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
Stars: ✭ 450 (-42.16%)
Mutual labels: config, configuration
Easy Wg Quick
Creates Wireguard configuration for hub and peers with ease
Stars: ✭ 502 (-35.48%)
Mutual labels: config, configuration
Jsonnet
Jsonnet - The data templating language
Stars: ✭ 5,257 (+575.71%)
Mutual labels: config, configuration
environment
🌳 Environment variable configuration for Node.js made easy.
Stars: ✭ 12 (-98.46%)
Mutual labels: config, configuration
eRCaGuy dotfiles
.bashrc file, terminal prompt that shows current git branch, Arduino setup, Eclipse setup, git diff with line numbers, helpful scripts, improved Linux productivity, etc.
Stars: ✭ 84 (-89.2%)
Mutual labels: config, configuration
env
A lightweight package for loading OS environment variables into structs for Go projects
Stars: ✭ 24 (-96.92%)
Mutual labels: config, configuration
Konfig
Composable, observable and performant config handling for Go for the distributed processing era
Stars: ✭ 597 (-23.26%)
Mutual labels: config, configuration
rails-settings-cached
Global settings for your Rails application.
Stars: ✭ 940 (+20.82%)
Mutual labels: config, configuration
yaask
Make your yaml configurable with interactive configurations!
Stars: ✭ 15 (-98.07%)
Mutual labels: config, configuration
Centraldogma
Highly-available version-controlled service configuration repository based on Git, ZooKeeper and HTTP/2
Stars: ✭ 378 (-51.41%)
Mutual labels: config, configuration
v2ray-examples
这里是一些供参考的 V2Ray 配置示例,内容与时俱进,自动化脚本等请勿从这里拉取配置。
感谢 vTemplate 的作者 KiriKira、雨落无声和 Project V 的所有开发人员。
贡献指南
欢迎你将自己使用的配置制作模板,提交 PR。
模板应遵守以下标准:
- 缩进使用 4 个空格
- 方 (花) 括号不换行
- 不需要的字段应该移除
-
log
部分只留loglevel
- 对于
outbounds
,客户端应有proxy
和direct
,服务端应有direct
和block
- 除非是适用于特定场景的模板,否则应当将
geoip:private
路由到direct
出站 (服务端配置路由到block
出站) - 除非是适用于特定场景的模板,否则配置文件中不应出现 DNS
-
uuid
应留空,由用户自行填写。 -
routing
中的domainStrategy
保持默认,即AsIs
。
举例
{
"log": {
"loglevel": "warning"
},
"routing": {},
"inbounds": [],
"outbounds": []
}
客户端
{
"log": {
"loglevel": "warning"
},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"ip": [
"geoip:private"
],
"outboundTag": "direct",
"type": "field"
}
]
},
"inbounds": [
{
"port": 1080,
"protocol": "socks",
"settings": {
"auth": "noauth",
"udp": true
},
"tag": "socks"
}
],
"outbounds": [
{
"protocol": "vmess",
"settings": {
"vnext": [
{
"users": [
{
"id": ""
}
],
"port": 1234,
"address": "Your_IP_Address"
}
]
}
},
{
"protocol": "freedom",
"tag": "direct"
}
]
}
服务端
{
"log": {
"loglevel": "warning"
},
"routing": {
"domainStrategy": "AsIs",
"rules": [
{
"ip": [
"geoip:private"
],
"outboundTag": "blocked",
"type": "field"
}
]
},
"inbounds": [
{
"port": 1234,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "",
}
]
}
}
],
"outbounds": [
{
"protocol": "freedom"
},
{
"protocol": "blackhole",
"tag": "blocked"
}
]
}
如何选取适合自己的配置:
附加说明:
尽管 Websocket+TLS+Web 可能称得上是现阶段最好的方案,但绝对不是推荐新手一上来就尝试的方案,更不是 V2Ray 唯一的用法。
同时,你应当了解,每个地区的网络状况不同 (主要指对不同协议的 QoS 程度),你可以将所有配置都尝试一遍来寻找最适合自己的,尽量少问、最好不问“为什么我的 V2Ray 这么慢?”这样的问题。
最后
祝你玩的愉快!
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].