How To Unblock Reddit Anywhere

intjbreakthechain.wordpress.com

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.

wikipedia.org

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 72.217.160.14 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.

1.1.1.1. google.com

Now your browser will make the request directly to 1.1.1.1.

movieweb.com

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

Windows users:

Open the Notepad application as Administrator (by right clicking) and then File>Open C:\Windows\System32\Drivers\etc\hosts

2) Paste the following at the bottom of the file.

151.101.129.140   i.redditmedia.com 
52.34.230.181 www.reddithelp.com
151.101.65.140 g.redditmedia.com
151.101.65.140 a.thumbs.redditmedia.com
151.101.1.140 redditgifts.com
151.101.1.140 i.redd.it
151.101.1.140 old.reddit.com
151.101.1.140 new.reddit.com
151.101.129.140 reddit.com
151.101.129.140 gateway.reddit.com
151.101.129.140 oauth.reddit.com
151.101.129.140 sendbird.reddit.com
151.101.129.140 v.redd.it
151.101.1.140 b.thumbs.redditmedia.com
151.101.1.140 events.reddit.com
54.210.123.98 stats.redditmedia.com
151.101.65.140 www.redditstatic.com
151.101.193.140 www.reddit.com
52.3.23.26 pixel.redditmedia.com
151.101.65.140 www.redditmedia.com
151.101.193.140 about.reddit.com
52.203.76.9 out.reddit.com

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.

:wq

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!