www.zeroshell.org Forum Index www.zeroshell.org
Linux Distribution for server and embedded devices
 
 SearchSearch  RegisterRegister  UsergroupsUsergroups 
 ProfileProfile  Log inLog in  Log in to check your private messagesPrivate Message 

Blocking Websites

 
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell
View previous topic :: View next topic  
Author Message
kirikuchris



Joined: 01 Dec 2015
Posts: 5

PostPosted: Sat Apr 09, 2016 8:42 pm    Post subject: Blocking Websites Reply with quote

Hello Everybody,
I have just installed zeroshell on a new Soekris Net6501 and I am struggling with websites blocking. I am installing this router for a school, so blocking websites is among the main requirements, beeing new to Zeroshell, I found only useful documentation for the installation and other basic configurations, and something about using openDNS, but nothing on proper blocking websites. Can someone help me?
For example, if I want to block www.youtube.com, how would I do that?

Thank you in advance!
Back to top
View user's profile Send private message
redfive



Joined: 27 Aug 2009
Posts: 232

PostPosted: Sat Apr 09, 2016 9:06 pm    Post subject: Reply with quote

You should create a firewall rule, in the FORWARD chain, then in the 'IPTABLES Parameters', add
Code:
-m ndpi --youtube
If you know a bit how iptables work, should be easy ...
Cheers,
jonatha
Back to top
View user's profile Send private message
kirikuchris



Joined: 01 Dec 2015
Posts: 5

PostPosted: Sat Apr 09, 2016 9:14 pm    Post subject: Reply with quote

Thank you for your reply, I guess I will have to look into how iptables works! I have limited knowledge with them. Nothing straightforward? I am a bit running out time!! Shocked
Back to top
View user's profile Send private message
Montikore



Joined: 19 Jan 2016
Posts: 22

PostPosted: Fri Apr 15, 2016 4:06 pm    Post subject: Reply with quote

just add a firewall rule to reject youtube IP
Back to top
View user's profile Send private message
DrmCa



Joined: 12 Apr 2011
Posts: 207

PostPosted: Mon Apr 18, 2016 9:18 pm    Post subject: Reply with quote

Many such servers are distributed and load-balanced over multiple IPs on the DNS level. Blocking one IP is an incomplete and often temporary solution.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    www.zeroshell.org Forum Index -> ZeroShell All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group