hope icon indicating copy to clipboard operation
hope copied to clipboard

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

Open SAEEDZZZ opened this issue 2 years ago • 22 comments

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

SAEEDZZZ avatar Feb 09 '23 20:02 SAEEDZZZ

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

navid221 avatar Feb 09 '23 20:02 navid221

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

SAEEDZZZ avatar Feb 09 '23 20:02 SAEEDZZZ

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

iaghapour avatar Feb 10 '23 13:02 iaghapour

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

myhidhacker avatar Feb 10 '23 20:02 myhidhacker

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

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

iaghapour avatar Feb 10 '23 20:02 iaghapour

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

navid221 avatar Feb 11 '23 07:02 navid221

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

mokhtarabdi avatar Feb 11 '23 10:02 mokhtarabdi

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

masooooood avatar Feb 11 '23 13:02 masooooood

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

arian2240 avatar Feb 11 '23 18:02 arian2240

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

mokhtarabdi avatar Feb 11 '23 19:02 mokhtarabdi

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

mokhtarabdi avatar Feb 13 '23 20:02 mokhtarabdi

آقایون و خانومها که مشکل دارید با ترافیک حالت روتین اولا هر بار که پنل رو نصب یا آپدیت کردید این دستورات که پوشه ها رو میریزه رو پنل باید بزنید هر بار 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": {} }


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

mokhtarabdi avatar Feb 13 '23 20:02 mokhtarabdi

آقایون و خانومها که مشکل دارید با ترافیک حالت روتین اولا هر بار که پنل رو نصب یا آپدیت کردید این دستورات که پوشه ها رو میریزه رو پنل باید بزنید هر بار 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 avatar Feb 13 '23 21:02 iaghapour

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

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

SAEEDZZZ avatar Feb 13 '23 21:02 SAEEDZZZ

آقایون و خانومها که مشکل دارید با ترافیک حالت روتین اولا هر بار که پنل رو نصب یا آپدیت کردید این دستورات که پوشه ها رو میریزه رو پنل باید بزنید هر بار 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

masooooood avatar Feb 13 '23 21:02 masooooood

سلام @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": {}
 }

**

Malekiyan avatar Feb 14 '23 02:02 Malekiyan

قسمت محدودیت آی پی رو نمیدونم ببخشید اره کد رو دوبار پشت سر هم نوشتم واسه همین ارور میده قسمت 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 avatar Feb 14 '23 05:02 mokhtarabdi

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

mokhtarabdi avatar Feb 14 '23 07:02 mokhtarabdi

سلام @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 avatar Feb 14 '23 07:02 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 avatar Feb 14 '23 13:02 masooooood

سلام @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 avatar Feb 14 '23 15:02 Malekiyan

{ "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 avatar Feb 14 '23 15:02 Malekiyan