Skip to content

Instantly share code, notes, and snippets.

@mul14
Last active October 29, 2024 13:11
Show Gist options
  • Save mul14/eb05e88fcec5bb195cbb to your computer and use it in GitHub Desktop.
Save mul14/eb05e88fcec5bb195cbb to your computer and use it in GitHub Desktop.
/etc/hosts for Vimeo, Reddit, Imgur, GitHub, DigitalOcean, dll

Unblock Steam, Vimeo, Reddit, Imgur, GitHub, DigitalOcean, NPM, PayPal, dll

Saya support Internet Positif untuk memblokir porn, situs judi, dan hal-hal ilegal lainnya. Tapi pemerintah dan ISP sangat konyol karena tidak mengizinkan akses ke Vimeo, Reddit, Imgur, Netflix--yang mana bukanlah situs dengan konten utama ilegal.

Linux / BSD / macOS

Tambahkan list di bawah ke /etc/hosts.

Windows

  1. Buka Command Prompt (atau PowerShell) dengan Administrator. Windows 10 bisa klik kanan tombol Start di kiri bawah, lalu pilih "Command Prompt (Admin)".

  2. Ketik notepad %WinDir%\System32\Drivers\etc\hosts

  3. Tambahkan list di bawah ini ke file hosts

Alternatif

Tools alternatif yang bisa digunakan:

DNS over HTTPS (DoH)

Anda bisa mengaktifkan DoH pada web browser.

Firefox

Settings > Network Settings

firefox-doh
Microsoft Edge

Settings > Privacy, Search, and Services > Security

or just access this URI edge://settings/privacy

edge-doh
Chromium / Google Chrome

Settings > Privacy and Security

or just access this URI chrome://settings/security

chrome-doh
# ---------------------------------------------------
# Vimeo
# ---------------------------------------------------
162.159.138.60 vimeo.com
162.159.138.60 player.vimeo.com
162.159.128.61 developer.vimeo.com
199.232.46.109 f.vimeocdn.com
199.232.46.10 i.vimeocdn.com
199.232.45.194 vimeo-hp-videos.global.ssl.fastly.net
# ---------------------------------------------------
# Reddit
# ---------------------------------------------------
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
151.101.1.140 out.reddit.com
107.23.236.34 events.redditmedia.com
151.101.61.140 e.reddit.com
151.101.197.140 s.redditmedia.com
146.75.25.140 gql.reddit.com
151.101.1.140 alb.reddit.com
34.207.103.54 sendbirdproxy-06490ff42851cbcc5.chat.redditmedia.com
52.207.213.188 sendbirdproxy-003d8d1fb8653f6f8.chat.redditmedia.com
34.226.121.89 sendbirdproxy-04ea6c3f71aac3e3f.chat.redditmedia.com
# ---------------------------------------------------
# Imgur
# ---------------------------------------------------
199.232.196.193 imgur.com
146.75.40.193 p.imgur.com
146.75.40.193 s.imgur.com
151.101.24.193 i.imgur.com
146.75.40.193 m.imgur.com
146.75.40.193 i.stack.imgur.com
107.20.18.157 apidocs.imgur.com
146.75.40.193 api.imgur.com
104.16.51.111 help.imgur.com
151.101.24.193 blog.imgur.com
151.101.24.193 store.imgur.com
# ---------------------------------------------------
# GitHub
# ---------------------------------------------------
20.205.243.166 github.com
192.0.66.2 github.blog
20.205.243.168 api.github.com
185.199.108.154 docs.github.com
20.205.243.166 gist.github.com
20.205.243.166 shop.github.com
185.199.109.153 githubstatus.com
185.199.111.153 guides.github.com
185.199.111.153 githubuniverse.com
13.250.177.223 support.github.com
185.199.111.153 services.github.com
3.221.128.67 collector.githubapp.com
185.199.109.154 github.githubassets.com
185.199.110.133 raw.githubusercontent.com
185.199.111.153 spotlights-feed.github.com
185.199.110.133 avatars.githubusercontent.com
185.199.109.154 github-releases.githubusercontent.com
185.199.111.133 repository-images.githubusercontent.com
# ---------------------------------------------------
# DigitalOcean
# ---------------------------------------------------
104.16.182.15 digitalocean.com
104.16.182.15 www.digitalocean.com
104.16.181.15 push.digitalocean.com
104.16.182.15 docs.digitalocean.com
104.16.181.15 cloud.digitalocean.com
104.16.181.15 store.digitalocean.com
104.16.182.15 status.digitalocean.com
104.16.182.15 developers.digitalocean.com
104.16.181.15 marketplace.digitalocean.com
199.232.44.233 assets.digitalocean.com
162.159.130.11 investors.digitalocean.com
# ---------------------------------------------------
# NPM
# ---------------------------------------------------
104.16.93.83 npmjs.com
104.16.27.35 npmjs.org
104.16.93.83 www.npmjs.com
185.199.108.153 npm.community
185.199.109.153 blog.npmjs.org
185.199.109.153 docs.npmjs.com
13.236.8.150 status.npmjs.org
104.16.25.35 registry.npmjs.org
# ---------------------------------------------------
# Steam
# ---------------------------------------------------
23.198.119.108 steamcommunity.com
23.198.119.108 www.valvesoftware.com
23.198.119.108 help.steampowered.com
23.198.119.108 partner.steamgames.com
23.46.197.62 store.steampowered.com
# ---------------------------------------------------
# PayPal
# ---------------------------------------------------
64.4.250.36 paypal.com
151.101.65.35 t.paypal.com
173.0.93.224 developer.paypal.com
192.229.232.89 www.paypalobjects.com
138.197.13.75 publicpolicy.paypal-corp.com
2606:4700:7::a29f:810b about.pypl.com
2606:4700:7::a29f:820b investor.paypal-corp.com
2606:4700::6811:1daa newsroom.paypal-corp.com
# ---------------------------------------------------
# Epic Games
# ---------------------------------------------------
104.18.5.159 store.epicgames.com
# ---------------------------------------------------
# Miscellaneous
# ---------------------------------------------------
104.27.207.92 subscene.com
@mul14
Copy link
Author

mul14 commented May 29, 2021

Hmm, baru tau ada yang kesulitan dengan GitLab kalau pakai Telkomsel. Semoga ini bisa membantu

172.65.251.78       gitlab.com
35.185.44.232       docs.gitlab.com
151.101.130.49      about.gitlab.com
151.101.86.217      learn.gitlab.com
104.17.72.206       page.gitlab.com
23.227.38.64        shop.gitlab.com
72.52.80.15         forum.gitlab.com
65.9.53.110         status.gitlab.com
104.46.106.135      customers.gitlab.com

@ajiehatajie
Copy link

172.65.251.78 gitlab.com
35.185.44.232 docs.gitlab.com
151.101.130.49 about.gitlab.com
151.101.86.217 learn.gitlab.com
104.17.72.206 page.gitlab.com
23.227.38.64 shop.gitlab.com
72.52.80.15 forum.gitlab.com
65.9.53.110 status.gitlab.com
104.46.106.135 customers.gitlab.com

makasih om mul

@stash86
Copy link

stash86 commented May 30, 2021

BINANCE
kalau ada page yang masih kena block. commenct aja URL nya apa. nanti gw update

52.84.150.20 https://www.binance.com/
52.84.150.20 https://www.binance.com
52.84.150.20 www.binance.com/
52.84.150.20 www.binance.com
52.84.150.20 https://binance.com/
52.84.150.20 https://binance.com
52.84.150.20 binance.com/
52.84.150.20 binance.com
13.32.240.123 https://accounts.binance.com/
13.32.240.123 https://accounts.binance.com
13.32.240.123 accounts.binance.com/
13.32.240.123 accounts.binance.com
185.199.108.153 https://docs.binance.org/
185.199.108.153 https://docs.binance.org
185.199.108.153 docs.binance.org/
185.199.108.153 docs.binance.org
13.225.165.48 https://binance.org/
13.225.165.48 https://binance.org
13.225.165.48 binance.org/
13.225.165.48 binance.org
13.248.174.76 https://bsc-dataseed.binance.org/
13.248.174.76 https://bsc-dataseed.binance.org
13.248.174.76 bsc-dataseed.binance.org/
13.248.174.76 bsc-dataseed.binance.org

minta tolong dong untuk api.binance.com

@Weakboys
Copy link

bang, ada yg buat subscene lagi gak ?
yang 104.31.2.190 ga work di saya

@Weakboys Sudah di-update, silahkan dicek kembali.

wah makasih suhu

@mul14
Copy link
Author

mul14 commented Jun 3, 2021

Saya dapat info pengguna IndiHome tidak bisa download/update Flutter.
Ada yang bisa confirm kalau pakai ini jadi bisa download atau update?

34.101.5.80    storage.googleapis.com
34.101.5.16    download.flutter.io

@RiansyahTohamba
Copy link

imgur nya tetap tidak bisa dibuka mas.
saya menggunakan windows 10

@mul14
Copy link
Author

mul14 commented Jun 5, 2021

Imgur sudah di-update. Silahkan dicek.

@RiansyahTohamba
Copy link

siap, makasih mas @mul14

@geofany
Copy link

geofany commented Jul 4, 2021

ada yang punya Netflix Web / Netflix Desktop via Microsoft Store gak ?
@mul14

@geofany
Copy link

geofany commented Jul 4, 2021

BINANCE
kalau ada page yang masih kena block. commenct aja URL nya apa. nanti gw update
52.84.150.20 https://www.binance.com/
52.84.150.20 https://www.binance.com
52.84.150.20 www.binance.com/
52.84.150.20 www.binance.com
52.84.150.20 https://binance.com/
52.84.150.20 https://binance.com
52.84.150.20 binance.com/
52.84.150.20 binance.com
13.32.240.123 https://accounts.binance.com/
13.32.240.123 https://accounts.binance.com
13.32.240.123 accounts.binance.com/
13.32.240.123 accounts.binance.com
185.199.108.153 https://docs.binance.org/
185.199.108.153 https://docs.binance.org
185.199.108.153 docs.binance.org/
185.199.108.153 docs.binance.org
13.225.165.48 https://binance.org/
13.225.165.48 https://binance.org
13.225.165.48 binance.org/
13.225.165.48 binance.org
13.248.174.76 https://bsc-dataseed.binance.org/
13.248.174.76 https://bsc-dataseed.binance.org
13.248.174.76 bsc-dataseed.binance.org/
13.248.174.76 bsc-dataseed.binance.org

minta tolong dong untuk api.binance.com

52.84.150.34 api.binance.com/
52.84.150.34 api.binance.com

@abdhilabs
Copy link

abdhilabs commented Aug 2, 2021

BINANCE
kalau ada page yang masih kena block. commenct aja URL nya apa. nanti gw update

52.84.150.20 https://www.binance.com/
52.84.150.20 https://www.binance.com
52.84.150.20 www.binance.com/
52.84.150.20 www.binance.com
52.84.150.20 https://binance.com/
52.84.150.20 https://binance.com
52.84.150.20 binance.com/
52.84.150.20 binance.com
13.32.240.123 https://accounts.binance.com/
13.32.240.123 https://accounts.binance.com
13.32.240.123 accounts.binance.com/
13.32.240.123 accounts.binance.com
185.199.108.153 https://docs.binance.org/
185.199.108.153 https://docs.binance.org
185.199.108.153 docs.binance.org/
185.199.108.153 docs.binance.org
13.225.165.48 https://binance.org/
13.225.165.48 https://binance.org
13.225.165.48 binance.org/
13.225.165.48 binance.org
13.248.174.76 https://bsc-dataseed.binance.org/
13.248.174.76 https://bsc-dataseed.binance.org
13.248.174.76 bsc-dataseed.binance.org/
13.248.174.76 bsc-dataseed.binance.org

minta tolong dong untuk academy.binance.com dan www.huobi.com

@dannycawan
Copy link

minta tolong om sekalian buat
~zoom
~pinterest
~instagram
~shopee
~blogspot
~twitter

pake by.u sering di blok juga soalnya, mau buat zoom harus pake vpn
terima kasih

@PanjiNamjaElf
Copy link

Update for Reddit:

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
151.101.1.140     out.reddit.com
107.23.236.34     events.redditmedia.com
151.101.61.140    e.reddit.com
54.84.177.104     alb.reddit.com
151.101.197.140   s.redditmedia.com
34.207.103.54     sendbirdproxy-06490ff42851cbcc5.chat.redditmedia.com
52.207.213.188    sendbirdproxy-003d8d1fb8653f6f8.chat.redditmedia.com
34.226.121.89     sendbirdproxy-04ea6c3f71aac3e3f.chat.redditmedia.com

@geofany
Copy link

geofany commented Sep 1, 2021

minta tolong om sekalian buat
~zoom
~pinterest
~instagram
~shopee
~blogspot
~twitter

pake by.u sering di blok juga soalnya, mau buat zoom harus pake vpn
terima kasih

Itu bukan di blok om. Emang by.u nya aja yang bermasalah
Coba airplane mode di on terus di off.
Pasti langsung bisa
Harus sering sering airplane mode.

Emang ampas sih by.u. saya juga pakek soalnya

@aerminerall
Copy link

kalo mau block di mac gimana ya pake shell script ? kalo satu satu input repot juga

@mul14
Copy link
Author

mul14 commented Sep 8, 2021

@adhimarinoen block gimana maksudnya? 🤔
Apa maksudnya edit /etc/hosts pakai vim dan kesulitan paste?

@aerminerall
Copy link

@mul14 iya kang pas edit /etc/hosts nya.

jadi saya mau lewat sh script buat nambah url di etc/hosts. jadi ketika ada user mac lain yg harus block url, saya cukup jalanin sh script aja

@mul14
Copy link
Author

mul14 commented Sep 9, 2021

@adhimarinoen bisa, jalankan ini di terminal:

sudo sh -c "curl -s https://gist.githubusercontent.com/mul14/eb05e88fcec5bb195cbb/raw/hosts >> /etc/hosts"

@FoxieFlakey
Copy link

FoxieFlakey commented Sep 12, 2021

wah banyak amat comment nya

dan setuju kalau ISP sama pemerintah konyol salah mereka lah masuk ke komunitas reddit yang toxic (jarang komunitas yang toxic)

Copy link

ghost commented Sep 12, 2021

Buatin untuk redgif.com dong, di reddit yg lain udah bisa. cuma redgif aja yg nggak

@Hindsightgenius
Copy link

For getting the time stamp (used to load more when scrolling)

146.75.25.140 gql.reddit.com

@mul14
Copy link
Author

mul14 commented Sep 16, 2021

Thanks @Hindsightgenius, I just added gql.reddit.com and alb.reddit.com to the list.

@Hindsightgenius
Copy link

Hindsightgenius commented Sep 18, 2021

looks like you have two for alb.reddit.com

The correct one is 151.101.1.140

@mul14
Copy link
Author

mul14 commented Sep 19, 2021

Thanks, just removed the incorrect address.

@mul14
Copy link
Author

mul14 commented Sep 30, 2021

I just add how to enable DoH (DNS over HTTPS) on web browsers.

@Hindsightgenius
Copy link

Hindsightgenius commented Oct 7, 2021

199.232.37.140 strapi.reddit.com

@mul14
Copy link
Author

mul14 commented Oct 17, 2021

I just add DigitalOcean. Enjoy...

@Hindsightgenius
Copy link

199.232.169.140 s.reddit.com (used in reddit messages)

@bambang-ap
Copy link

akses ke websocket stream.binance.com ke block nih, soalnya pas jalanin pake vpn bisa

@marioopoll
Copy link

Hosts untuk akses ke google drive gan, pc di blokir dari kantor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment