WhatsApp / proxy

This repository contains the WhatsApp proxy implementation for users to host their own proxy infrastructure to connect to WhatsApp for chat (VoIP is not currently supported)
MIT License
1.39k stars 378 forks source link

It is probably blocked in Iran / احتمالا در ایران کار نمکنه ! تلاش های خود را بازگو کنید #20

Open tawanaproxy opened 1 year ago

tawanaproxy commented 1 year ago

I tried on several servers. Unfortunately, the evidence shows that it is not connected in most parts of Iran. I believe that the firewall of Iran and China blocked your protocol

tawanaproxy commented 1 year ago

Please do not close and flag this issue. Allow the people of Iran and China to comment on this (say their experience)

msudgh commented 1 year ago

This proxy server doesn't solve Iranian issue with government internet disruptions.

Public internet heavily disrupted and even common 80 443 ports are included.

FarzadHZZ commented 1 year ago

Chera yaro enghad sakhtesh karde nemishe asan run kard

FarzadHZZ commented 1 year ago

Manam ke hichi halik nist :\

maghsoudkh commented 1 year ago

hello from which server provider you got your severs? maybe it differs from one provider to another

tawanaproxy commented 1 year ago

hello from which server provider you got your severs? maybe it differs from one provider to another

hi . I used several different data centers. By the way, I am sure that the ip s are not blocked

maghsoudkh commented 1 year ago

if possible please give some more information about your test because as far as i can tell many users in Iran still dont see the proxy option on their phone (Android)

tawanaproxy commented 1 year ago

Chera yaro enghad sakhtesh karde nemishe asan run kard

zyad chiz khsio az dast ndandi. zaheran vasl nmisheh. hala ba thunnel ham bayd test konm

maghsoudkh commented 1 year ago

does your proxy work on other ports than 80 443 and 5222

tawanaproxy commented 1 year ago

if possible please give some more information about your test because as far as i can tell many users in Iran still dont see the proxy option on their phone (Android)

Unfortunately, not much information is available. I deleted all those servers :) It can be seen on iPhones (ios) by updating to the latest official version. And on Android to update to the beta version.

tawanaproxy commented 1 year ago

does your proxy work on other ports than 80 443 and 5222

No . The proxy works outside of Iran. But not in Iran! Do you want to do a test together?

maghsoudkh commented 1 year ago

sorry how do you want to test by tunnel? you mean ssh directly to your servers?

maghsoudkh commented 1 year ago

yeah i think we can do that do you live in iran ?

tawanaproxy commented 1 year ago

sorry how do you want to test by tunnel? you mean ssh directly to your servers?

No By forwarding the port or IP our sshtunell

maghsoudkh commented 1 year ago

ahhh okay thanks for your information

tawanaproxy commented 1 year ago

yeah i think we can do that do you live in iran ?

I do not live in Iran. But I have many followers in Iran. They try and tell me

moradpoor commented 1 year ago

سلام من اینو روی سرور کانفیگ و تست کردم فقط چت رد و بدل میشه نه اپلود میکنه نه دانلود فقط تونستم با پورت ۸۰ وصل بشم بعد از هر بار بستن و باز کردن واتساپ باید حدود ۱۰ ثانیه صبر کرد من با تانل ایران هم تست کردم یک بار روی پورت ۸۰ وصل شد دیگه نشد با دامنه اصلا وصل نشد برای من - منظور بدون حالت سی دی انه حالت سی دی ان هم که انتظار نداشتم وصل شه ولی تست کردم

hi i tested in iran I could not upload or download anything good only for text messages just port 80 worked for me you should wait 10 sec after reopen whatsapp every time

miladpejmanrad commented 1 year ago

سلام من اینو روی سرور کانفیگ و تست کردم فقط چت رد و بدل میشه نه اپلود میکنه نه دانلود فقط تونستم با پورت ۸۰ وصل بشم بعد از هر بار بستن و باز کردن واتساپ باید حدود ۱۰ ثانیه صبر کرد

hi i tested in iran I could not upload or download anything good only for text messages just port 80 worked for me you should wait 10 sec after reopen whatsapp every time

This is expected. Currently, WhatsApp Proxy only supports messaging and media upload/download is not supported.

moradpoor commented 1 year ago

سلام من اینو روی سرور کانفیگ و تست کردم فقط چت رد و بدل میشه نه اپلود میکنه نه دانلود فقط تونستم با پورت ۸۰ وصل بشم بعد از هر بار بستن و باز کردن واتساپ باید حدود ۱۰ ثانیه صبر کرد hi i tested in iran I could not upload or download anything good only for text messages just port 80 worked for me you should wait 10 sec after reopen whatsapp every time

This is expected. Currently, WhatsApp Proxy only supports messaging and media upload/download is not supported.

really !!! , i didn't see anything about this in official website

yasershop commented 1 year ago

به نظر من هم اینجا کار نمیکنه و عملی نیست

amirarsalan251 commented 1 year ago

If using tls and ssl it's working

msalehy commented 1 year ago

discussed in #18 for text only

kazem3d commented 1 year ago

روی پورت 80 تونستم کانکت بشم که اونم فقط در حد ارسال متن بود و امکان مشاهده ویدیو و عکس نیست

I was able to connect on port 80, but it was only limited to sending text and it was not possible to view videos and photos

mmansonx commented 1 year ago

@kazem3d What do you put in whatsapp as your proxy address? your_public_ip:80 ?

kazem3d commented 1 year ago

Yes

On Fri, Jan 6, 2023, 4:20 PM mmansonx @.***> wrote:

What do you put in whatsapp as your proxy address? your_public_ip:80 ?

— Reply to this email directly, view it on GitHub https://github.com/WhatsApp/proxy/issues/20#issuecomment-1373581887, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALB63GA32RIKS4S6JGCREITWRAIKDANCNFSM6AAAAAATSPU7TI . You are receiving this because you commented.Message ID: @.***>

msalehy commented 1 year ago

@moradpoor @kazem3d please check about section of this repo

mbtavasoli commented 1 year ago

I've also set up this proxy server. For me only port 5222 works and of course through vpn. Without vpn it can't connect.

timelapsegeek commented 1 year ago

Not working for me. Tried different ISPs.

mbtavasoli commented 1 year ago

Not working for me. Tried different ISPs.

try to change the ports and rebuild it and run

intelsat605 commented 1 year ago

Offer a proxy server to test from iran.

gary-RR commented 1 year ago

I'm new to this but I think the idea is to set up the proxy servers outside Iran and share their IP addresses discreetly with trusted people inside Iran as these IPs aren't known to the security people so they can't block them.

absoonoo commented 1 year ago

روی پورت 80 تونستم کانکت بشم که اونم فقط در حد ارسال متن بود و امکان مشاهده ویدیو و عکس نیست

I was able to connect on port 80, but it was only limited to sending text and it was not possible to view videos and photos

این مخزن شامل اجرای پروکسی واتس اپ است تا کاربران بتوانند زیرساخت پروکسی خود را میزبانی کنند تا برای چت به واتس اپ متصل شوند (VoIP و آپلود/دانلود رسانه در حال حاضر پروکسی نشده است)

striped3964 commented 1 year ago

The proxy only works on some ISPs. hamrahe aval works on port 80. The server I used was Hetzner.

h4m3ds commented 1 year ago

On android mobile data, connected to a VPS in Germany we got Connected without the green check symbol and NO communication. The same in Germay got the symbol and worked properly.

tawanaproxy commented 1 year ago

@slawlor Please mark this conversation so that the people of Iran can discuss it as a reference for solving the problem

nghazali commented 1 year ago

I setup this proxy on several servers from different providers, all working fine in the US, Canada, Australia, NewZealand, but the protocol is blocked in Iran. Users in Iran are reported that they can get connected only if they use VPN, which explains that this proxy is blocked in Iran. p.s. The IPs used for proxy servers were not blocked in Iran.

ydagnhienil commented 1 year ago

I've setup this proxy on several servers from different providers too. It is working fine in Germany but the users in Iran reporting that it doesn't work without VPN. I thought they are blocking according to the selfsigned certificate fingerprint. I've changed the certificate SSL_SUBJECTand CA_SUBJECT in file src/generate-certs.sh rebuild the image and start it. Unfortunately no success for the user in Iran. Still working for me in Germany.

I thought maybe they are scanning the IPs with the open whatsapp port (5222) and block that. Accordingly I've changed the docker-compose.yml and removed all the other ports: ports:

After starting the docker compose again no success for the user in Iran. Still working for me in Germany with Public_IP:5432

Any Idea how they are blocking it?

slawlor commented 1 year ago

97 should help with certificate property detection, but won't help with blockage of say cloud providers or whole IP ranges

ehsanshams commented 1 year ago

I set up a proxy server on digitalocean, it was perfectly working in Germany between different accounts (just to prove/check the server is working). It was not working from Iran (Tehran), and it was interesting 443 was added automatically, users were not able to remove 443.

image

abozaralizadeh commented 1 year ago

I set up a proxy server and tried with different ports, it’s not working from iran (the ip is not blocked there) while works perfectly from outside. This feature seems to be useless where it is needed, probably the packet is recognized as a whatsapp packet and is dropped there! Could you encrypt the whole payload and hide any signs of the application to make it impossible to recognize when the proxy is on?

nghazali commented 1 year ago

This solution is not working in Iran.