Lurker News
As you probably have heard, there have been widespread protests going on inside Iran for the past week or so following the death of Mahsa Amini at the hands of the morality police.

Following the protests, the government has cut off or severely limited residential and especially mobile broadband access to the internet and people can only access websites and services hosted inside Iran. This has made connecting to VPNs with servers outside Iran, and Tor close to impossible. That being said, the servers inside Iranian data centers still have access to the outside world.
The government has also blocked Instagram and WhatsApp (the main channels of communication used by people inside Iran), and alternatives such as Telegram, Signal, etc are also blocked, halting communications to a crawl. People have to either call each other via GSM or send SMSs (which by the way is being monitored and messages containing keywords related to the protests don't even get delivered). As you can imagine, it's preventing people from coordinating the protests and strikes, and with the sattelite TVs being also heavily jammed, the only source of information accessible to most people is the government-led local TV channels which are distributing regime propaganda 24/7 and trying to scare people into submission.
We (a group of tech people inside Iran) have started using the servers inside Iranian data centers gain access to the Internet, and are setting up VPN servers and Tor bridges and giving the information to people we know. It's not scalable, and it's risky for us (the servers inside Iran can be traced back to us), but that's the only way we could think of to help. The technical details are published here:
https://github.com/InternetForIran/InternetForIran
We need help on multiple fronts:
- Please review and contribute to our repository on GitHub linked above. We need to improve the security and make deployment easier.
- The methods for setting up Tor bridges described in the repository were working up until 2 days ago, but have mostly stopped working and we haven't figured out why yet, maybe you can help?
- We have reports that V2Ray VMess and ShadowSocks are working inside Iran even at times when most other tools and protocols don't. We haven't been able to reliably deploy and test this (there are many configuration options and it's not clear which methods are working). Please create an issue or send a PR if you know how it works and how to deploy it.
- If you are an Iranian expat: Get a server inside Iran and set this up for your family and friends and get them back online.
- If you are an entrepreneur or work at a tech startup inside Iran: Your company already has servers inside Iran. Talk with your team, set up VPN servers and Tor bridges and share them with other employees and ask them to help get their family and friends online.
Edit: Formatting.

Comments (183) 49 threads

Earlier comments
WesternWind#
I see a lot of people suggesting services, wanting to be helpful here, when they asked for people to respond on GitHub.

If you have an idea based on your own knowledge of what they asked for,I'd put it there, that will keep them from duplicating effort.

morpheuskafka6 replies#
Just curious, is there some sort of special license or permission required to get access to computing resources like these in Iran, like there is with the Chinese website license number thing?

I have thought about trying to run a VPN server on my EC2 web server for my friends in Iran but not sure if regular VPN protocols are even allowed through. I don't think they know what Tor is much less how to set it up with a custom bridge. They seem to be using some kind of proxy/bridge for Telegram, but didn't know the technical English vocab to tell me exactly what it was.
Ironically, I once talked to someone very pro-regime on HelloTalk and asked them why they were using Telegram if it was blocked/illegal there, since they would defend the regime on anything else you asked them about. They claimed to believe that it was blocked because of US sanctions and denied that the government blocked any websites. Is this a narrative they are pushing on state media there?

zer0x4d#
I moved out of Iran about 10 years ago, but when I was there you couldn't purchase internet plans faster than 128kbps unless you had a legitimate reason such as being a reporter, business, etc. There was, however, no special license needed for any computing equipment. I purchased very cheap VPS and other resources without even having to submit any personal info.

Nowadays, the limit is gone and there is faster internet access but the issue of filtering still exists. When a service doesn't work in Iran it's either due to sanctions, the government blocking access to some domain/ip, or a combination of both. The user is left wondering which one it is and how they can get around it

Gasp0de#
Using Tor Browser should be very simple, if they know how to operate a web browser they should be able to use Tor Browser. They literally start the program, there is a window that asks if they want to use a direct connection or bridge. They click bridge, enter a bridge and are connected like a normal browser.
lutoma#
You don't actually need the license for computing resources in China, it's "only" necessary when you're hosting public-facing web pages specifically
Siira#
> Is this a narrative they are pushing on state media there?

I don't believe so. In general, assholes who get their money from the government, create their own fake news which is even faker than what is published in the state media. Which makes sense, as the state media optimizes for everyone watching it, not just the bootlickers.
> regular VPN protocols
Naive, Hysteria, Trojan, VLESS, etc. seem to work. Of course, foreign servers are, at times like this, only accessible in datacenters, which means the protocol would be irrelevant.

miracle2k#
> They claimed to believe that it was blocked because of US sanctions and denied that the government blocked any websites.

This narrative is probably helped by the fact that half the internet is being blocked on the US side because of sanctions - i.e. the entirety of Google Cloud.

aljgz#
> is there some sort of special license or permission required to get access to computing resources

Mostly not. Censorship works by elimination, not by requiring initial permission. The main exception is internet access to blocked services. Government supporters get access to services that are otherwise blocked to the public.
> They claimed to believe that it was blocked because of US sanctions and denied that the government blocked any websites
The government and their supporters are bad liers. By bad, I mean they don't even try to make it convincing. The president told a foreign journalist that covering is optional in Iran. That is while their "morality police" has killed a woman and the whole country is burning in riots. This is while that same journalist is wearing scarf to be allowed to talk to the president, in US!

bo10243 replies#
Can people use a steganography app to communicate via innocuous images?

1. Take a picture.
2. Use app to insert message into picture, encrypt with passphrase.
3. SMS picture to friend or upload to Iranian equivalent of imgur (if any is up).
4. Friend loads picture into app and types passphrase to get message.
I'm not sure what a good choice of app would be, but something good must exist?

remram2 replies#
The point is that phone service and access to the outside internet is blocked. You can't get images out any more than you can get text out, so putting text in images does not help.
giantrobot#
If data centers can make outside connections then steganography and internal (to Iran) routing can help get messages from protests to someone that can pass those through datacenter Internet links.

Just being able to organize internally is super useful. The protestors don't need to use Facebook to organize effectively.

bo1024#
I thought the main goal was to help Iranians communicate with each other.
mariojv2 replies#
Is there any good open source or publicly usable steganography software with reasonable UX? Page 1 of Google shows this thing called OpenStego. I've heard of steganography but have no idea what tools are reputable in this space.
fareesh1 reply#
Does steganography break when Social media sites reprocess images? I.e. do you need to access the underlying raw bytes?
bo1024#
Great point, probably most approaches break if the site is doing that.
exikyut#
I find MMS heavily compresses images to an absolutely unusable extent.
RupertEisenhart1 reply#
I would recommend trying to set up tailscale[0] in the servers instead of a VPN, its similar to the reply about SSH ProxyForwarding but it has a lot more tricks under the hood. Of course you need somewhere (aka an AWS server in eg. europe) to connect to.

Also have a look at their blog post about NAT traversal for some potential inspiration: https://tailscale.com/blog/how-nat-traversal-works/
Good luck out there! I'll have a look at your github repo now.
[0]: https://tailscale.com/

georgyo#
Tailscale is a VPN...

And it requires a control server with auth. Simply cutting off access to the control server would disable clients from connecting.
While there is headscale, configuring the tailscale clients is tricky and would not scale to hundreds or thousands of non technical people.
/!/ Also tailscale is a mesh network. It would only take one rouge client to revel all other clients. This is very very dangerous given the use case.

Load more comments