Last active
July 26, 2025 21:48
-
-
Save ErFUN-KH/44eea46014b8d86fc9b7cbf3c53cf1ac to your computer and use it in GitHub Desktop.
Revisions
-
ErFUN-KH renamed this gist
May 21, 2023 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
ErFUN-KH revised this gist
Apr 29, 2023 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -33,11 +33,11 @@ "security": "reality", "realitySettings": { "show": false, "dest": "www.hamshahrionline.ir:443", "xver": 0, "serverNames": [ "hamshahrionline.ir", "www.hamshahrionline.ir" ], "privateKey": "copy the private key here", "shortIds": [ -
ErFUN-KH revised this gist
Apr 29, 2023 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -8,7 +8,7 @@ { "type": "field", "ip": [ "geoip:private" ], "outboundTag": "block" } @@ -33,11 +33,11 @@ "security": "reality", "realitySettings": { "show": false, "dest": "www.leader.ir:443", "xver": 0, "serverNames": [ "leader.ir", "www.leader.ir" ], "privateKey": "copy the private key here", "shortIds": [ -
ErFUN-KH revised this gist
Apr 9, 2023 . 1 changed file with 0 additions and 44 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,16 +1,3 @@ { "log": { "loglevel": "warning" @@ -87,34 +74,3 @@ bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release } } } -
ErFUN-KH created this gist
Apr 8, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,120 @@ پلتفرم xray روش جدیدی به اسم واقعیت/REALITY رو ارائه کرده که به نظرم جالب رسید و شروع کردم به استفاده و بدم جواب نگرفتم. چیزی که باید حواستون باشه اینه که این نسخه هنوز بتاس و روی اندورید که تست گرفتم رو بعضی گوشیا کمی مشکل داره ولی روی آیفون مشکلی نداشتم تا اینجا. یک سرور (من از دبیان استفاده میکنم) تهیه میکنید و کد زیر رو برای نصب نسخه بتای ۱.۸ ایکس ری اجرا میکنید: bash -c "$(curl -L https://github.com/XTLS/Xray-install/raw/main/install-release.sh)" @ install --version 1.8.0 حالا شما موفق به نصب ایکس ری نسخه بتا شدید، باید کانفیگ سرور رو انجام بدید. فایل پایین رو در مسیر زیر ایجاد کنید: مسیر: /usr/local/etc/xray/config.json فایل: ``` { "log": { "loglevel": "warning" }, "routing": { "domainStrategy": "IPIfNonMatch", "rules": [ { "type": "field", "ip": [ "geoip:cn" ], "outboundTag": "block" } ] }, "inbounds": [ { "listen": "0.0.0.0", "port": 443, "protocol": "vless", "settings": { "clients": [ { "id": "erfun", "flow": "xtls-rprx-vision" } ], "decryption": "none" }, "streamSettings": { "network": "tcp", "security": "reality", "realitySettings": { "show": false, "dest": "virgool.io:443", "xver": 0, "serverNames": [ "virgool.io", "www.virgool.io" ], "privateKey": "copy the private key here", "shortIds": [ "bc24", "a2da53" ] } }, "sniffing": { "enabled": true, "destOverride": [ "http", "tls" ] } } ], "outbounds": [ { "protocol": "freedom", "tag": "direct" }, { "protocol": "blackhole", "tag": "block" } ], "policy": { "levels": { "0": { "handshake": 2, "connIdle": 120 } } } } ``` حالا باید جفت کلید x25519 رو بسازید. با این دستور: `xray x25519` حالا پرایوت کی رو کپی کنید توی کانفیگ فایل بالا، باید مقدار privateKey رو در کانفیگ فایل رو با کلید خصوصی جایگزین کنید. حالا وقت اجرای برنامه اس. یک روش اصلیه و یک روش دیباگ کردن، روش اصلی رو توضیح میدم اول. ``` systemctl enable xray systemctl start xray ``` این دو دستور رو به ترتیب اجرا کنید تا سرویس ایک ری اجرا بشه. حالا میریم سراغ کلاینت برای آیفون از این اپ میتونید استفاده کنید چون روی آخرین نسخه اس: https://apps.apple.com/us/app/wings-x/id6446119727 برای اندرویدم باید از چیزی استفاده کنید که ایکس ری ۱.۸ رو ساپورت کنه مثل نسخه بتای v2rayng: https://github.com/2dust/v2rayNG/releases حالا چون اضافه کردن کانفیگش یکم سخته من یه کانفیگ فیک درست کردم براتون که فقط پرایوت کی بالا رو که گرفتید رو اینجا باهاش جایگزین کنید و آیپی سرورتون رو با آیپی ۵.۴.۳.۲ تعویض کنید. vless://erfun@5.4.3.2:443?type=tcp&security=reality&headerType=none&fp=chrome&sni=virgool.io&flow=xtls-rprx-vision&pbk=tpf4EUQtLbdrj8nkIEMIgKR5W2rjC6ypCTh5gZ10Hzk&sid=a2da53#Erfun-xtls-reality امشب میگرن خیلی بدی گرفتم بعدا میام از لحاظ فنی توضیح میدم این چطوری کار میکنه که خودتون دستتون بیاد و کانفیگ اختصاصی خودتون رو بسازید.