Page 1 of 1

Blocking and Unblocking sites on centOS 7

Posted: 2015/06/09 13:41:13
by sabid14
I am new to linux. recently i setup centos 7 server and enabled squid proxy. i like to know how to

1. how to block social sites
2. how to allowed sites with port number

Re: Blocking and Unblocking sites on centOS 7

Posted: 2015/06/09 19:20:02
by aks
Plenty of answers on Google...

Re: Blocking and Unblocking sites on centOS 7

Posted: 2015/11/03 05:30:16
by peterwkc
Below is the example to block a specific social media website.

Code: Select all

http_access deny CONNECT www.facebook.com