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.
- 04-28-2014 #1
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
- 04-28-2014 #2
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 squidLinux user #126863 - see http://linuxcounter.net/