LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-19-2004, 01:08 PM   #1
jshaulis
Member
 
Registered: Aug 2004
Posts: 35

Rep: Reputation: 15
Squid setup / network card configuration


Hello,

I am in the process of setting up squid. I have a couple of questions of how to go about doing this. First off the specs.

Suse Linux 9.1 Pro 64 bit edition
AMD 64 3000+
(512*2) DDR400
36.7GB Raptor
This is going to be a dedicated squid box.
We have a T1 in this location and the other 5 locations have 1/2 T1 coming to this location(everything goes through us).
They are approx. 85 users
Squid 2.5(I can install any version if one is better than the other)
I have not set anything up with squid yet, I am not sure how to do it, I want it set up to where all http, email, ect request have to go though the proxy without setup on each workstation if at all possable(I don't want it to be bypassed)

Now I have a Gigabyte K8NSNXP mobo that has 2 built in ethernet ports. What I need to know is how to configure those and to configure squid so they it will work correctly. Any input is great. Thanks again,

Justin
 
Old 08-19-2004, 01:48 PM   #2
jshaulis
Member
 
Registered: Aug 2004
Posts: 35

Original Poster
Rep: Reputation: 15
I forgot to say that I do not have either of the network cards configured yet. I am not sure how to do that either. I am a Linux Newbie. Thanks,

Justin
 
Old 08-20-2004, 03:24 AM   #3
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
first u must learn how to configure your network. then u should learn about iptables. because u cannot use squid for smtp and pop3. u must allow clients to connect pop3 smtp and etc. via NAT.
hmm. another way u can setup a mail server on your linux box. and your mail server can get emails from external mail server, and check spams and viruses. so your clients can get mail without viruses and spams from your linux server.
 
Old 08-23-2004, 06:27 AM   #4
jshaulis
Member
 
Registered: Aug 2004
Posts: 35

Original Poster
Rep: Reputation: 15
What I want to happen, is have all http, ftp, ssl, other common ports be redirected from the router to the proxy. We already have a inhouse mail server. I was wondering if someone had a proxy config that they could copy over and I could mod were needed. Any input is useful. Thanks,

Justin
 
Old 08-23-2004, 07:17 AM   #5
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
Justin
Check this link for basics of squid configuration.
http://www.linuxfocus.org/English/Ma...ticle235.shtml
 
Old 08-23-2004, 08:07 AM   #6
jshaulis
Member
 
Registered: Aug 2004
Posts: 35

Original Poster
Rep: Reputation: 15
I am reading that posted link. I have one more question, what kind of antivirus software can I use on a proxy server? Again, I am running Suse Linux 9.1 pro. Thanks,

Justin
 
Old 08-23-2004, 10:24 AM   #7
jshaulis
Member
 
Registered: Aug 2004
Posts: 35

Original Poster
Rep: Reputation: 15
I also have another question, how can i view the access logs, what program should I use. Also, if someone was on a site(porn) and I was not sure if that is what it was, are the images saved on the proxy server? If they are, how do I view them? Thanks,

Justin
 
Old 08-23-2004, 12:49 PM   #8
jshaulis
Member
 
Registered: Aug 2004
Posts: 35

Original Poster
Rep: Reputation: 15
bump
 
Old 08-31-2004, 10:12 AM   #9
maxut
Senior Member
 
Registered: May 2003
Location: istanbul
Distribution: debian - redhat - others
Posts: 1,188

Rep: Reputation: 50
i can advice u squidguard. it works as a child program of squid. and it has over 100.000 entries in its blacklist to block porn warez addware etc. it works well.
www.squidguard.org

i dont know a software to watch access log online.
i dont know a software to see cache entries in squid. u may search like this softwares at www.freshmeat.net or sourceforge.net

u can use sarg to see squid access log as a web page.
http://sourceforge.net/projects/sarg/
i added a cron job for sarg. it works once everyday and generate a web page from access.log.
i have configured my apache to publish squid logs. surely apache asks the password to show the web page of access logs :-)


good luck.
 
Old 08-31-2004, 10:51 AM   #10
nitin_batta
Member
 
Registered: Aug 2004
Location: India
Distribution: Redhat Enterprise Server 2.1
Posts: 96

Rep: Reputation: 15
Hi,

There is a kernel lodable modile called ip_wccp which you can load in the box which runs squid.

ip_wccp component is also there on the router. So once you are through configuring the both squid and router you can check the ip_wccp session come up.

Now the router will redirect any req it gets from users to any server port 80 it will redirect to the squid box.

This activity is transparent to the users and also callled as transparent proxy.
You do not have to make any configuration changes on the user w/s.

It uses GRE tunneling.

You can refer for more information to :
http://www.users.on.net/~http/tech/s...ansparent.html




.... Nitin Batta ....
http://nitinb.blogspot.com

__________________
If this helped you, please take the time to rate the value of this post by clicking the affero button
 
  


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
Slackware 10 network configuration. Problem with 8139 network card drivers ! Padmakiran Linux - Networking 8 03-27-2007 06:48 AM
Network Squid Configuration cymon Linux - Networking 0 06-26-2004 11:43 AM
Network Card Configuration LoRd Of XAoS Linux - Newbie 7 08-11-2003 09:14 AM
network card configuration jmono Linux - Hardware 1 05-06-2003 07:52 PM
Network card configuration JoeySlack Slackware 6 12-20-2002 12:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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