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
GO “SECURITY” –> “FIREWALL”
2) Select “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
ACTION :- DROP
5) Save the rule
Don’t forget to SAVE, otherwise nothing will happen.
1 comment
1 ping
admin
April 10, 2016 at 7:02 am (UTC 5.5) Link to this comment
Hi,
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 !!
nike air max running
April 9, 2016 at 4:39 pm (UTC 5.5) Link to this comment
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…