# inbounds

remark: Telegram
protocol: socks
tag: inbound-221
settings:
  {
    "auth": "password",
    "accounts": [
      {
        "user": "smmcoin",
        "pass": "smmcoin"
      }
    ],
    "udp": false,
    "ip": "127.0.0.1"
  }

sniffing:
  {
    "enabled": true,
    "destOverride": [
      "http",
      "tls",
      "quic",
      "fakedns"
    ],
    "metadataOnly": false,
    "routeOnly": false
  }


remark: SMMCoin - Shadowsocks
protocol: shadowsocks
tag: inbound-47143
settings:
  {
    "clients": [
      {
        "email": "r52gi84d",
        "enable": true,
        "expiryTime": 0,
        "limitIp": 1,
        "method": "aes-256-gcm",
        "password": "@Rvin8851",
        "reset": 0,
        "subId": "uyhxit4cwkgti8zn",
        "tgId": "",
        "totalGB": 0
      },
      {
        "email": "Alish",
        "enable": true,
        "expiryTime": 0,
        "limitIp": 0,
        "method": "aes-256-gcm",
        "password": "B1lpPPXaYAVHvztauUoAK2OQbdzKbPXjGXATDbC6U7k=",
        "reset": 0,
        "subId": "9cb990o8x2hplhu5",
        "tgId": "",
        "totalGB": 0
      },
      {
        "email": "Elmira",
        "enable": true,
        "expiryTime": 0,
        "limitIp": 1,
        "method": "aes-256-gcm",
        "password": "aqUAUvo0xKlrd2cCtZMbwQKkVNieseu4/2E+YxnycQY=",
        "reset": 0,
        "subId": "awmm373i7khwy117",
        "tgId": "",
        "totalGB": 0
      },
      {
        "email": "shakiba",
        "enable": true,
        "expiryTime": 1735415066000,
        "limitIp": 0,
        "method": "aes-256-gcm",
        "password": "Qri6NvPNqAM8Tq2a89skSomCZCrg7rkVkEdi85G3/Uk=",
        "reset": 0,
        "subId": "22dm4rjyfnuckc18",
        "tgId": "",
        "totalGB": 0
      },
      {
        "email": "arvin",
        "enable": true,
        "expiryTime": 0,
        "limitIp": 1,
        "method": "aes-256-gcm",
        "password": "HjgooF5YGKfJxl6XfLEowwDu3GQgJlU6iI3yETfKw18=",
        "reset": 0,
        "subId": "ujdidfi6yn8zl2m5",
        "tgId": "",
        "totalGB": 0
      },
      {
        "email": "Alish-3116",
        "enable": true,
        "expiryTime": 0,
        "limitIp": 0,
        "method": "aes-256-gcm",
        "password": "u5tpnodnRWbw8fy9v2BFgs7x+MPbwjlrOLc29OwSdhg=",
        "reset": 0,
        "subId": "mmfuz0u3avdq6gxg",
        "tgId": "",
        "totalGB": 0
      },
      {
        "email": "Arash Jafarzadeh",
        "enable": true,
        "expiryTime": 1735570316000,
        "limitIp": 1,
        "method": "aes-256-gcm",
        "password": "BrTgf99rhKZvHAYioDTlmMLfb5Fllcz+PcS/pSuYO6U=",
        "reset": 0,
        "subId": "xsvpprjjd83mbu0i",
        "tgId": "",
        "totalGB": 0
      },
      {
        "email": "alizi",
        "enable": true,
        "expiryTime": 1728905676000,
        "limitIp": 1,
        "method": "aes-256-gcm",
        "password": "J9CrjGLzRH43yn+1SzK8MlHfTUCy8kJ069rqoPrQtoI=",
        "reset": 0,
        "subId": "vexq7gbbyc4frk40",
        "tgId": "",
        "totalGB": 0
      },
      {
        "email": "9109547522",
        "enable": true,
        "expiryTime": 1731431812000,
        "limitIp": 1,
        "method": "aes-256-gcm",
        "password": "XPXi3KyYbMGEKOk2ZC/Y0xI1EeF3fxoLxlA+V0YBUAk=",
        "reset": 0,
        "subId": "szjfkzdy3tvqj34x",
        "tgId": "",
        "totalGB": 0
      }
    ],
    "method": "aes-256-gcm",
    "network": "tcp,udp",
    "password": "L4rQ77qKwJq/tLxxUBk+4f7+xz7PiY+9UTBbBOz1Sg0="
  }

stream_settings:
  {
    "network": "tcp",
    "security": "none",
    "externalProxy": [],
    "tcpSettings": {
      "acceptProxyProtocol": false,
      "header": {
        "type": "none"
      }
    }
  }

sniffing:
  {
    "enabled": true,
    "destOverride": [
      "http",
      "tls",
      "quic",
      "fakedns"
    ],
    "metadataOnly": false,
    "routeOnly": false
  }


remark: SMMCoin-IR
protocol: shadowsocks
tag: inbound-8585
settings:
  {
    "clients": [
      {
        "email": "usertest",
        "enable": true,
        "expiryTime": 0,
        "limitIp": 0,
        "method": "aes-256-gcm",
        "password": "PaaSXdeGfDUK9EN75dUH+1+puX/e981TVpcmdhwxbe0=",
        "reset": 0,
        "subId": "apg4p2jm3k5mtnqn",
        "tgId": "",
        "totalGB": 0
      },
      {
        "email": "hessam",
        "enable": true,
        "expiryTime": 0,
        "limitIp": 0,
        "method": "aes-256-gcm",
        "password": "FeZgpBnfyDRR+OoBk1+SdnFyawwGf3osEKaut7QSRHk=",
        "reset": 0,
        "subId": "uszva5w90149bdcu",
        "tgId": "",
        "totalGB": 0
      },
      {
        "email": "alinajafi",
        "enable": true,
        "expiryTime": 1735570076000,
        "limitIp": 1,
        "method": "aes-256-gcm",
        "password": "uy/8+p2rzh7JtToLGZvxpdh6o1EHN0LcsG/sEQlqV5s=",
        "reset": 0,
        "subId": "6nqglpdrj8f6iwx4",
        "tgId": "",
        "totalGB": 53687091200
      }
    ],
    "method": "aes-256-gcm",
    "network": "tcp,udp",
    "password": "pykYg78pDu7PMyIYUvHxlaNPl9Gsh4/2zxzb35Aipo4="
  }

stream_settings:
  {
    "network": "tcp",
    "security": "none",
    "externalProxy": [],
    "tcpSettings": {
      "acceptProxyProtocol": false,
      "header": {
        "type": "none"
      }
    }
  }

sniffing:
  {
    "enabled": false,
    "destOverride": [
      "http",
      "tls",
      "quic",
      "fakedns"
    ],
    "metadataOnly": false,
    "routeOnly": false
  }


remark: SMMCoin
protocol: vmess
tag: inbound-27031
settings:
  {
    "clients": [
      {
        "id": "cca3b283-e908-44e0-b492-4bd4d5004f11",
        "email": "2pkwudw7",
        "limitIp": 0,
        "totalGB": 0,
        "expiryTime": 0,
        "enable": true,
        "tgId": "",
        "subId": "i53f5h64t5lnzka0",
        "reset": 0
      }
    ]
  }

stream_settings:
  {
    "network": "tcp",
    "security": "none",
    "externalProxy": [],
    "tcpSettings": {
      "acceptProxyProtocol": false,
      "header": {
        "type": "none"
      }
    }
  }

sniffing:
  {
    "enabled": true,
    "destOverride": [
      "http",
      "tls",
      "quic",
      "fakedns"
    ],
    "metadataOnly": false,
    "routeOnly": false
  }


# settings

key: xrayTemplateConfig
value:
  {
    "log": {
      "access": "./access.log",
      "dnsLog": false,
      "error": "./error.log",
      "loglevel": "warning"
    },
    "api": {
      "tag": "api",
      "services": [
        "HandlerService",
        "LoggerService",
        "StatsService"
      ]
    },
    "inbounds": [
      {
        "tag": "api",
        "listen": "127.0.0.1",
        "port": 62789,
        "protocol": "dokodemo-door",
        "settings": {
          "address": "127.0.0.1"
        }
      }
    ],
    "outbounds": [
      {
        "tag": "direct",
        "protocol": "freedom",
        "settings": {
          "domainStrategy": "UseIP"
        }
      },
      {
        "tag": "blocked",
        "protocol": "blackhole",
        "settings": {}
      },
      {
        "tag": "FG-43",
        "protocol": "vmess",
        "settings": {
          "vnext": [
            {
              "address": "2a01:4f8:c010:b6a0:a43::1",
              "port": 443,
              "users": [
                {
                  "id": "6fc02964-5d1f-42ee-bfb8-be26befe001a"
                }
              ]
            }
          ]
        },
        "streamSettings": {
          "network": "ws",
          "security": "tls",
          "tlsSettings": {
            "serverName": "fg1.smmcoin.xyz",
            "alpn": [
              "h2",
              "http/1.1"
            ],
            "fingerprint": "random",
            "allowInsecure": true
          },
          "wsSettings": {
            "path": "/",
            "host": "fg1.smmcoin.xyz",
            "headers": {
              "Host": "fg1.smmcoin.xyz"
            }
          }
        }
      },
      {
        "tag": "FG-42",
        "protocol": "vmess",
        "settings": {
          "vnext": [
            {
              "address": "2a01:4f8:c010:b6a0:a42::1",
              "port": 443,
              "users": [
                {
                  "id": "6fc02964-5d1f-42ee-bfb8-be26befe001a"
                }
              ]
            }
          ]
        },
        "streamSettings": {
          "network": "ws",
          "security": "tls",
          "tlsSettings": {
            "serverName": "fg1.smmcoin.xyz",
            "alpn": [
              "h2",
              "http/1.1"
            ],
            "fingerprint": "random",
            "allowInsecure": true
          },
          "wsSettings": {
            "path": "/",
            "host": "fg1.smmcoin.xyz",
            "headers": {
              "Host": "fg1.smmcoin.xyz"
            }
          }
        }
      },
      {
        "tag": "FG-41",
        "protocol": "vmess",
        "settings": {
          "vnext": [
            {
              "address": "2a01:4f8:c010:b6a0:a41::1",
              "port": 443,
              "users": [
                {
                  "id": "6fc02964-5d1f-42ee-bfb8-be26befe001a"
                }
              ]
            }
          ]
        },
        "streamSettings": {
          "network": "ws",
          "security": "tls",
          "tlsSettings": {
            "serverName": "fg1.smmcoin.xyz",
            "alpn": [
              "h2",
              "http/1.1"
            ],
            "fingerprint": "random",
            "allowInsecure": true
          },
          "wsSettings": {
            "path": "/",
            "host": "fg1.smmcoin.xyz",
            "headers": {
              "Host": "fg1.smmcoin.xyz"
            }
          }
        }
      },
      {
        "tag": "FG-40",
        "protocol": "vmess",
        "settings": {
          "vnext": [
            {
              "address": "2a01:4f8:c010:b6a0:a40::1",
              "port": 443,
              "users": [
                {
                  "id": "6fc02964-5d1f-42ee-bfb8-be26befe001a"
                }
              ]
            }
          ]
        },
        "streamSettings": {
          "network": "ws",
          "security": "tls",
          "tlsSettings": {
            "serverName": "fg1.smmcoin.xyz",
            "alpn": [
              "h2",
              "http/1.1"
            ],
            "fingerprint": "random",
            "allowInsecure": true
          },
          "wsSettings": {
            "path": "/",
            "host": "fg1.smmcoin.xyz",
            "headers": {
              "Host": "fg1.smmcoin.xyz"
            }
          }
        }
      },
      {
        "tag": "FG-39",
        "protocol": "vmess",
        "settings": {
          "vnext": [
            {
              "address": "2a01:4f8:c010:b6a0:a39::1",
              "port": 443,
              "users": [
                {
                  "id": "6fc02964-5d1f-42ee-bfb8-be26befe001a"
                }
              ]
            }
          ]
        },
        "streamSettings": {
          "network": "ws",
          "security": "tls",
          "tlsSettings": {
            "serverName": "fg1.smmcoin.xyz",
            "alpn": [
              "h2",
              "http/1.1"
            ],
            "fingerprint": "random",
            "allowInsecure": true
          },
          "wsSettings": {
            "path": "/",
            "host": "fg1.smmcoin.xyz",
            "headers": {
              "Host": "fg1.smmcoin.xyz"
            }
          }
        }
      },
      {
        "tag": "FG-38",
        "protocol": "vmess",
        "settings": {
          "vnext": [
            {
              "address": "2a01:4f8:c010:b6a0:a38::1",
              "port": 443,
              "users": [
                {
                  "id": "6fc02964-5d1f-42ee-bfb8-be26befe001a"
                }
              ]
            }
          ]
        },
        "streamSettings": {
          "network": "ws",
          "security": "tls",
          "tlsSettings": {
            "serverName": "fg1.smmcoin.xyz",
            "alpn": [
              "h2",
              "http/1.1"
            ],
            "fingerprint": "random",
            "allowInsecure": true
          },
          "wsSettings": {
            "path": "/",
            "host": "fg1.smmcoin.xyz",
            "headers": {
              "Host": "fg1.smmcoin.xyz"
            }
          }
        }
      }
    ],
    "policy": {
      "levels": {
        "0": {
          "statsUserDownlink": true,
          "statsUserUplink": true
        }
      },
      "system": {
        "statsInboundDownlink": true,
        "statsInboundUplink": true,
        "statsOutboundDownlink": true,
        "statsOutboundUplink": true
      }
    },
    "routing": {
      "domainStrategy": "AsIs",
      "rules": [
        {
          "type": "field",
          "inboundTag": [
            "api"
          ],
          "outboundTag": "api"
        },
        {
          "type": "field",
          "inboundTag": [
            "inbound-8585",
            "api"
          ],
          "outboundTag": "direct"
        },
        {
          "type": "field",
          "domain": [
            "regexp:.*\\.smmcoin.xyz$"
          ],
          "outboundTag": "direct"
        },
        {
          "type": "field",
          "outboundTag": "blocked",
          "ip": [
            "geoip:private"
          ]
        },
        {
          "type": "field",
          "outboundTag": "blocked",
          "protocol": [
            "bittorrent"
          ]
        },
        {
          "type": "field",
          "outboundTag": "direct",
          "ip": [
            "ext:geoip_IR.dat:ir"
          ]
        },
        {
          "type": "field",
          "outboundTag": "direct",
          "domain": [
            "regexp:.*\\.ir$",
            "regexp:.*\\.xn--mgba3a4f16a$",
            "ext:geosite_IR.dat:ir"
          ]
        },
        {
          "type": "field",
          "inboundTag": [
            "inbound-221",
            "inbound-47143"
          ],
          "balancerTag": "FG1"
        }
      ],
      "balancers": [
        {
          "tag": "FG1",
          "selector": [
            "FG-43",
            "FG-42",
            "FG-41",
            "FG-40",
            "FG-39",
            "FG-38"
          ]
        }
      ]
    },
    "stats": {}
  }


