Blocking Websites

Home Page Forums Network Management ZeroShell Blocking Websites

This topic contains 6 replies, has 6 voices, and was last updated by  Alarmar Colombia 6 months, 2 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #44532

    kirikuchris
    Member

    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 http://www.youtube.com, how would I do that?

    Thank you in advance!

    #54099

    redfive
    Participant

    You should create a firewall rule, in the FORWARD chain, then in the ‘IPTABLES Parameters’, add

    -m ndpi --youtube

    If you know a bit how iptables work, should be easy …
    Cheers,
    jonatha

    #54100

    kirikuchris
    Member

    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!! 😯

    #54101

    Montikore
    Participant

    just add a firewall rule to reject youtube IP

    #54102

    DrmCa
    Participant

    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.

    #64644

    Ali Mohamed
    Participant

    Hello everybody,

    I want to know how i can block all Adults sites with one iptables parameters.
    I use -m ndpi –“site” but that way is very difficult for apply all adults sites
    Thanks you !

    #64712

    Alarmar Colombia
    Participant

    Hello.

    Open your web interface.
    In the Firewall Section (left menu), select the chain FORWARD and add a rule as follows:

    • Sequence: 1
    • Output: Select the internet output interface of your machine
    • nDPI section: Press the nDPI Manager, there add from the Available protocols list the ones you want to stop functioning, e.g. Youtube, then press the Confirm button and then the Close button.
    • ACTION: Select DROP
    • Press the Confirm button and then the Close button

    Mauricio

Viewing 7 posts - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.