How To Unblock Reddit Anywhere
When I moved to Indonesia, I found many websites blocked by either the government or ISP providers. However; there are a few solutions to this. One solution is to use a Virtual Private Network (VPN) which tunnels you through another network in another location in the world. This not only allows you to access the sites you want but also masks what you are browsing from your ISP provider.
In the image below, you’ll see that remote users can connect to their head office or regional office VPNs.
There are a few VPN options out there that are reputable and fast such as ExpressVPN or TunnelBear. Free pricing tiers exist but keep in mind that your data usage or speed may be limited. You’ll be paying around $5–10 USD or 70,000 to 150,000 Rupiah a month for a quality one which is unlimited.
Now if VPN isn’t an option and you want a solution that’s just as fast, you can try accessing alternative IP addresses if your ISP hasn’t blocked them. So far in Indonesia, I have found Reddit working flawlessly. This method is to edit the hosts file.
When you access a site, you’re contacting the Domain Name System (DNS) server to request for the IP address. For example, if you’re contacting google.com, your computer will receive 220.127.116.11 which will be used to access the site. The hosts file is a way for you to override this by entering exactly what IP address you want to access when contacting Google.com.
Now your browser will make the request directly to 18.104.22.168.
Now to the good stuff since I feel I’ve given you enough context.
1) Open your hosts file with write permissions using Vim which is a built-in text editor.
sudo vim /etc/hosts
Open the Notepad application as Administrator (by right clicking) and then File>Open
2) Paste the following at the bottom of the file.
If you’re wondering, there are many IP addresses because some of them are for stats, media such as images, and etc.
3) Now save the file
In Vim, you’ll enter w to save and q to quit.
Windows users: Just File>Save
You’re good to go, now Reddit should be available. This solution can be applied to other IP addresses if you discover them on the internet.
Note: VPN solutions are suggested on mobile phones. Otherwise; you’ll have to root your device in order to modify the hosts file.
Enjoy and share the wisdom with your friends, happy hacking!