本教程适用于singbox1.12.0版本的json文件

1、在route的rules添加这个字段

{
  "rule_set": "lazy_cat",
  "action": "route",
  "outbound": "lazycat-socks"
},

image-20250805115441138

2、在route的rule_set添加这个字段

   {
    "tag": "lazy_cat",
    "type": "inline",
     "rules": [
        {
         "domain_suffix": [
           ".heiyu.space",
           ".lazycat.cloud",
           ".lazycatmicroserver.com"
            ]
          }
        ]
      },

image-20250805120146431

3、在outbounds的outbounds添加这个字段

   {
      "type": "socks",
      "tag": "lazycat-socks",
      "server": "127.0.0.1",
      "server_port": 31086,
      "version": "5",
      "network": "tcp",
      "udp_over_tcp": false
    },

image-20250805120321962