Skip to content

示例配置 ​

json
{
  "PidFile": "amy4.pid",
  "AmyIns": [{
    "ProxyType": "Dns",
    "DnsSettings": {
      "ListenAddr": ":10530"
    }
  }, {
    "ProxyType": "Socks5",
    "Socks5Settings": {
      "ListenAddr": ":10800"
    }
  }],
  "AmyOuts": [
    {
      "Tag": "http",
      "ProxyType": "http",
      "HttpSettings": {
        "HttpAddrs": [
          "10.0.0.200:80"
        ],
        "HttpModify": {
          "DelLine": [
            "host"
          ],
          "SetFirst": "[M] http://[H][U] [V]\r\nHost: [H]\r\n"
        },
        "TunnelAddrs": [
          "10.0.0.200:80"
        ],
        "TunnelModify": {
          "DelLine": [
            "host"
          ],
          "SetFirst": "[M] [H] [V]\r\nHost: [H]\r\n"
        },
        "//": "amy4Server地址及连接密码,代理UDP用",
        "ANetServerAddr": "服务器IP:服务器端口",
        "ServerKey": "服务器密码",
        "HttpTCPPool": {
          "MaxConn": "40",
          "MinConn": "5",
          "DialSpeed": "15",
          "IdleSec": "57"
        },
        "TunnelTCPPool": {
          "MaxConn": "40",
          "MinConn": "5",
          "DialSpeed": "15",
          "IdleSec": "57"
        }
      }
    }
  ]
}