I know smartphone addiction is quite a problem these days. Especially in an era when everyone person in the holds a smart device. And these social networking sites is ruining our life further. We can’t even realize the time we have wasted scrolling those stupid feeds. Hence it’s really important to block sites that are really waste.
Yesterday I thought on it for a while and finally came to a conclusion to disable these social and chatting apps over the network. Especially Facebook, Instagram, WhatsApp, and some stupid Indian streaming sites like Zee5, Voot, etc. You can read about how to block the TikTok on the WiFi router.
I first thought of blocking them over the system firewall, however, this will only work on machines with a network firewall. So the next item I had was WiFi Router. And that where I can block access to social sites completely.
But, there is a caveat in this process. It will only block access when you have connected to routers WiFi but still access when your switch to mobile data. I wouldn’t say it’s a caveat but, something which a network admin can’t control.
There are multiple options to block in any router, however, the one which I have has only a few options. I personally tried two:
URL filter & IP based filter, and luckily the IP based filter is working like a charm. But, I don’t think it will sustain for a long as big players like FB, or say Google for that matter will have dynamic IP configuration.
Let’s talk about both the methods so that you can try whichever works in your case —
URL or Keyword Filter for Network Router
This is not the first time I was trying to block something over the network. My family has an addiction to watching daily soap series on streaming sites like Zee5, Voot, SonyLiv, etc. I got pissed off and blocked it over the network somewhere a year ago (maybe in 2017). At that time it worked, and able to block these websites on the fly.
Now, all the website has moved towards the secure connection (https://) which may or may not work on using URL or Keyword filter.
I’m using a basic router – Beetel 777VR1, which my ISP (Airtel Broadband) has provided free of cost on registering a new connection. Follow the below steps to configure URL or Keyword filter on the WiFi router.
- Access the routers login window
- Enter the login credentials
- Navigate to Firewall tab
- Select the URL Filter from option
- In the keyword field, enter the desired website URL to block like “facebook.com”
- Hit on “Add Keyword” command and [Apply Changes]
- Now access facebook.com on your browsers to see if it works
If this works, you can keep on adding the other website that you need to block and skip the next method. But, if you still able to access facebook even after blocking it, then the next method will definitely help you!
IP or Port Filter for Network Router
I struggled a lot with URL filter, even tried a different combination of keywords and URLs – but, it hardly worked in my router! However, you can try and if that’s works then it’s great.
I read through multiple articles, blogs, watch videos and finally got to know a solution – blocking the IP address of the social site using the firewall.
Before we head over blocking an IP, we first need to know the IP address of the site. Looking up for IP is really simple with PING in Windows Command or Mac OS Terminal.
Lookup a websites IP address
The steps are almost similar for both Windows Command Prompt and MacOS Terminal.
- Open the command prompt or terminal your system
- type in “ping” and website URL
- Hit enter and lookup for IP address of the website
- Note down the IP address for all the website you need to block
We will be using these addresses in our following section – IP/Port Filter. It’s important to have a correct IP address of the website, else the IP filter configuration won’t work.
IP Filter set up for WiFi network router
The steps to access the section is similar to earlier in the Firewall tab section.
- Login to the router as Network Admin and access Firewall tab
- Select the IP/Port Filter section
- You’ll now able to see the section to enter an IP address of the website
- First, select the radio button for Rule Action to Deny type
- Let the Source IP Address field remain empty
- Enter the noted IP in Dest IP Address field
- Hit on [Apply Changes] command button
You need to add each IP address as a separate record in order to block. All the records will be stored in the router’s database. If you need to disable a blocking or delete a record completely, then hit on the command button for the desired action.
You can see my personal blocking record for all the IP Addresses. Below is a quick list of IP address for some famous social and chatting site that you can consider:
- Facebook – 157.240.23.35
- Instagram – 157.240.23.174
- WhatsApp – 157.240.23.53
- Voot – 184.30.63.56
- Zee5 – 104.211.185.227
- SonyLiv – 52.84.49.42
These IPs are dynamic in nature and may change from time to time. Hence, you can always check for new IPs using the above method.
IP/Port-based blocking on network video
Check out the below video demo of entire steps and process which details how to block a website or app on the network. In the video, I have used restoreBin as a target website to block over the network firewall.
I hope you liked the video, please subscribe to channel for more videos.
Conclusion:
I hope these simple tricks will help in blocking the restricted social website easily in your WiFi router modem. There is another way too using OpenDNS that I’ve explained to block Roblox Game. Let us know if you’ve any other questions or finding it difficult to block sites.
Please note that blocking website resource can lead to certain website rendering problems like displaying text only, or page not loading properly, etc.
This post was last modified on September 14, 2020 4:55 pm
View Comments (4)
hello bro i want to ask u if u can block app form the router like free fire and pubg ? idk how to get the ip of those app it not the same as web site
It really helped me,
Thanks