LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-08-2012, 12:53 AM   #1
kadesh.king1
LQ Newbie
 
Registered: Feb 2012
Posts: 2

Rep: Reputation: Disabled
hi, i want to allow one website in my squid server


in our network we are using squid/2.7.STABLE7 so please some one help me...
because I'm beginner i don't know which file to edit where to put the website address

i ask someone but they are telling enable port22 if i enable port 22 our network will expose so don't want that.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-08-2012, 12:59 AM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by kadesh.king1 View Post
in our network we are using squid/2.7.STABLE7 so please some one help me...
because I'm beginner i don't know which file to edit where to put the website address

i ask someone but they are telling enable port22 if i enable port 22 our network will expose so don't want that.
I am sure if you hit a search on google you will get bunch of help

Code:
#vi /etc/squid.conf
acl badsite dstdomain www.facebook.com
http_access allow badsite
http_access deny all
But this won't work untill and unless you have properly configured squid server

here follow this link
http://wiki.squid-cache.org/SquidFaq/SquidAcl
 
2 members found this post helpful.
Old 02-15-2012, 08:47 AM   #3
kadesh.king1
LQ Newbie
 
Registered: Feb 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Smile Thanks

Thanks for the valuable....


Quote:
Originally Posted by deep27ak View Post
I am sure if you hit a search on google you will get bunch of help

Code:
#vi /etc/squid.conf
acl badsite dstdomain www.facebook.com
http_access allow badsite
http_access deny all
But this won't work untill and unless you have properly configured squid server

here follow this link
http://wiki.squid-cache.org/SquidFaq/SquidAcl
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Try many way but not yet start squid server to block some specific website tanin007 Linux - Server 11 12-29-2011 02:54 AM
squid server how to block https:www.website.com aliabbass Linux - Server 4 10-01-2011 02:45 PM
Restriction of website through squid proxy server problem 124vikas.dange@gmail.com Linux - Server 1 09-25-2009 12:47 PM
squid website blocking Ammad Linux - Networking 1 11-07-2007 11:05 AM
How to block a Website in Squid winxlinx Linux - Networking 1 02-21-2006 05:40 PM


All times are GMT -5. The time now is 01:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration