Nov 03

Blocking websites using Zeroshell

The Zeroshell is one of most popular open source router I have ever found. It provides bunch of features such as DNS, DHCP, proxy server facilities like Squid Proxy and Firewall facilities. Here I’m going to share how to restrict particular sites for LAN users using ZeroShell built-in firewall. This method can be used to restict group of the web sites by matching string pattern which contained on domain name. For an instance you block all domains which contain string of “gossip” inside of  your LAN . Let’s go thorough quickly, steps of blocking websites using Zeroshell

1) Open Zeroshell Firewall window


2) Select “INPUT” chain

zeroshell firewall input chain







3) Click “Add” to make a new rule

4) Configure new firewall rule

This example gossiplanka9.info domain will be going to block.you should replace your string value here.

Source ip :- host which is going to be blocked, you can define source range if you wish
Destination ip :- Default gateway (Zeroshell proxy LAN interface ip)

IPTABLES Parameters :-  -m string –algo kmp –string gossiplanka9.info

zeroshell INPUT chaing drop rule

















5) Save the rule

Don’t forget to SAVE, otherwise nothing will happen.

1 comment

1 ping

  1. admin


    Thanks for the info. I’m making DNS change to the website. looking for better performance after that. let me know if this happen again !!

  1. nike air max running

    nike air max running

    hello there and thank you for your information ?I certainly picked up something new from right here. I did however expertise a few technical issues using this site, since I experienced to reload the site many times previous to I could get it to load pr…

Leave Your Thought Here