- Korean: 이 페이지는 아직 한글로 번역되지 않았습니다.
net-v2ray.plugin.bash¤
v2ray install configurations.
group:postnet | runtype:minmon | deps: - | port: LO:1080
Usage
net-v2ray help|install|uninstall|download|disable|configgen|configapply|check|run
$ net-v2ray install - install V2Ray proxy platform
$ net-v2ray uninstall - uninstall V2Ray
$ net-v2ray download - download V2Ray package files to pkg dir
$ net-v2ray disable - disable V2Ray plugin
$ net-v2ray configgen - generate V2Ray configuration files
$ net-v2ray configapply - apply V2Ray configuration files
$ net-v2ray check - check V2Ray plugin status
$ net-v2ray run - run V2Ray service
$ net-v2ray help - show this help message
Description
V2Ray is a platform for building proxies to bypass network restrictions and protect privacy.
Jangbi Configs¤
/opt/jangbi/.config
RUN_NET_V2RAY=1 # enable V2Ray proxy
V2RAY_PORTS="LO:1080" # ports to listen, LO - localhost, 1080 - SOCKS port
Check if running¤
bash command
$ ss -nltup|grep v2ray
tcp LISTEN 0 128 127.0.0.1:1080 0.0.0.0:* users:(("v2ray",pid=12345,fd=3))
$ pidof v2ray
12345
Current Configuration¤
Current configuration is stored in /etc/v2ray/
. it is generated by net-v2ray configgen
command on install.
You can edit it manually and not run install or configapply commands to keep current configurations.
/etc/v2ray/config.json
{
"log": {
"access": "/var/log/v2ray/access.log",
"error": "/var/log/v2ray/error.log",
"loglevel": "warning"
},
"inbounds": [
{
"port": 10086,
"listen": "127.0.0.1",
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "b831381d-6324-4d53-ad4f-8cda48b30811"
}
]
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
]
}