Files
jh-zz/docs/gateway_config_set_route_中文注解.json
2025-08-09 14:42:19 +08:00

66 lines
2.4 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"macaddr": "001122334455", "//": "要配置代理链路网关的Mac地址,也为网关的eth0 Mac,也为授权时的Mac地址",
"config": {
"id": 19, "//": "配置文件id信息",
"rules": [
{
"table": 1, "//": "代理链路规则id,可选项配置;rules数组中每个对象为一条代理链路",
"enable": true, "//": "控制当前链路生效的开关,true为生效,false为失效",
"edge": [
"DCD87C45B7BF" "//": "代理链路edge节点Mac地址",
],
"network": [
"172.30.168.2" "//": "socks5代理和http代理钧使用172.30.168.2-251固定地址段,网关模式下配置为业务主机实际的ip地址,当前配置为172.30.168.2对应的socks5代理端口为44001、http代理端口为45001",
],
"route": [
"182.207.100.4/24:10.10.1.200" "//": "目的IP地址或者IP地址段:指定出口的网关地址",
],
"cityhash": "fc5b91e92919fa705d71dde222b3fb5e7da26bfa0489c9dc60c0a0117f692481" "//": "当前链路配置edge节点城市的cityhash值",
},
{
"table": 2,
"enable": true,
"edge": [
"DCD87C4A31C4" "//": "代理链路edge节点Mac地址",
],
"network": [
"172.30.168.3" "//": "当前配置为172.30.168.2对应的socks5代理端口为44002、http代理端口为45002",
],
"cityhash": "f8a5e9b04178490cf8e71f5b273538aa75ef2c978ecac974a176d93af966ef53"
},
{
"table": 3,
"enable": true,
"edge": [
"DCD87C2A8EC0" "//": "代理链路edge节点Mac地址",
],
"network": [
"172.30.168.4" "//": "当前配置为172.30.168.2对应的socks5代理端口为44003、http代理端口为45003",
],
"cityhash": "ef26cdf15454e2aaba125512dcb6b509f0a9c02e0807ac13d4b77cbff52fe05d"
},
{
"table": 4,
"enable": true,
"edge": [
"DCD87C489694"
],
"network": [
"172.30.168.5"
],
"cityhash": "69cb4668ba9bc5d70b80ea2b48eff549215126ce412a2287755b4f494c459ae1"
},
{
"table": 5,
"enable": true,
"edge": [
"DCD87C0B9CA6"
],
"network": [
"172.30.168.6"
],
"cityhash": "08a4b89703cb47f718cc9c2505b7e5cb783a49e75db80a4052f60aebd8e40495"
}
]
}}