LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-07-2012, 11:53 PM   #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-07-2012, 11:59 PM   #2
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
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, 07: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



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 01:54 AM
squid server how to block https:www.website.com aliabbass Linux - Server 4 10-01-2011 01:45 PM
Restriction of website through squid proxy server problem 124vikas.dange@gmail.com Linux - Server 1 09-25-2009 11:47 AM
squid website blocking Ammad Linux - Networking 1 11-07-2007 10:05 AM
How to block a Website in Squid winxlinx Linux - Networking 1 02-21-2006 04:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:26 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
Open Source Consulting | Domain Registration