LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-20-2010, 05:59 AM   #1
kesa_kara
LQ Newbie
 
Registered: Sep 2010
Posts: 9

Rep: Reputation: 0
Squid to Block websites in perticular IP Address in LAN


Hello Sir,

i need help from any one configured Linux Squid in office for block websites for perticular system (host) or Ip address of LAN Network.

Regards,
Kesavan K M
 
Old 12-20-2010, 06:15 AM   #2
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 153

Rep: Reputation: 27
http://www.linuxquestions.org/questi...-squid-500476/
 
Old 12-31-2010, 04:28 AM   #3
kesa_kara
LQ Newbie
 
Registered: Sep 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks

Quote:
Originally Posted by ilvista View Post

thank for your reply this will done my part of job but i need to block website in to perticular Host(jemini-pc) or IP(192.168.2.13) address .can you give me details please .

thank you.
Kesavan K M
 
Old 12-31-2010, 04:43 AM   #4
piyushmap
LQ Newbie
 
Registered: Aug 2007
Distribution: RedHat/Fedora/CentOS/Ubuntu
Posts: 22
Blog Entries: 1

Rep: Reputation: 1
Smile

Hi,

You can block any site by help of Dans Guardian , or by editing that pc's host file........

May be this will help u.

Thanks,
Piyush
 
Old 12-31-2010, 07:08 AM   #5
ilvista
Member
 
Registered: Nov 2010
Location: Ghazaouet
Distribution: Fedora OpenSuse
Posts: 153

Rep: Reputation: 27
i think this is what you're looking for:

http://www.linuxquestions.org/questi...ddress-644884/
http://en.allexperts.com/q/Unix-Linu...sses-using.htm

let me know if it works!

good luck
 
Old 01-01-2011, 02:13 AM   #6
kesa_kara
LQ Newbie
 
Registered: Sep 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for Prompt Reply

I don't want block all internet access in that particular ip but i need to block some sites int that ip like Allow access : yahoo.com, google.com, Deny Access :rediffmail.com, microsoft.com,hotmail.com and all other chatting .

please help.

Kesavan K M






Quote:
Originally Posted by ilvista View Post
i think this is what you're looking for:

http://www.linuxquestions.org/questi...ddress-644884/
http://en.allexperts.com/q/Unix-Linu...sses-using.htm

let me know if it works!

good luck
 
Old 01-01-2011, 10:00 AM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,588

Rep: Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134
Quote:
Originally Posted by kesa_kara View Post
I don't want block all internet access in that particular ip but i need to block some sites int that ip like Allow access : yahoo.com, google.com, Deny Access :rediffmail.com, microsoft.com,hotmail.com and all other chatting .

please help.
Kesavan K M
We've given you the answer in the links posted previously. Setting up a Squid ACL isn't difficult, have you bothered to try to read the documentation??
 
Old 01-10-2011, 05:46 AM   #8
kesa_kara
LQ Newbie
 
Registered: Sep 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks You

Quote:
Originally Posted by TB0ne View Post
We've given you the answer in the links posted previously. Setting up a Squid ACL isn't difficult, have you bothered to try to read the documentation??
I have configured its working now but the problem is try to connect any FTP site to update users file it won't connect some hand shake error is coming.

any one can help.

Regards,
Kesavan K M
 
Old 01-10-2011, 08:03 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,588

Rep: Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134Reputation: 8134
Quote:
Originally Posted by kesa_kara View Post
I have configured its working now but the problem is try to connect any FTP site to update users file it won't connect some hand shake error is coming.

any one can help.
We might be able to help, if you bothered to give us some details. Things like WHAT error you're getting, where/when you're getting it, etc.

And you do realize that Squid is an HTTP proxy....FTP isn't something it does well, if at all....
 
Old 01-11-2011, 06:50 AM   #10
kesa_kara
LQ Newbie
 
Registered: Sep 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks

Quote:
Originally Posted by TB0ne View Post
We might be able to help, if you bothered to give us some details. Things like WHAT error you're getting, where/when you're getting it, etc.

And you do realize that Squid is an HTTP proxy....FTP isn't something it does well, if at all....

Finally i tried and configured FTP access through Squid using the acl.

once again i thank you.

Regards,
Kesavan K M
 
Old 01-12-2011, 11:26 PM   #11
kesa_kara
LQ Newbie
 
Registered: Sep 2010
Posts: 9

Original Poster
Rep: Reputation: 0
Squid FTP Access Error

Quote:
Originally Posted by TB0ne View Post
We might be able to help, if you bothered to give us some details. Things like WHAT error you're getting, where/when you're getting it, etc.

And you do realize that Squid is an HTTP proxy....FTP isn't something it does well, if at all....
i try to connect FTP using Fire FTP tool in Firefox , i changed option to proxy server 192.168.2.50 with port 3128 using HTTP

The connection is not enabled. if i remove the HTTP proxy in Fire FTP it will connect using router ip , when i check squid access log /var/squid/access.log their is no entry for accessing FTP connection.

also in my CENTOS server vsftpd service also cannot start, i am getting FAIILED message

please help.

Kesavan K M
 
  


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
how do i get squid proxy server to block websites using webmin baronobeefdip Linux - Software 3 07-19-2010 10:35 AM
How to block all websites except hotmail in squid jai_nagarajan Linux - Newbie 3 10-17-2009 01:41 AM
squid 2.5 how to block websites tarak420 Linux - Networking 1 08-01-2009 06:50 AM
Help me!! - I can't block websites using squid WiLLy85 Linux - Networking 4 11-12-2008 03:00 AM
In SQUID - Block all websites but a couple - but only apply to a particular IP range shifflav Linux - Networking 1 08-07-2007 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:34 PM.

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