Find the answer to your Linux question:
Results 1 to 2 of 2
Hello, 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 ...
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
    Location
    Quetta
    Posts
    75

    Facebook and youtube HTTPS ports block in ClearOS


    Hello,
    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

    Thanks
    A.Raziq
    Visit my website

  2. #2
    Super Moderator Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,845
    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 http://linuxcounter.net/

Posting Permissions

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