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 01-30-2008, 07:58 PM   #1
Rainel
Member
 
Registered: Jun 2007
Posts: 57

Rep: Reputation: 15
preparing a squid proxy server


Good day to all

I want to setup my own linux squid proxy server but there is something I want to clarify before I proceed:

1. How do I know my IP range in my PUBLIC IP ADDRESS, my new IP ADDRESS starts with "124".
2. After I finished installing my linux preferably CentOS 4, is it really important to update my box/kernel or I can choose what to update, if so could you give me some ideas or a website tutorial how to do that.
3. I have my own DNS server but the IP Address starts with "203" w/c is very different to my new Public IP Address which starts with "124". Do I need to setup another DNS server along with my newly setup proxy server for my new Public IP Address or I can use my old DNS server.

I'm very sorry if my questions are not so detailed at all actually I don't know how to start at all in order for me to proceed..

Any ideas would be highly appreciated.

Please anyone could help I need to start my proxy server setup..

God Bless and More Power

Best Regards

Rainel

Last edited by Rainel; 01-30-2008 at 10:39 PM.
 
Old 01-30-2008, 11:05 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 377Reputation: 377Reputation: 377Reputation: 377
Where are the clients going to be? If they are LAN clients, there's no reason for you to know your public IP range at all. As for keeping your distro updated: yes, it's extremely important. You'd be surprised how many security breaches could have been avoided by simply having had updated packages. On CentOS, you would probably use Yum for that.
 
Old 01-31-2008, 12:13 AM   #3
Rainel
Member
 
Registered: Jun 2007
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks for the reply, but I want to setup a squid proxy server with a gateway, in that case I put my public IP Address at eth0 but how about eth1..what values do I need to fill in that one.Then if my squid proxy server has been successfully finished what values do I need to fill in to my client workstation?
 
Old 01-31-2008, 12:17 AM   #4
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
1- to know the range of public IP addresses that your internet line have, call your provider. What type of internet connection you currently have?

2- As win32sux said, yes it is very important to update your system ( no mater what flavor of linux you running). The open source community constantly review the code and patch it.

3- If you want for a machine to use the DNS server then they both have to be on the same IP subnet or separated by a network router. If the IP address of the DNS server is different from your other then there should be a router between each network. All the websites internet services have different IP addresses but they still see each others via awesome devices called routers. i don't want to make complicated on you but it sounds to me that you need to learn a little on how IP addressing / subneting works. Usually that scars a lot of people but it's actually a lot of fun and very very extremely essential. here is a start http://www.learntosubnet.com/and there are tons of documents on the internet on IP addressing and subneting.

What do you want your squid proxy server to do? do you want it to be an inbound proxy or outbound proxy? Squid is a big thing yet can be very simple and it's used by a lot of comercial products. We will be here if you have any more questions.
 
Old 01-31-2008, 12:32 AM   #5
Rainel
Member
 
Registered: Jun 2007
Posts: 57

Original Poster
Rep: Reputation: 15
Thanks for the reply waelaltaqi I want to setup squid proxy server with outbound proxy. Is there any good sites you could refer me to it for my reference to start with.
 
Old 01-31-2008, 12:48 AM   #6
waelaltaqi
Member
 
Registered: Sep 2005
Location: USA, TN
Distribution: CentOS & Ubuntu for Desktop
Posts: 454

Rep: Reputation: 31
There are many resources on how to setup squid but there are many possibilities for a squid setup and many variables as the server is very powerful.

Here is an simple example to get you through. http://www.linuxhelp.net/guides/squid/
 
Old 01-31-2008, 01:05 AM   #7
Rainel
Member
 
Registered: Jun 2007
Posts: 57

Original Poster
Rep: Reputation: 15
Thumbs up

Thanks for the reply guys.
I will be back soon as soon as I got trouble configuring my squid proxy server...

More Power to linuxquestions.org
 
  


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 proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 12:25 PM
Squid/Proxy Server metallica1973 Linux - Networking 2 10-22-2007 07:16 PM
Squid Proxy Server Brent Pasley Linux - Server 4 06-02-2007 09:44 AM
squid(proxy) server pankajkarde Linux - Server 2 03-08-2007 03:04 AM
proxy server using squid j0hnd0e Linux - Server 1 10-19-2006 01:05 AM

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

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