Giter VIP home page Giter VIP logo

Comments (10)

ashaghal avatar ashaghal commented on June 26, 2024 2

نیم ساعت داشتم انگلیسی مینوشتم :)) خوب داداش از cmd دستور ipconfig رو بزن ببین ip wsl چیه بعدش SDC رو proxy شو اجرا کن و ست کن بعدش توی wsl دستور زیر رو نویس export http_proxy=http://[WSL_IP]:8090 export https_proxy=http://[WSL_IP]:8090 بعدشم یه تست بزن ببین میشه یا نه برای من که شد

دمت گرم :))
اره با پروکسی میشه مشکلی نداره، میخواستم مثل ویندوز بدون پراکسی ست بشه که گویا نمیشه. ولی بازم خوب کارم راه افتاد. مرسی

from securednsclient.

ashaghal avatar ashaghal commented on June 26, 2024 1

خب آقا بقیش رو فارسی بگم شاید مشکل 4 نفر دیگه هم بود.
برای این که تو wsl بتونم به sdc وصل بشم توی تنظیمات wslconfig. باید networkingmode= mirror باشه تا از حالت NAT در بیاد.
حالا با تنظیم nameserver 127.0.0.1 میشه توی log خود sdc درخواستهای wsl رو دید.
اما بازم مشکل اینه که youtube رو باز نمیکنه تو wsl با این که log رو در sdc میشه دید

from securednsclient.

ashaghal avatar ashaghal commented on June 26, 2024 1

خواهش میکنم وظیفه است.
خب الان توی ویندوز با این تنظیمات youtube رو دارم با فعال بودن goodbyedpi و ست کردن dns روی wifi
image
چرا مرورگر توی wsl نمیتونه مثل مرورگر تو ویندوز عمل کنه؟

from securednsclient.

Noob2Pr0 avatar Noob2Pr0 commented on June 26, 2024 1

نیم ساعت داشتم انگلیسی مینوشتم
:))
خوب داداش از cmd دستور ipconfig رو بزن ببین ip wsl چیه
بعدش SDC رو proxy شو اجرا کن و ست کن
بعدش توی wsl دستور زیر رو نویس
export http_proxy=http://[WSL_IP]:8090
export https_proxy=http://[WSL_IP]:8090
بعدشم یه تست بزن ببین میشه یا نه برای من که شد

from securednsclient.

ashaghal avatar ashaghal commented on June 26, 2024 1

با proxy وصل میشه مشکلی نداره
بیشتر هدفم برای هسته sing-box بود که الان به خاطر اختلال وصل نمیشه روی لینوکس اما با SDC روی ویندوز به خوبی وصل میشه که فکر کنم بخاطر اینه که client hello رو Middleman نمیتونه مختل کنه.
راه حلش اینجا برام این شد که از هسته sing-box روی ویندوز استفاده کنم که خودش با SDC به خوبی کار میکنه و توی لینوکس هسته جدا ران نکنم و با پروکسی از همون هسته روی ویندوز استفاده کنم.

from securednsclient.

Noob2Pr0 avatar Noob2Pr0 commented on June 26, 2024 1

سسس

from securednsclient.

msasanmh avatar msasanmh commented on June 26, 2024

In WSL2 if we configure the resolve.conf file to use windows as the nameserver it would not use SDC and if we set-dns on the Hyper-V Virtual Ethernet Adapter it would not use it either.
so how we can use SDC in WSL2?

I don't use WSL, so I really have no idea.

But do you mean
namesaerver 127.0.0.1
doesn't work?

Did you try these:

https://superuser.com/questions/1533291/how-do-i-change-the-dns-settings-for-wsl2

https://learn.microsoft.com/en-us/windows/wsl/networking

from securednsclient.

ashaghal avatar ashaghal commented on June 26, 2024

yes i have tried these. The issue is that WSL runs as a VM inside the windows and setting the nameserver 127.0.0.1 does not have access to the SDC within WSL. also tried the ip address of the host as nameserver.
I also tried different options in this link to try using windows as a dns server
https://learn.microsoft.com/en-us/windows/wsl/wsl-config#configuration-settings-for-wslconfig
but so far i haven't been successful

from securednsclient.

msasanmh avatar msasanmh commented on June 26, 2024

خب آقا بقیش رو فارسی بگم شاید مشکل 4 نفر دیگه هم بود.
برای این که تو wsl بتونم به sdc وصل بشم توی تنظیمات wslconfig. باید networkingmode= mirror باشه تا از حالت NAT در بیاد.
حالا با تنظیم nameserver 127.0.0.1 میشه توی log خود sdc درخواستهای wsl رو دید.
اما بازم مشکل اینه که youtube رو باز نمیکنه تو wsl با این که log رو در sdc میشه دید

عالیه که تونستی راه بندازی و ممنون که راه حل رو گذاشتی.

برای یوتیوب dns به تنهایی کافی نیست، باید پراکسی sdc فعال باشه، حالت‌های dpi bypassing هم فعال باشن و بعد اگه wsl بتونه از پراکسی sdc استفاده کنه اونوقت میتونه یوتیوب رو باز کنه.
شاید اگه پراکسی رو اجرا کنی و روی سیستم ست کنی بتونه ازش استفاده کنه.

from securednsclient.

msasanmh avatar msasanmh commented on June 26, 2024

خواهش میکنم وظیفه است.
خب الان توی ویندوز با این تنظیمات youtube رو دارم با فعال بودن goodbyedpi و ست کردن dns روی wifi
image
چرا مرورگر توی wsl نمیتونه مثل مرورگر تو ویندوز عمل کنه؟

فکر نکنم GoodbyeDPI بتونه پکت‌های داخل wsl رو کپچر کنه تا بخواد anti dpi روش اجرا کنه.
پراکسی رو امتحان کن ببین چی میشه.

from securednsclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.