Linux Forums - Linux Help,Advice & support community:LinuxSolved.com
Network Troublshooting => Linux Proxy Server Support => Topic started by: mervs00024 on September 20, 2009, 10:09:09 AM
-
Hi everyone, i am a newbie in linux. i have something to consult in our house we have a dsl internet connection with 10 users
some of them are downloading mp3,movies etc.i am planning to install a linux os on 1 computer to prohibit this kind of downloading ang for going to porn sites.can someone help how can i do this and how can i achieve my goal.our dsl router is act as dhcp.
thanks for the help..
-
Hi,
Its simple
just enter the block sites or content or words to block into /etc/squid/squid-block.acl
acl blocksites url_regex "/etc/squid/squid-block.acl"
http_access deny blocksites
for example
.yahoo.com
.gmail.com
sex
gambling
Cheers
Nitin
~~~~~~~
-
thanks for the reply, but im still having a problem. i can still browse the website i want to block.
i have my dsl internet router this router is stand as dhcp, i set up my linux and squid with no problem.
is there anything wrong or i need to config on my linux?
-
Have you change the file ownership of /etc/squid/squid-block.acl to "squid" user and "squid" Group?
If not just follow the command
#chown squid:squid /etc/squid/squid-block.acl
#service squid reload
This might help you.
best of luck