Custom Config
List of configurable options
{
//generic
"offset_port_user": "", //port in subscription
"offset_port_node": "", //Port in node server
"host": "", //SNI
//Shadowsocks 2022
"method": "",
"server_key": "",
//Vmess
"tls": "0",
"allow_insecure": "0",
"network": "",
"security": "",
"encryption":"",
"path": "",
"header": {
"type": "http",
"request": {},
"response": {}
},
//Trojan
"allow_insecure": "0",
"servicename": "",
"mux": "0",
"network": "",
"path": "",
"header": {
"type": "http",
"request": {},
"response": {}
},
//Clash related, only used for Clash Universal Subscription, does not affect node configuration distribution
//Refer to the documentation at https://github.com/MetaCubeX/mihomo/blob/Alpha/docs/config.yaml
"udp": "1",
"plugin-opts": {
// Corresponds to the plugin-opts configuration in the Clash Yaml file.
},
"ws-opts": {
// Corresponds to the ws-opts configuration in the Clash Yaml file.
},
"h2-opts": {
// Corresponds to the h2-opts configuration in the Clash Yaml file.
},
"http-opts": {
// Corresponds to the http-opts configuration in the Clash Yaml file.
},
"grpc-opts": {
// Corresponds to the grpc-opts configuration in the Clash Yaml file.
}
}
Vmess
tcp
{
"offset_port_node": "12345",
"network": "tcp",
}
tcp+tls
{
"offset_port_node": "443",
"host": "hk.domain.com",
"network": "tcp",
"security": "tls",
}
ws
{
"offset_port_node": "80",
"host": "hk.domain.com",
"network": "ws",
"path": "/some_path"
}
ws+tls
{
"offset_port_node": "443",
"host": "hk.domain.com",
"network": "ws",
"security": "tls",
"path": "/some_path"
}
grpc+tls
{
"offset_port_node": "443",
"host": "hk.domain.com",
"network": "grpc",
"security": "tls",
"servicename": "some_name"
}