How to block web sites on a specific IP address ?
Hi,
I am using CENTOS 5.1 for squid server. I want to block a some sites like facebook on one specific IP address of my internal network. I know how to block sites but it will impliment on all ip addreses which is not good for top managament.For example to block sites for whole network following i do Code:
acl banned_sites destdomain facebook.com youtube.com 192.168.1.50 Please guide me how can i block web sites on a specific IP. thanks, gardenair |
Quote:
http://www.linuxquestions.org/questi...s-only-885565/ Create another ACL, put it in Squid, or add the IP address to the banned_sites list. Not much else to it. Again, reference the Squid docs. |
thanks "TB0ne" for the prompt reply. Well as to your reply and my previous post regarding to it if i do it the user can not access even google.com. I want that he should do normal browsing but can not open youtube or facebook.
yes will see Squid docs for more reference. thanks, gardenair |
Quote:
http://wiki.squid-cache.org/SquidFaq...ork.21__why.3F |
Really good help. Appreciate u.;)
gardenair |
use a firewall, you can allow traffic from a specific website to pass to certain machines and block it from getting to other machines, the rulesets must be set as such. read up on IPTables or (to me which is easier) is OpenBSD Packet Filter where the ruleset syntax is a little easier, it hasn't been ported to linux but you can create a bridge from FreeBSD or OpenBSD (reccomend FreeBSD since settings are a little easier than OpenBSD)
Unless your users know how to do this you can block their MAC addresses since a DHCP server changes their IP addresses once the lease is expired, many security specialists don't reccomend this since MAC spoofing is possible but most computer users can't do it (requires a lot of work in Windows and some reading to do it in UNIX) Good Luck |
How to block the facebook for the particular ip address in squid.I am new to squid server......
|
Quote:
Kindly start a new thread with all the details like your distro and what all you have tried so far. |
Quote:
|
All times are GMT -5. The time now is 02:38 AM. |