mirror of
https://github.com/XrayR-project/XrayR-release.git
synced 2026-05-19 00:27:29 +08:00
Delete config directory
This commit is contained in:
@@ -1,91 +0,0 @@
|
|||||||
Log:
|
|
||||||
Level: warning # Log level: none, error, warning, info, debug
|
|
||||||
AccessPath: # /etc/XrayR/access.Log
|
|
||||||
ErrorPath: # /etc/XrayR/error.log
|
|
||||||
DnsConfigPath: # /etc/XrayR/dns.json # Path to dns config, check https://xtls.github.io/config/dns.html for help
|
|
||||||
RouteConfigPath: # /etc/XrayR/route.json # Path to route config, check https://xtls.github.io/config/routing.html for help
|
|
||||||
InboundConfigPath: # /etc/XrayR/custom_inbound.json # Path to custom inbound config, check https://xtls.github.io/config/inbound.html for help
|
|
||||||
OutboundConfigPath: # /etc/XrayR/custom_outbound.json # Path to custom outbound config, check https://xtls.github.io/config/outbound.html for help
|
|
||||||
ConnectionConfig:
|
|
||||||
Handshake: 4 # Handshake time limit, Second
|
|
||||||
ConnIdle: 30 # Connection idle time limit, Second
|
|
||||||
UplinkOnly: 2 # Time limit when the connection downstream is closed, Second
|
|
||||||
DownlinkOnly: 4 # Time limit when the connection is closed after the uplink is closed, Second
|
|
||||||
BufferSize: 64 # The internal cache size of each connection, kB
|
|
||||||
Nodes:
|
|
||||||
-
|
|
||||||
PanelType: "SSpanel" # Panel type: SSpanel, V2board, NewV2board, PMpanel, Proxypanel, V2RaySocks
|
|
||||||
ApiConfig:
|
|
||||||
ApiHost: "http://127.0.0.1:667"
|
|
||||||
ApiKey: "123"
|
|
||||||
NodeID: 41
|
|
||||||
NodeType: V2ray # Node type: V2ray, Vmess, Vless, Shadowsocks, Trojan, Shadowsocks-Plugin
|
|
||||||
Timeout: 30 # Timeout for the api request
|
|
||||||
EnableVless: false # Enable Vless for V2ray Type
|
|
||||||
EnableXTLS: false # Enable XTLS for V2ray and Trojan
|
|
||||||
SpeedLimit: 0 # Mbps, Local settings will replace remote settings, 0 means disable
|
|
||||||
DeviceLimit: 0 # Local settings will replace remote settings, 0 means disable
|
|
||||||
RuleListPath: # /etc/XrayR/rulelist Path to local rulelist file
|
|
||||||
ControllerConfig:
|
|
||||||
ListenIP: 0.0.0.0 # IP address you want to listen
|
|
||||||
SendIP: 0.0.0.0 # IP address you want to send pacakage
|
|
||||||
UpdatePeriodic: 60 # Time to update the nodeinfo, how many sec.
|
|
||||||
EnableDNS: false # Use custom DNS config, Please ensure that you set the dns.json well
|
|
||||||
DNSType: AsIs # AsIs, UseIP, UseIPv4, UseIPv6, DNS strategy
|
|
||||||
EnableProxyProtocol: false # Only works for WebSocket and TCP
|
|
||||||
AutoSpeedLimitConfig:
|
|
||||||
Limit: 0 # Warned speed. Set to 0 to disable AutoSpeedLimit (mbps)
|
|
||||||
WarnTimes: 0 # After (WarnTimes) consecutive warnings, the user will be limited. Set to 0 to punish overspeed user immediately.
|
|
||||||
LimitSpeed: 0 # The speedlimit of a limited user (unit: mbps)
|
|
||||||
LimitDuration: 0 # How many minutes will the limiting last (unit: minute)
|
|
||||||
GlobalDeviceLimitConfig:
|
|
||||||
Enable: false # Enable the global device limit of a user
|
|
||||||
RedisAddr: 127.0.0.1:6379 # The redis server address
|
|
||||||
RedisPassword: YOUR PASSWORD # Redis password
|
|
||||||
RedisDB: 0 # Redis DB
|
|
||||||
Timeout: 5 # Timeout for redis request
|
|
||||||
Expiry: 60 # Expiry time (second)
|
|
||||||
EnableFallback: false # Only support for Trojan and Vless
|
|
||||||
FallBackConfigs: # Support multiple fallbacks
|
|
||||||
-
|
|
||||||
SNI: # TLS SNI(Server Name Indication), Empty for any
|
|
||||||
Alpn: # Alpn, Empty for any
|
|
||||||
Path: # HTTP PATH, Empty for any
|
|
||||||
Dest: 80 # Required, Destination of fallback, check https://xtls.github.io/config/features/fallback.html for details.
|
|
||||||
ProxyProtocolVer: 0 # Send PROXY protocol version, 0 for dsable
|
|
||||||
CertConfig:
|
|
||||||
CertMode: dns # Option about how to get certificate: none, file, http, tls, dns. Choose "none" will forcedly disable the tls config.
|
|
||||||
CertDomain: "node1.test.com" # Domain to cert
|
|
||||||
CertFile: /etc/XrayR/cert/node1.test.com.cert # Provided if the CertMode is file
|
|
||||||
KeyFile: /etc/XrayR/cert/node1.test.com.key
|
|
||||||
Provider: alidns # DNS cert provider, Get the full support list here: https://go-acme.github.io/lego/dns/
|
|
||||||
Email: test@me.com
|
|
||||||
DNSEnv: # DNS ENV option used by DNS provider
|
|
||||||
ALICLOUD_ACCESS_KEY: aaa
|
|
||||||
ALICLOUD_SECRET_KEY: bbb
|
|
||||||
# -
|
|
||||||
# PanelType: "NewV2board" # Panel type: SSpanel, V2board, NewV2board, PMpanel, Proxypanel, V2RaySocks
|
|
||||||
# ApiConfig:
|
|
||||||
# ApiHost: "http://127.0.0.1:668"
|
|
||||||
# ApiKey: "123"
|
|
||||||
# NodeID: 4
|
|
||||||
# NodeType: Shadowsocks # Node type: V2ray, Shadowsocks, Trojan
|
|
||||||
# Timeout: 30 # Timeout for the api request
|
|
||||||
# EnableVless: false # Enable Vless for V2ray Type
|
|
||||||
# EnableXTLS: false # Enable XTLS for V2ray and Trojan
|
|
||||||
# SpeedLimit: 0 # Mbps, Local settings will replace remote settings
|
|
||||||
# DeviceLimit: 0 # Local settings will replace remote settings
|
|
||||||
# ControllerConfig:
|
|
||||||
# ListenIP: 0.0.0.0 # IP address you want to listen
|
|
||||||
# UpdatePeriodic: 10 # Time to update the nodeinfo, how many sec.
|
|
||||||
# EnableDNS: false # Use custom DNS config, Please ensure that you set the dns.json well
|
|
||||||
# CertConfig:
|
|
||||||
# CertMode: dns # Option about how to get certificate: none, file, http, dns
|
|
||||||
# CertDomain: "node1.test.com" # Domain to cert
|
|
||||||
# CertFile: /etc/XrayR/cert/node1.test.com.cert # Provided if the CertMode is file
|
|
||||||
# KeyFile: /etc/XrayR/cert/node1.test.com.pem
|
|
||||||
# Provider: alidns # DNS cert provider, Get the full support list here: https://go-acme.github.io/lego/dns/
|
|
||||||
# Email: test@me.com
|
|
||||||
# DNSEnv: # DNS ENV option used by DNS provider
|
|
||||||
# ALICLOUD_ACCESS_KEY: aaa
|
|
||||||
# ALICLOUD_SECRET_KEY: bbb
|
|
||||||
@@ -1,19 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"listen": "0.0.0.0",
|
|
||||||
"port": 1234,
|
|
||||||
"protocol": "socks",
|
|
||||||
"settings": {
|
|
||||||
"auth": "noauth",
|
|
||||||
"accounts": [
|
|
||||||
{
|
|
||||||
"user": "my-username",
|
|
||||||
"pass": "my-password"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"udp": false,
|
|
||||||
"ip": "127.0.0.1",
|
|
||||||
"userLevel": 0
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,28 +0,0 @@
|
|||||||
[
|
|
||||||
{
|
|
||||||
"tag": "IPv4_out",
|
|
||||||
"protocol": "freedom",
|
|
||||||
"settings": {}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"tag": "IPv6_out",
|
|
||||||
"protocol": "freedom",
|
|
||||||
"settings": {
|
|
||||||
"domainStrategy": "UseIPv6"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"tag": "socks5-warp",
|
|
||||||
"protocol": "socks",
|
|
||||||
"settings": {
|
|
||||||
"servers": [{
|
|
||||||
"address": "127.0.0.1",
|
|
||||||
"port": 1080
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"protocol": "blackhole",
|
|
||||||
"tag": "block"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
{
|
|
||||||
"servers": [
|
|
||||||
"1.1.1.1",
|
|
||||||
"8.8.8.8",
|
|
||||||
"localhost"
|
|
||||||
],
|
|
||||||
"tag": "dns_inbound"
|
|
||||||
}
|
|
||||||
Binary file not shown.
-36814
File diff suppressed because one or more lines are too long
@@ -1,36 +0,0 @@
|
|||||||
{
|
|
||||||
"domainStrategy": "IPOnDemand",
|
|
||||||
"rules": [
|
|
||||||
{
|
|
||||||
"type": "field",
|
|
||||||
"outboundTag": "block",
|
|
||||||
"ip": [
|
|
||||||
"geoip:private"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "field",
|
|
||||||
"outboundTag": "block",
|
|
||||||
"protocol": [
|
|
||||||
"bittorrent"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "field",
|
|
||||||
"outboundTag": "socks5-warp",
|
|
||||||
"domain": []
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "field",
|
|
||||||
"outboundTag": "IPv6_out",
|
|
||||||
"domain": [
|
|
||||||
"geosite:netflix"
|
|
||||||
]
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "field",
|
|
||||||
"outboundTag": "IPv4_out",
|
|
||||||
"network": "udp,tcp"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
(.+\.|^)(360|so)\.(cn|com)
|
|
||||||
baidu.com
|
|
||||||
google.com
|
|
||||||
Reference in New Issue
Block a user