DEV Community

abbazs
abbazs

Posted on • Edited on

raw.githubusercontnet.com blocked by act-fibernet https://www.actcorp.in/

The internet service provider act-fibernet has blocked the github content site raw.githubusercontent.com saying it is blocked as per an order from Madras high court, but did not provide court order reference.

Apparently airtel and other internet providers do not block the site.

So how to access raw.githubusercontent.com using two internet connections, one is blocking it and another is not blocked.

Make a wifi hotsopt from your mobile or get a airtel or jio dongle.

Connect to wifi and act internet via network cable in your laptop or desktop computer. If you don't have wired internet, get a wifi usb dongle and connect to the mobile hotsopt through the wifi usb dongle, such that you are connected to two internet connections simultaneously.

Follow the steps to setup the routing:

  • Get the current status of network connections in your laptop
ip route list
# default via 192.168.0.1 dev wlp0 proto dhcp metric 100 
# default via 192.168.1.1 dev wlp1 proto dhcp metric 600 
Enter fullscreen mode Exit fullscreen mode
  • Consider wlp0 is connected to actfiber net and wlp1 is connected to airtel wifi:
# Find the ip address of raw.githubusercontent.com
dig @resolver4.opendns.com raw.githubusercontent.com +short
# 185.199.108.133
sudo ip route add 185.199.108.133/32 dev wlp1
Enter fullscreen mode Exit fullscreen mode
  • We have successfully modified the routing for raw.githubusercontent.com to be routed through airtel.

  • This setting is not persistent, after you reboot your machine it needs to be set again.

Image of AssemblyAI

Automatic Speech Recognition with AssemblyAI

Experience near-human accuracy, low-latency performance, and advanced Speech AI capabilities with AssemblyAI's Speech-to-Text API. Sign up today and get $50 in API credit. No credit card required.

Try the API

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay