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
@elnn4970
Copy link

gan ini kenapa ngebug gini ya?
image_2022-07-30_155423284

@vandenuj
Copy link

Mantabss.. makasi om

@rozium
Copy link

rozium commented Jul 31, 2022

Coba ditambahkan ini om @elnn4970

23.53.122.84 store.akamai.steamstatic.com
23.53.122.83 cdn.akamai.steamstatic.com
104.18.37.23 cdn.cloudflare.steamstatic.com store.cloudflare.steamstatic.com

@vandenuj
Copy link

oh iya, editing host file gini aman ga ya kalo dibuat PayPal? Karena PayPal sensitif dengan ip location (seperti penggunaan VPN ato dns), takutnya kena banned.

@pratamatama
Copy link

Update for Steam & steam.exe:

# ---------------------------------------------------
# Steam
# ---------------------------------------------------

104.93.122.163    steamgames.com
23.39.8.86        steamcommunity.com
23.77.27.52       www.valvesoftware.com
23.77.27.52       help.steampowered.com
23.77.27.52       partner.steamgames.com
104.119.104.79    steampowered.com store.steampowered.com    
23.53.122.84      store.akamai.steamstatic.com
23.53.122.83      cdn.akamai.steamstatic.com
104.18.37.23      cdn.cloudflare.steamstatic.com store.cloudflare.steamstatic.com community.cloudflare.steamstatic.com avatars.cloudflare.steamstatic.com
23.6.70.254       api.steampowered.com
104.96.246.161    steam-chat.com
104.97.85.142     test.steampowered.com
104.97.85.169     avatars.akamai.steamstatic.com avatars.akamai.steamstatic.com.edgesuite.net a1688.dscb.akamai.net avatars.steamstatic.com
103.10.124.162    cm1-sgp1.cm.steampowered.com
103.10.124.163    cm2-sgp1.cm.steampowered.com
103.10.124.164    cm3-sgp1.cm.steampowered.com
103.10.124.165    cm4-sgp1.cm.steampowered.com
103.10.124.120    cm5-sgp1.cm.steampowered.com
103.10.124.121    cm6-sgp1.cm.steampowered.com
153.254.86.179    cm1-hkg1.cm.steampowered.com
153.254.86.163    cm2-hkg1.cm.steampowered.com
153.254.86.29     cm3-hkg1.cm.steampowered.com
153.254.86.181    cm4-hkg1.cm.steampowered.com
104.96.220.121    clientconfig.akamai.steamstatic.com clientconfig.akamai.steamstatic.com.edgesuite.net a1768.g1.akamai.net
104.97.85.177     community.akamai.steamstatic.com

@elnn4970
Copy link

elnn4970 commented Aug 1, 2022

@rozium thanks om

@ehzawad
Copy link

ehzawad commented Sep 30, 2022

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

Thanks

@Teravolt234
Copy link

Maaf apakah ada update untuk vimeo? Saat copas yang di atas keluar error 400. Terima kasih.

@jo3chin
Copy link

jo3chin commented Oct 26, 2022

Maaf apakah ada update untuk vimeo? Saat copas yang di atas keluar error 400. Terima kasih.

Sama nih, sy baru buka hari ini, g bisa akses vimeo. Koneksi pake FM.

@mul14
Copy link
Author

mul14 commented Oct 27, 2022

@Teravolt234 @jo3chin sudah di-update. Silahkan dicoba.

@jo3chin
Copy link

jo3chin commented Oct 27, 2022

Ntaps kak. Thanks banget. Udah berhasil!

@reidsneo
Copy link

byU telkomsel still cannot open reddit

Secure Connection Failed

An error occurred during a connection to www.reddit.com. PR_CONNECT_RESET_ERROR

Error code: PR_CONNECT_RESET_ERROR

The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
Please contact the website owners to inform them of this problem.

@Teravolt234
Copy link

Maaf, apakah ada update untuk reddit dan vimeo? Tidak bisa diakses dengan kode di atas. Terima kasih

@malikshi
Copy link

biznet pke cara ini tetep ga bisa akses reddit.

@arifr007
Copy link

biznet pke cara ini tetep ga bisa akses reddit.

gak bisa om, kbnyakan ISP skrng gak memperbolehkan pelanggan buat ganti dns / etc hosts, solusinya harus pake vpn, itupun beberapa vpn gak bisa konek CMIIW

@primaftr
Copy link

primaftr commented May 24, 2023

Please add coinbase

# ---------------------------------------------------
# Coinbase
# ---------------------------------------------------
104.18.4.43	www.coinbase.com
104.18.5.43	www.coinbase.com
104.18.4.43	assets.coinbase.com
104.18.5.43	assets.coinbase.com
104.18.4.43	dynamic-assets.coinbase.com
104.18.5.43	dynamic-assets.coinbase.com
104.18.4.43	login.coinbase.com
104.18.5.43	login.coinbase.com	
104.18.4.43	sessions.coinbase.com
104.18.5.43	sessions.coinbase.com
18.160.41.24	published-assets.coinbase.com
18.160.41.51	published-assets.coinbase.com
18.160.41.89	published-assets.coinbase.com
18.160.41.106	published-assets.coinbase.com
104.18.4.43	as.coinbase.com
104.18.5.43	as.coinbase.com
104.18.4.43	exceptions.coinbase.com 
104.18.5.43	exceptions.coinbase.com 
104.18.4.43	static-assets.coinbase.com
104.18.5.43	static-assets.coinbase.com
104.18.4.43	comm.coinbase.com
104.18.5.43	comm.coinbase.com
104.18.4.43	verify.coinbase.com
104.18.5.43	verify.coinbase.com
104.18.4.43	images.coinbase.com
104.18.5.43	images.coinbase.com
104.18.4.43	accounts.coinbase.com
104.18.5.43	accounts.coinbase.com
104.18.4.43	help.coinbase.com
104.18.5.43	help.coinbase.com
104.18.4.43	coinbase.com
104.18.5.43	coinbase.com
104.18.4.43	blog.coinbase.com
104.18.5.43	blog.coinbase.com
104.18.22.210	api.wallet.coinbase.com
104.18.23.210	api.wallet.coinbase.com
104.18.4.43	pay.coinbase.com
104.18.5.43	pay.coinbase.com
104.18.4.43	dp.coinbase.com
104.18.5.43	dp.coinbase.co
104.18.4.43	api.coinbase.com
104.18.5.43	api.coinbase.com

@malikshi
Copy link

biznet pke cara ini tetep ga bisa akses reddit.

gak bisa om, kbnyakan ISP skrng gak memperbolehkan pelanggan buat ganti dns / etc hosts, solusinya harus pake vpn, itupun beberapa vpn gak bisa konek CMIIW

Terimakasih infonya. Bisa konek tpi dlimit speed downloadnya

@syuhendar729
Copy link

image
Pada tanggal sekarang ini sepertinya sudah tidak bisa. Saya sudah melakukan restart service NetworkManager dan juga reboot. Saya menggunakan By.U sebagai ISP dan Artix Linux sebagai sistem operasinya.

@sudiarth
Copy link

coba pake ini gan https://1.1.1.1/

@reydylanza-dev
Copy link

Kebanyakan ISP sekarang menerapkan DPI, atau Deep Packet Inspection, Anda dapat membacanya disini https://github.com/bebasid/bebasdns/blob/main/dev/readme/learnmore.md#apa-itu-dpi

Lalu gimana cara menembusnya, gampang. Tinggal install aplikasi ini https://github.com/ValdikSS/GoodbyeDPI atau https://github.com/krlvm/PowerTunnel

@haninggrk
Copy link

Puyeng udah sebulan gak bisa akses steamcommunity.com (khusus communitynya aja, bukan steamnya) karena SSL certificate di mac OS. Ampe ngulik keychain dll. Ternyata gara-gara hostfile ini. Sepertinya IP utk steamcommunity udah kadaluarsa.

@mul14
Copy link
Author

mul14 commented Oct 13, 2023

Puyeng udah sebulan gak bisa akses steamcommunity.com (khusus communitynya aja, bukan steamnya) karena SSL certificate di mac OS. Ampe ngulik keychain dll. Ternyata gara-gara hostfile ini. Sepertinya IP utk steamcommunity udah kadaluarsa.

Updated.

@lidgnulinux
Copy link

Halo, apakah ini masih berfungsi (khususnya untuk membuka reddit) ? Terima kasih.

@mul14
Copy link
Author

mul14 commented Oct 25, 2023

@lidgnulinux as you can see.

CleanShot.2023-10-25.at.10.32.36.mp4

@benyaminl
Copy link

benyaminl commented Dec 10, 2023

@mul14 I think you need to add those as well for reddit

34.227.43.171     gql-realtime.reddit.com
34.232.83.114     gql-realtime.reddit.com
52.1.131.78         gql-realtime.reddit.com

as telkom start working tirelessly blocking everything...

This is used for accessing the image, uploading, and voting in polls.... I got internetpositif.id *checked using uBo

Even DoH are poisoned now...

https://dns.google/resolve?name=gql-realtime.reddit.com&type=A
https://dnschecker.org/#A/gql-realtime.reddit.com

@mzakyr42
Copy link

thx, 4chan?

@iisbetoq
Copy link

iisbetoq commented Jan 9, 2024

bisa juga langsung di chrome nya, Privacy and security > Security > Use secure DNS
test 1 1, di saya work pakai CF 1.1.1.1

@ihsansfd
Copy link

niceeeeeeee gan gk perlu toggle vpn lg bwt akses reddit

@Pugcoding
Copy link

can someone please do this for crunchyroll?

@mazc0de
Copy link

mazc0de commented Mar 29, 2024

cara dapet ip address sama host nya gmna ya?

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