iranxray / hope

110 stars 13 forks source link

مشکل عدم نمایش ترافیک کلاینت های ایجاد شده روی یک پورت #62

Open SAEEDZZZ opened 1 year ago

SAEEDZZZ commented 1 year ago

یه مشکلی که هست من تست کردم وقتی xray پنل رو جایگذاری میشه آیپی و دامنه ها با انجام مراحل مسدود میشه درست ولی کلاینت هایی که روی یک پورت ایجاد شده میزان ترافیک مصرفیشون رو نشون نمیده و فقط به صورت کلی ترافیک روی همون پورت فقط اپدیت میشه چاره این مشکل چیه؟

navid221 commented 1 year ago

منم همین مشکلو دارم

SAEEDZZZ commented 1 year ago

قطعا کد این باگو داره ولی برای حلش کسی پیشنهادی داره؟ یا اینکه @iranxray شما مجدد آپدیت کنید کدو این باگ رو رفع کنید لطفا

iaghapour commented 1 year ago

متاسفانه این مشکل وجود داره کسی راه حلی داره؟

myhidhacker commented 1 year ago

آپدیت کردن پنل رو امتحان کردید؟ صفحه اول پنل، دکمه switch versions

iaghapour commented 1 year ago

آپدیت کردن پنل رو امتحان کردید؟ صفحه اول پنل، دکمه switch versions

تست شده و مشکل حل نشد در پنل انگلیسی.

navid221 commented 1 year ago

راه حلی پیدا نشد؟

mokhtarabdi commented 1 year ago

من سه چهار نوع پنل استفاده کردم همون مشکل رو داره

masooooood commented 1 year ago

سلام منم این مشکلو دارم . اگر راهی پیدا کردید بگید

arian2240 commented 1 year ago

دقیقا منم این مشکل برام پیش اومد از وقتی اصلاحش کردم دیگه ترافیک مصرفی جدید کاربر نشون نمیده

mokhtarabdi commented 1 year ago

بهتره بگیم مال زیر مجموعه ها رو نشون نمیده

mokhtarabdi commented 1 year ago

اقایون و خانومها مشکل رو حل کردم

mokhtarabdi commented 1 year ago

آقایون و خانومها که مشکل دارید با ترافیک حالت روتین اولا هر بار که پنل رو نصب یا آپدیت کردید این دستورات که پوشه ها رو میریزه رو پنل باید بزنید هر بار sudo -i cd /usr/local/x-ui/bin wget https://github.com/bootmortis/iran-hosted-domains/releases/latest/download/iran.dat wget https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat

دوما


{ "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": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "levels": { "0": { "statsUserUplink": true, "statsUserDownlink": true } }, "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "ip": [ "geoip:private", "geoip:ir" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" }, { "outboundTag": "blocked", "domain": [ "regexp:.\.ir$", "ext:iran.dat:ir", "ext:iran.dat:other", "geosite:category-ir-gov", "geosite:category-ir-news", "geosite:category-ir-bank", "geosite:category-ir-tech", "geosite:category-ir-travel", "geosite:category-ir-shopping", "geosite:category-ir-insurance", "geosite:category-ir-scholar", "snapp", "digikala","tapsi", "blogfa", "bank", "sb24.com", "sheypoor.com", "tebyan.net", "beytoote.com", "telewebion.com", "Film2movie.ws", "Setare.com", "Filimo.com", "Torob.com", "Tgju.org", "Sarzamindownload.com", "downloadha.com", "P30download.com", "Sanjesh.org" ], "type": "field" } ] }, "stats": {} }{ "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": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "levels": { "0": { "statsUserUplink": true, "statsUserDownlink": true } }, "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "ip": [ "geoip:private", "geoip:ir" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" }, { "outboundTag": "blocked", "domain": [ "regexp:.\.ir$", "ext:iran.dat:ir", "ext:iran.dat:other", "geosite:category-ir-gov", "geosite:category-ir-news", "geosite:category-ir-bank", "geosite:category-ir-tech", "geosite:category-ir-travel", "geosite:category-ir-shopping", "geosite:category-ir-insurance", "geosite:category-ir-scholar", "snapp", "digikala","tapsi", "blogfa", "bank", "sb24.com", "sheypoor.com", "tebyan.net", "beytoote.com", "telewebion.com", "Film2movie.ws", "Setare.com", "Filimo.com", "Torob.com", "Tgju.org", "Sarzamindownload.com", "downloadha.com", "P30download.com", "Sanjesh.org" ], "type": "field" } ] }, "stats": {} }


این لوگ رو بزنید

iaghapour commented 1 year ago

آقایون و خانومها که مشکل دارید با ترافیک حالت روتین اولا هر بار که پنل رو نصب یا آپدیت کردید این دستورات که پوشه ها رو میریزه رو پنل باید بزنید هر بار sudo -i cd /usr/local/x-ui/bin wget https://github.com/bootmortis/iran-hosted-domains/releases/latest/download/iran.dat wget https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat

دوما

{ "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": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "levels": { "0": { "statsUserUplink": true, "statsUserDownlink": true } }, "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "ip": [ "geoip:private", "geoip:ir" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" }, { "outboundTag": "blocked", "domain": [ "regexp:..ir$", "ext:iran.dat:ir", "ext:iran.dat:other", "geosite:category-ir-gov", "geosite:category-ir-news", "geosite:category-ir-bank", "geosite:category-ir-tech", "geosite:category-ir-travel", "geosite:category-ir-shopping", "geosite:category-ir-insurance", "geosite:category-ir-scholar", "snapp", "digikala","tapsi", "blogfa", "bank", "sb24.com", "sheypoor.com", "tebyan.net", "beytoote.com", "telewebion.com", "Film2movie.ws", "Setare.com", "Filimo.com", "Torob.com", "Tgju.org", "Sarzamindownload.com", "downloadha.com", "P30download.com", "Sanjesh.org" ], "type": "field" } ] }, "stats": {} }{ "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": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "levels": { "0": { "statsUserUplink": true, "statsUserDownlink": true } }, "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "ip": [ "geoip:private", "geoip:ir" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" }, { "outboundTag": "blocked", "domain": [ "regexp:..ir$", "ext:iran.dat:ir", "ext:iran.dat:other", "geosite:category-ir-gov", "geosite:category-ir-news", "geosite:category-ir-bank", "geosite:category-ir-tech", "geosite:category-ir-travel", "geosite:category-ir-shopping", "geosite:category-ir-insurance", "geosite:category-ir-scholar", "snapp", "digikala","tapsi", "blogfa", "bank", "sb24.com", "sheypoor.com", "tebyan.net", "beytoote.com", "telewebion.com", "Film2movie.ws", "Setare.com", "Filimo.com", "Torob.com", "Tgju.org", "Sarzamindownload.com", "downloadha.com", "P30download.com", "Sanjesh.org" ], "type": "field" } ] }, "stats": {} }

این لوگ رو بزنید

لطفا توضیح بدین چه تغییری ایجاد کردین که درست شد.

SAEEDZZZ commented 1 year ago

modify settingfail: xray template config invalid: invalid character '.' in string escape code

من این اررو رو گرفتم لاگو سیو کردم @mokhtarabadi

masooooood commented 1 year ago

آقایون و خانومها که مشکل دارید با ترافیک حالت روتین اولا هر بار که پنل رو نصب یا آپدیت کردید این دستورات که پوشه ها رو میریزه رو پنل باید بزنید هر بار sudo -i cd /usr/local/x-ui/bin wget https://github.com/bootmortis/iran-hosted-domains/releases/latest/download/iran.dat wget https://github.com/v2fly/domain-list-community/releases/latest/download/dlc.dat

دوما

{ "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": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "levels": { "0": { "statsUserUplink": true, "statsUserDownlink": true } }, "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "ip": [ "geoip:private", "geoip:ir" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" }, { "outboundTag": "blocked", "domain": [ "regexp:..ir$", "ext:iran.dat:ir", "ext:iran.dat:other", "geosite:category-ir-gov", "geosite:category-ir-news", "geosite:category-ir-bank", "geosite:category-ir-tech", "geosite:category-ir-travel", "geosite:category-ir-shopping", "geosite:category-ir-insurance", "geosite:category-ir-scholar", "snapp", "digikala","tapsi", "blogfa", "bank", "sb24.com", "sheypoor.com", "tebyan.net", "beytoote.com", "telewebion.com", "Film2movie.ws", "Setare.com", "Filimo.com", "Torob.com", "Tgju.org", "Sarzamindownload.com", "downloadha.com", "P30download.com", "Sanjesh.org" ], "type": "field" } ] }, "stats": {} }{ "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": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "levels": { "0": { "statsUserUplink": true, "statsUserDownlink": true } }, "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "ip": [ "geoip:private", "geoip:ir" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" }, { "outboundTag": "blocked", "domain": [ "regexp:..ir$", "ext:iran.dat:ir", "ext:iran.dat:other", "geosite:category-ir-gov", "geosite:category-ir-news", "geosite:category-ir-bank", "geosite:category-ir-tech", "geosite:category-ir-travel", "geosite:category-ir-shopping", "geosite:category-ir-insurance", "geosite:category-ir-scholar", "snapp", "digikala","tapsi", "blogfa", "bank", "sb24.com", "sheypoor.com", "tebyan.net", "beytoote.com", "telewebion.com", "Film2movie.ws", "Setare.com", "Filimo.com", "Torob.com", "Tgju.org", "Sarzamindownload.com", "downloadha.com", "P30download.com", "Sanjesh.org" ], "type": "field" } ] }, "stats": {} }

این لوگ رو بزنید

سلام ممنون از شما هنگام سیو لاگ ارور می ده modify settingfail: xray template config invalid: invalid character '.' in string escape code

Malekiyan commented 1 year ago

سلام @mokhtarabdi کد رو دوبار پشت هم نوشتید و ضمنا، تنظیماتی که نوشتید باعث میشه قابلیت محدودیت آی پی از کار بیافته

دوستان کد زیر رو بزنید که مشکل تون حل بشه:

 {
   "log": {
     "loglevel": "warning", 
     "access": "./access.log"
   },

   "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": {}
     },
     {
       "protocol": "blackhole",
       "settings": {},
       "tag": "blocked"
     }
   ],
   "policy": {
     "levels": {
       "0": {
         "statsUserUplink": true,
         "statsUserDownlink": true
       }
     },
     "system": {
       "statsInboundDownlink": true,
       "statsInboundUplink": true
     }
   },
   "routing": {
     "domainStrategy": "IPIfNonMatch",
     "rules": [
       {
         "inboundTag": [
           "api"
         ],
         "outboundTag": "api",
         "type": "field"
       },
       {
         "ip": [
           "geoip:private",
           "geoip:ir" 
         ],
         "outboundTag": "blocked",
         "type": "field"
       },
       {
         "outboundTag": "blocked",
         "protocol": [
           "bittorrent"
         ],
         "type": "field"
       },
       {
         "outboundTag": "blocked",
           "domain": [
             "regexp:.*\\.ir$",
             "ext:iran.dat:ir",
             "ext:iran.dat:other",
             "geosite:category-ir-gov",
             "geosite:category-ir-news",
             "geosite:category-ir-bank",
             "geosite:category-ir-tech",
             "geosite:category-ir-travel",
             "geosite:category-ir-shopping",
             "geosite:category-ir-insurance",
             "geosite:category-ir-scholar",
             "snapp", "digikala","tapsi", "blogfa", "bank", "sb24.com", "sheypoor.com", "tebyan.net", "beytoote.com", "telewebion.com", "Film2movie.ws", "Setare.com", "Filimo.com", "Torob.com", "Tgju.org", "Sarzamindownload.com", "downloadha.com", "P30download.com", "Sanjesh.org"
           ],
         "type": "field"
       }
     ]
   },
   "stats": {}
 }

**

mokhtarabdi commented 1 year ago

قسمت محدودیت آی پی رو نمیدونم ببخشید اره کد رو دوبار پشت سر هم نوشتم واسه همین ارور میده قسمت policy لوگ رو عوض کردم . قسمت policy رو از لوگ اولیه برداشتم گذاشتم تو این لوگ

{ "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": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "levels": { "0": { "statsUserUplink": true, "statsUserDownlink": true } }, "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "ip": [ "geoip:private", "geoip:ir" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" }, { "outboundTag": "blocked", "domain": [ "regexp:.*\.ir$", "ext:iran.dat:ir", "ext:iran.dat:other", "geosite:category-ir-gov", "geosite:category-ir-news", "geosite:category-ir-bank", "geosite:category-ir-tech", "geosite:category-ir-travel", "geosite:category-ir-shopping", "geosite:category-ir-insurance", "geosite:category-ir-scholar", "snapp", "digikala","tapsi", "blogfa", "bank", "sb24.com", "sheypoor.com", "tebyan.net", "beytoote.com", "telewebion.com", "Film2movie.ws", "Setare.com", "Filimo.com", "Torob.com", "Tgju.org", "Sarzamindownload.com", "downloadha.com", "P30download.com", "Sanjesh.org" ], "type": "field" } ] }, "stats": {} }

mokhtarabdi commented 1 year ago

قسمت policy مشکل داشت از قسمت اصلی جایگزین کردم

mokhtarabdi commented 1 year ago

سلام @mokhtarabdi کد رو دوبار پشت هم نوشتید و ضمنا، تنظیماتی که نوشتید باعث میشه قابلیت محدودیت آی پی از کار بیافته

دوستان کد زیر رو بزنید که مشکل تون حل بشه:

 {
   "log": {
     "loglevel": "warning", 
     "access": "./access.log"
   },

   "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": {}
     },
     {
       "protocol": "blackhole",
       "settings": {},
       "tag": "blocked"
     }
   ],
   "policy": {
     "levels": {
       "0": {
         "statsUserUplink": true,
         "statsUserDownlink": true
       }
     },
     "system": {
       "statsInboundDownlink": true,
       "statsInboundUplink": true
     }
   },
   "routing": {
     "domainStrategy": "IPIfNonMatch",
     "rules": [
       {
         "inboundTag": [
           "api"
         ],
         "outboundTag": "api",
         "type": "field"
       },
       {
         "ip": [
           "geoip:private",
           "geoip:ir" 
         ],
         "outboundTag": "blocked",
         "type": "field"
       },
       {
         "outboundTag": "blocked",
         "protocol": [
           "bittorrent"
         ],
         "type": "field"
       },
       {
         "outboundTag": "blocked",
           "domain": [
             "regexp:.*\\.ir$",
             "ext:iran.dat:ir",
             "ext:iran.dat:other",
             "geosite:category-ir-gov",
             "geosite:category-ir-news",
             "geosite:category-ir-bank",
             "geosite:category-ir-tech",
             "geosite:category-ir-travel",
             "geosite:category-ir-shopping",
             "geosite:category-ir-insurance",
             "geosite:category-ir-scholar",
             "snapp", "digikala","tapsi", "blogfa", "bank", "sb24.com", "sheypoor.com", "tebyan.net", "beytoote.com", "telewebion.com", "Film2movie.ws", "Setare.com", "Filimo.com", "Torob.com", "Tgju.org", "Sarzamindownload.com", "downloadha.com", "P30download.com", "Sanjesh.org"
           ],
         "type": "field"
       }
     ]
   },
   "stats": {}
 }

**

محمدودیت ای پی کدوم قسمته؟

masooooood commented 1 year ago

{ "log": { "loglevel": "warning", "access": "./access.log" },

"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": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "levels": { "0": { "statsUserUplink": true, "statsUserDownlink": true } }, "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "ip": [ "geoip:private", "geoip:ir" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" }, { "outboundTag": "blocked", "domain": [ "regexp:.*\.ir$", "ext:iran.dat:ir", "ext:iran.dat:other", "geosite:category-ir-gov", "geosite:category-ir-news", "geosite:category-ir-bank", "geosite:category-ir-tech", "geosite:category-ir-travel", "geosite:category-ir-shopping", "geosite:category-ir-insurance", "geosite:category-ir-scholar", "snapp", "digikala","tapsi", "blogfa", "bank", "sb24.com", "sheypoor.com", "tebyan.net", "beytoote.com", "telewebion.com", "Film2movie.ws", "Setare.com", "Filimo.com", "Torob.com", "Tgju.org", "Sarzamindownload.com", "downloadha.com", "P30download.com", "Sanjesh.org" ], "type": "field" } ] }, "stats": {} }

سلام ممنون از شما . برای من کار کرد . فقط آپلود و دانلود به صورت جدا نیست

Malekiyan commented 1 year ago

سلام @mokhtarabdi کد رو دوبار پشت هم نوشتید و ضمنا، تنظیماتی که نوشتید باعث میشه قابلیت محدودیت آی پی از کار بیافته دوستان کد زیر رو بزنید که مشکل تون حل بشه:

 {
   "log": {
     "loglevel": "warning", 
     "access": "./access.log"
   },

   "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": {}
     },
     {
       "protocol": "blackhole",
       "settings": {},
       "tag": "blocked"
     }
   ],
   "policy": {
     "levels": {
       "0": {
         "statsUserUplink": true,
         "statsUserDownlink": true
       }
     },
     "system": {
       "statsInboundDownlink": true,
       "statsInboundUplink": true
     }
   },
   "routing": {
     "domainStrategy": "IPIfNonMatch",
     "rules": [
       {
         "inboundTag": [
           "api"
         ],
         "outboundTag": "api",
         "type": "field"
       },
       {
         "ip": [
           "geoip:private",
           "geoip:ir" 
         ],
         "outboundTag": "blocked",
         "type": "field"
       },
       {
         "outboundTag": "blocked",
         "protocol": [
           "bittorrent"
         ],
         "type": "field"
       },
       {
         "outboundTag": "blocked",
           "domain": [
             "regexp:.*\\.ir$",
             "ext:iran.dat:ir",
             "ext:iran.dat:other",
             "geosite:category-ir-gov",
             "geosite:category-ir-news",
             "geosite:category-ir-bank",
             "geosite:category-ir-tech",
             "geosite:category-ir-travel",
             "geosite:category-ir-shopping",
             "geosite:category-ir-insurance",
             "geosite:category-ir-scholar",
             "snapp", "digikala","tapsi", "blogfa", "bank", "sb24.com", "sheypoor.com", "tebyan.net", "beytoote.com", "telewebion.com", "Film2movie.ws", "Setare.com", "Filimo.com", "Torob.com", "Tgju.org", "Sarzamindownload.com", "downloadha.com", "P30download.com", "Sanjesh.org"
           ],
         "type": "field"
       }
     ]
   },
   "stats": {}
 }

**

محمدودیت ای پی کدوم قسمته؟

شما به جای کانفیگ x-ui English کانفیگ x-ui رو دست کاری کرده بودید. اون خطوط اول کانفیگ که log و warning داره برای محدودیت آی پی هست. اگر اون ها نباشه و بخواین آی پی های ذخیره شده در لاگ رو برای هر کاربر مشاهده کنید، no record میزنه

Malekiyan commented 1 year ago

{ "log": { "loglevel": "warning", "access": "./access.log" }, "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": {} }, { "protocol": "blackhole", "settings": {}, "tag": "blocked" } ], "policy": { "levels": { "0": { "statsUserUplink": true, "statsUserDownlink": true } }, "system": { "statsInboundDownlink": true, "statsInboundUplink": true } }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "inboundTag": [ "api" ], "outboundTag": "api", "type": "field" }, { "ip": [ "geoip:private", "geoip:ir" ], "outboundTag": "blocked", "type": "field" }, { "outboundTag": "blocked", "protocol": [ "bittorrent" ], "type": "field" }, { "outboundTag": "blocked", "domain": [ "regexp:.*.ir$", "ext:iran.dat:ir", "ext:iran.dat:other", "geosite:category-ir-gov", "geosite:category-ir-news", "geosite:category-ir-bank", "geosite:category-ir-tech", "geosite:category-ir-travel", "geosite:category-ir-shopping", "geosite:category-ir-insurance", "geosite:category-ir-scholar", "snapp", "digikala","tapsi", "blogfa", "bank", "sb24.com", "sheypoor.com", "tebyan.net", "beytoote.com", "telewebion.com", "Film2movie.ws", "Setare.com", "Filimo.com", "Torob.com", "Tgju.org", "Sarzamindownload.com", "downloadha.com", "P30download.com", "Sanjesh.org" ], "type": "field" } ] }, "stats": {} }

سلام ممنون از شما . برای من کار کرد . فقط آپلود و دانلود به صورت جدا نیست

اگر برای کاربر محدودیت حجمی تعیین نکنید، فقط آپلود و دانلود رو جدا میزنه و با اسلش جدا میکنه اگر محدودیت تعیین کنید علاوه بر جدا نشون دادن آپلود و دانلود، ترافیک کلی مصرف شده رو هم پایینی نشون میده