设备:iPhone 、iPad
软件:Surge
跟着网上的教程一步一步操作,自建的 trojan + xray ,一直用的好好的。一开始没注意,最近一段时间才发现竟然收不到任何 app 的推送和通知。
同样的规则和配置文件,我切换另一个 SS 部署的服务器就立马收到一堆推送和通知,再切换回 trojan 服务器,就几天几天的“静默”了。
所以可以排除是 Surge 规则或配置文件的问题?
那就是服务器的问题了,但是服务器除了一个是 Trojan 一个是 SS 外没任何区别啊。
请求执教。
另附上 xray 配置:
{
  "api": {
    "services": [
      "HandlerService",
      "LoggerService",
      "StatsService"
    ],
    "tag": "api"
  },
  "inbounds": [
    {
      "listen": "127.0.0.1",
      "port": 62789,
      "protocol": "dokodemo-door",
      "settings": {
        "address": "127.0.0.1"
      },
      "tag": "api"
    }
  ],
  "outbounds": [
    {
      "protocol": "freedom",
      "settings": {}
    },
    {
      "tag": "zhuzai_proxy",
      "protocol": "http",
      "settings": {
        "servers": [
          {
            "address": "####手动隐藏####",
            "port": ####手动隐藏####,
            "users": [
              {
                "user": "####手动隐藏####",
                "pass": "####手动隐藏####"
              }
            ]
          }
        ]
      }
    },
    {
      "protocol": "blackhole",
      "settings": {},
      "tag": "blocked"
    }
  ],
  "policy": {
    "system": {
      "statsInboundDownlink": true,
      "statsInboundUplink": true
    }
  },
  "routing": {
    "rules": [
      {
        "type": "field",
        "outboundTag": "zhuzai_proxy",
        "domain": [
          "domain:
openai.com",
          "domain:
ai.com",
          "domain:
sentry.io",
          "domain:
auth0.com"
        ]
      },
      {
        "inboundTag": [
          "api"
        ],
        "outboundTag": "api",
        "type": "field"
      },
      {
        "ip": [
          "geoip:private"
        ],
        "outboundTag": "blocked",
        "type": "field"
      },
      {
        "outboundTag": "blocked",
        "protocol": [
          "bittorrent"
        ],
        "type": "field"
      }
    ]
  },
  "stats": {}
}