dovecoteescapee / ByeDPIAndroid

App to bypass censorship on Android
https://ntc.party/c/community-software/byedpi
GNU General Public License v3.0
3.01k stars 130 forks source link

Proxy mode works, but vpn mode does not works #30

Open ingnelson opened 4 months ago

ingnelson commented 4 months ago

Hello .

Proxy mode : works perfectly! I can bypass my ISP using proxy mode + the app named "Tun2tap for android" for route the trafficto other apps . It works ok. I used this setting: dns: 8.8.8.8 Desync method: Fake Split at host : checked . SNI Of fake packet: here I put the website or url or host (example: usually the ISP website) that my ISP do not blocks , this the most important part to know for the guy that want to bypass their ISP .

VPN mode: does not works . Can you fix the "vpn mode" this way I can only use one android app ( ByeDIPAndroid), please?

VPN mode do not route all the traffic to the others apps.

dovecoteescapee commented 3 months ago

Is this problem still relevant?

ingnelson commented 3 months ago

Now it looks like only the browser bypass the ISP , all the other apps does not go through the ByeDIPAndroid. For instance: If you try speedtest app it does show the same speed as the browser like Chrome, that mean the router is is not made through ByeDIPAndroid and it goes directly. That is the reason all the other apps run slow or get the speed blocked .

dovecoteescapee commented 3 months ago

The application should not significantly affect the speed of the Internet

ingnelson commented 3 months ago

@dovecoteescapee what I am trying to say is : if I connect the app ByeDIPAndroid and I open chrome app then I open any websites to check the download and upload speed , I get like 20 MB/S , this mean I bypass bypass the ISP , but if I try to open another app inside my phone like SPEEDTEST or YouTube or open other app the speed is 0.5 MB/S .

So that mean could mean the app ByeDIPAndroid does make the router correctly and all the other app access through the internal VPN created ?

dovecoteescapee commented 3 months ago

I think speed is not the best option to make sure that traffic goes through the app. The current version of the app passes through all other apps' traffic.

Did I understand your problem correctly: your ISP slows down speedtest, you successfully bypass this blocking in the browser, but not in the speedtest app?

ingnelson commented 3 months ago

Correct

dovecoteescapee commented 3 months ago

But if you use tun2tap app to connect to ByeDPI, then the blocking is bypassed both in Chrome and in the Speedtest application?

ingnelson commented 3 months ago

Correct. Only when I use Chrome I get 20 mb/s . If I use other app the speed drop to 0.4 mb/s . It is weird.

dovecoteescapee commented 3 months ago

Yes, it's really strange. It is unlikely that I will be able to figure out what the reason is without the ability to reproduce the situation.

dovecoteescapee commented 3 months ago

Can you give me a link to the tun2tap you are using? I'm thinking about changing the library for tun2socks

ingnelson commented 3 months ago

@dovecoteescapee https://play.google.com/store/apps/details?id=com.newtoolsworks.tun2tap

zimbabwe303 commented 3 months ago

May be this will do better, it's a fork of tun2socks: https://github.com/heiher/sockstun

The author reports he recently submitted it to F-Droid and it seems it goes fine regarding the antivirus false-positives: https://gitlab.com/fdroid/fdroiddata/-/merge_requests/15551

dovecoteescapee commented 3 months ago

May be this will do better, it's a fork of tun2socks: https://github.com/heiher/sockstun

Yes, I am considering this library, I like it. Besides, C is easier to compile for Android than Go.