LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-05-2014, 01:27 AM   #1
unclesamcrazy
Member
 
Registered: May 2013
Posts: 187

Rep: Reputation: 1
Can dansguardian block sites without any proxy server?


I have ubuntu 12.04 LTS.

I have installed only dansguardian on it. There is no other proxy server like squid on ubuntu 12.04. There is no iptables installed on the system.

'No proxy' option is selected in every browser because there is no proxy on the system.

Can I use dansguardian to block sites in this scenario?

Thanks

NOTE
Sorry, this is my second thread about dansguardian in two days. Moderator can take objection but previous one was not solved that's why I have changed the question, thinking, it can help me.

Last edited by unclesamcrazy; 05-05-2014 at 10:45 AM.
 
Old 05-05-2014, 08:51 AM   #2
eklavya
Member
 
Registered: Mar 2013
Posts: 619

Rep: Reputation: 136Reputation: 136
You can tell us better, you have installed it without a proxy server.
Are you able to filter sites successfully?
 
Old 05-05-2014, 10:49 AM   #3
unclesamcrazy
Member
 
Registered: May 2013
Posts: 187

Original Poster
Rep: Reputation: 1
Thanks for the reply.

No, I am not able to block sites that's why I asked here.
I am not sure that dansguardian itself a proxy server or not. I thought if it is then it should be enough to install only dansguardian to block sites but I can still open the blocked sites.
 
Old 05-05-2014, 04:58 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,374

Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Did you configure it to block access? Pretty sure you'd need squid or other.

One example but many exist.

http://www.linuxuser.co.uk/tutorials...twork-tutorial

http://jacob.steelsmith.org/content/...g-dansguardian


Locally the sites could be blocked. To protect lan then you'd need to prevent lan access to web. It has to proxy through this server.

Last edited by jefro; 05-05-2014 at 05:00 PM.
 
Old 05-06-2014, 02:13 AM   #5
eklavya
Member
 
Registered: Mar 2013
Posts: 619

Rep: Reputation: 136Reputation: 136
Quote:
Originally Posted by unclesamcrazy View Post
I am not sure that dansguardian itself a proxy server or not. I thought if it is then it should be enough to install only dansguardian to block sites but I can still open the blocked sites.
Can you answer me two questions? If you have installed dansguardian and only dansguardian.... no squid... no iptables... only dansguardian...
Then what is the value of parameter
Code:
proxyport =
in the file /etc/dansguardian/dansguardian.conf

and what is the output of
Code:
# netstat -lnp | grep :3128
As jefro said about configuration, I consider that you have configured dansguardian.conf like remove/comment the line
Code:
UNCONFIGURED - Please remove this line after configuration
etcetra etcetra

Last edited by eklavya; 05-06-2014 at 02:15 AM.
 
Old 05-06-2014, 10:35 AM   #6
unclesamcrazy
Member
 
Registered: May 2013
Posts: 187

Original Poster
Rep: Reputation: 1
proxyport = 3128
There is no process running on 3128

Yes I have configured dansguardian.
 
Old 05-07-2014, 02:09 AM   #7
eklavya
Member
 
Registered: Mar 2013
Posts: 619

Rep: Reputation: 136Reputation: 136
See, value of proxyport is 3128 in dansguardian configuartion file.
proxyport is the port DansGuardian connects to proxy on.

The default port for squid proxy server is 3128. If you would install squid, you would find it is running on 3128
Quote:
# netstat -lnp | grep :3128
You haven't installed it that's why there is no process on 3128.

The squid's default port is mentioned in dansguardian config file, that's why I think it needs a proxy server to block sites.
 
  


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
Squid to block anon proxy sites Treikayan Linux - Security 3 07-23-2010 09:24 PM
squid proxy block sites or domain lokesh21 Linux - Security 3 04-05-2010 08:51 PM
how to block web sites using squid proxy rupalit Ubuntu 1 07-16-2009 08:49 PM
LXer: Squid Proxy Server On Ubuntu 9.04 Server With DansGuardian, ClamAV, And WPAD LXer Syndicated Linux News 0 07-03-2009 09:51 PM
Proxy Server - Squid, Samba, Dansguardian RedCamel Linux - Security 0 03-14-2005 03:16 AM


All times are GMT -5. The time now is 04:28 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