Koozali.org: home of the SME Server

Total Newbie - Setting Up Proxy Server

Offline sgscc

  • *
  • 11
  • +0/-0
Total Newbie - Setting Up Proxy Server
« on: July 18, 2009, 08:47:59 AM »
Hi,

I'm really really getting confused on how to set up a Proxy server.

What softwares do I need to install? Based on what I've read on the HowTo's i need to use Squid Cache, Dansguardian and SARG. But I don't know how to configure it properly. Any help would be greatly appreciated.

Additional Note:
The redirection from workstation to SME server will be handled by the router.

Thanks.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #1 on: July 18, 2009, 09:22:15 AM »
sgscc:
squid is already installed

all you need is to read the documentation; following the howtos you should be able to achieve what you want.

Stefano

Offline sgscc

  • *
  • 11
  • +0/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #2 on: July 18, 2009, 09:27:51 AM »
I've already read the Squid HowTo but it's pointing me to different softwares like SARG, SquidGuard and DansGuardian. And then when I start reading all the links for the softwares I start to get confused.

Can you please tell me how these softwares are going to work? Does it also including caching?

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #3 on: July 18, 2009, 11:22:48 AM »
if you need only caching, you don't need anything else than squid, which is already on your SME.
you'll need squidguard/dansguardian if you wish to create rules (for example user a can go to site X etc)
sarg will create reports about where you users/pc have been surfing.

hth
Stefano

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #4 on: July 18, 2009, 04:20:37 PM »
sgscc

Quote
I'm really really getting confused on how to set up a Proxy server.

Please read the manuals slowly and carefully starting here
http://wiki.contribs.org/Main_Page
sme by default has the proxy server enabled, so there is nothing extra to do.
Just run through the normal "configure this server" panel from the admin console.
« Last Edit: July 18, 2009, 05:30:23 PM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #5 on: July 18, 2009, 04:54:40 PM »
sgscc

What do you mean, Mary?

supraglottic squamous cell carcinoma?

St George and Sutherland Community College?

For OP, to set up a Proxy Server, configure SME in server-gateway mode. That's it. You have a proxy server, and it will be used by any clients on the LAN.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #6 on: July 18, 2009, 05:28:15 PM »
Charlie

Quote
sgscc
What do you mean, Mary?

That's funny Charlie. sgscc is actually the OPs username. The rest was a typo with the quoting, it's late! I'll fix it now, but I meant to say the same as you answered.
« Last Edit: July 18, 2009, 05:34:56 PM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline sgscc

  • *
  • 11
  • +0/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #7 on: July 22, 2009, 03:02:09 AM »
Hi!

Which is a better proxy, SquidGuard or Dansguardian?

BTW, I'm using SME only in server mode.

Thanks.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #8 on: July 22, 2009, 09:34:37 AM »
sgscc

It depends on your requirements.
Dansguardian does everything that Squidguard does, plus more.
Dansguardian can/does use Squidguard rules/lists.

Squidguard blocks by lists, Dansguardian does that too, but also analyses content of web pages and scores them, and will block when a preset score is exceeded.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline sgscc

  • *
  • 11
  • +0/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #9 on: July 22, 2009, 10:32:22 AM »
Hi.

I've installed both SquidGuard and Dansguardian on my SME box. By default it starts working properly. But when I tried configuring it with this guide http://hasnainali.wordpress.com/2009/02/09/linux-centosrhel-squiddansguardian-antivirus-clamav/ I can no longer access anything. It doesn't get blocked it just wont let me connect saying that the proxy server refused the connection. Is there anyway for me to do an 'undo' to everything I've changed? Is that possible?

Thanks.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #10 on: July 22, 2009, 10:45:56 AM »
sgscc

You should have followed this Howto
http://wiki.contribs.org/Dansguardian
or
if you only wanted Squidguard, follow this Howto
http://wiki.contribs.org/SquidGuard


You will have to reverse the steps you carried out, sorry I'm not willing to help you with that correction.

 
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #11 on: July 22, 2009, 03:52:09 PM »
I've installed both SquidGuard and Dansguardian on my SME box.

Why both?

This thread, BTW, is off-topic for this forum, which concerns only software included in the SME server install CD.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #12 on: July 22, 2009, 05:45:28 PM »
Moving this topic to the SME 7.x contribs forum, it is more appropriate there. Thanks!
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline sgscc

  • *
  • 11
  • +0/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #13 on: July 24, 2009, 02:24:38 AM »
Hi!

I've configured my SME based on the HowTo http://wiki.contribs.org/Squid and it's working. Just a little bit of a problem. Why is both SquidGuard and Dansguardian blocking the websites? I thought SquidGuard was suppose to be a URL Redirector while Dansguardian will be the filter? I completely followed every instruction on the HowTo. Is there any other configuration I need to do?

Thanks.

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Total Newbie - Setting Up Proxy Server
« Reply #14 on: July 24, 2009, 05:01:55 AM »
sgscc

You seem to not understand what squidguard is or does.
See
http://www.squidguard.org/Doc/aboutblocking.html

As has been suggested previously, you should only install one of them, either SquidGuard or Dansguardian.

My personal choice is Dansguardian
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.