Comments (10)
نیم ساعت داشتم انگلیسی مینوشتم :)) خوب داداش از cmd دستور ipconfig رو بزن ببین ip wsl چیه بعدش SDC رو proxy شو اجرا کن و ست کن بعدش توی wsl دستور زیر رو نویس export http_proxy=http://[WSL_IP]:8090 export https_proxy=http://[WSL_IP]:8090 بعدشم یه تست بزن ببین میشه یا نه برای من که شد
دمت گرم :))
اره با پروکسی میشه مشکلی نداره، میخواستم مثل ویندوز بدون پراکسی ست بشه که گویا نمیشه. ولی بازم خوب کارم راه افتاد. مرسی
from securednsclient.
خب آقا بقیش رو فارسی بگم شاید مشکل 4 نفر دیگه هم بود.
برای این که تو wsl بتونم به sdc وصل بشم توی تنظیمات wslconfig. باید networkingmode= mirror باشه تا از حالت NAT در بیاد.
حالا با تنظیم nameserver 127.0.0.1 میشه توی log خود sdc درخواستهای wsl رو دید.
اما بازم مشکل اینه که youtube رو باز نمیکنه تو wsl با این که log رو در sdc میشه دید
from securednsclient.
خواهش میکنم وظیفه است.
خب الان توی ویندوز با این تنظیمات youtube رو دارم با فعال بودن goodbyedpi و ست کردن dns روی wifi
چرا مرورگر توی wsl نمیتونه مثل مرورگر تو ویندوز عمل کنه؟
from securednsclient.
نیم ساعت داشتم انگلیسی مینوشتم
:))
خوب داداش از cmd دستور ipconfig رو بزن ببین ip wsl چیه
بعدش SDC رو proxy شو اجرا کن و ست کن
بعدش توی wsl دستور زیر رو نویس
export http_proxy=http://[WSL_IP]:8090
export https_proxy=http://[WSL_IP]:8090
بعدشم یه تست بزن ببین میشه یا نه برای من که شد
from securednsclient.
با proxy وصل میشه مشکلی نداره
بیشتر هدفم برای هسته sing-box بود که الان به خاطر اختلال وصل نمیشه روی لینوکس اما با SDC روی ویندوز به خوبی وصل میشه که فکر کنم بخاطر اینه که client hello رو Middleman نمیتونه مختل کنه.
راه حلش اینجا برام این شد که از هسته sing-box روی ویندوز استفاده کنم که خودش با SDC به خوبی کار میکنه و توی لینوکس هسته جدا ران نکنم و با پروکسی از همون هسته روی ویندوز استفاده کنم.
from securednsclient.
from securednsclient.
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.
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.
خب آقا بقیش رو فارسی بگم شاید مشکل 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.
خواهش میکنم وظیفه است.
خب الان توی ویندوز با این تنظیمات youtube رو دارم با فعال بودن goodbyedpi و ست کردن dns روی wifi
چرا مرورگر توی wsl نمیتونه مثل مرورگر تو ویندوز عمل کنه؟
فکر نکنم GoodbyeDPI بتونه پکتهای داخل wsl رو کپچر کنه تا بخواد anti dpi روش اجرا کنه.
پراکسی رو امتحان کن ببین چی میشه.
from securednsclient.
Related Issues (20)
- Can you explain some fragment options in "share tab" please ? HOT 1
- first try fail, second try connect successfuly HOT 1
- Request Denied Due To Max Requests of 1000 HOT 6
- Disconnect loop issue HOT 84
- Question about dnscrypt with relays HOT 6
- DNS list HOT 1
- انتخاب خودکار بهترین تنظیمات فرگمنت HOT 7
- مشکل در اتصال از نسخه 2.9.2 HOT 21
- بیا تلگرام
- Security Alert: Malware detection 3.0.4 HOT 2
- how to use multiple domain HOT 14
- کندی سرعت HOT 12
- مشکل با internet download manager HOT 8
- First failed issue HOT 2
- قطعی هر چند ثانیع یکبار در نسخه 3.2.0 HOT 1
- قطعی و کارکرد بد در نسخه 3.2.0 HOT 7
- DNS Loopback HOT 4
- browser doh disabled HOT 5
- event viewer spammed with errors while SDC is on HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from securednsclient.