Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! abdul raziq's Avatar
    Join Date
    Dec 2006

    Facebook and youtube HTTPS ports block in ClearOS

    I am using ClearOS which is the copy of Centos Linux. It is work very well but i am going to restrict my client to use of Facebook and YouTube on https port. i tried many way but not succeeded yet. Is there any way to restrict my client on https port only for Facebook and YouTube?

    Hope you understand my question

    Visit my website

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Nottingham, England
    You cannot do this by blocking ports - if you block the http and https ports (80 and 443) all you'll do is prevent people talking to the internet on these ports - so you'll block everyone.

    The normal way to do this is to

    * deny everyone access to the internet using your firewall rules, but allow access from your server
    * set up a web proxy service on your server - the big one is squid, and if you're using a CentOS clone, it should be available through your standard repositories
    * configure squid as a transparent proxy (so nobody has to make local configuration changes)
    * configure site blocking through squid
    Linux user #126863 - see

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts