LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 10-13-2010, 01:02 AM   #1
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Rep: Reputation: 45
Need guidence for before learning Squid.


Hi,
I am working on Red Hat Linux since last six months and learning it steps by steps. like configurating ftp server,NSF ,DNS and then email server. I want to learn squid server but technically before going into it what you suggest me that may I first learn to configure Linux as a router,Firewall machine or do IP masquerading on a server. Because all these things are directly or indirectly involve in squid.
So guide me because going to start squid i may understand Linux IP table ,how to add entries in it,how to delete entries ,I think you understand my point which i want to ask for guidence.

regards
mypass
 
Old 10-13-2010, 01:12 AM   #2
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
See there are two main ways to configure Squid.

1.Squid web caching proxy server:

Squid Users configure their web browsers to use the Squid proxy server instead of going to the web directly. The Squid server then checks its web cache for the web information requested by the user. It will return any matching information that finds in its cache, and if not, it will go to the web to find it on behalf of the user. Once it finds the information, it will populate its cache with it and also forward it to the user's web browser.

2.Transparent Squid :Main benefit of setting transparent proxy is you do not have to setup up individual browsers to work with proxies,which is mostly used if you have your gateway as Linux System.And for configuring it you need to have knowledge of iptables.

So I would suggest you to learn iptables.Configure gateway server using iptables.Do internet sharing through iptables on that gateway server.Also learn to configure DNS server.

After this make Squid web caching proxy server and at last make Transparent Squid.

Also learn the difference between SNAT,DNAT and MASQUERADING

Last edited by prayag_pjs; 10-13-2010 at 01:16 AM.
 
1 members found this post helpful.
Old 10-13-2010, 01:16 AM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: Bangalore, India
Distribution: RHEL,SuSE,CentOS,Fedora,Ubuntu
Posts: 1,386

Rep: Reputation: 135Reputation: 135
You have to learn DHCP Configuration, IP Subnet Calculation,making firewall rules,selinux policy for squid,setting kernel parameter all these.
 
1 members found this post helpful.
Old 10-13-2010, 01:36 AM   #4
gardenair
Member
 
Registered: Oct 2004
Location: LH
Posts: 648

Original Poster
Rep: Reputation: 45
Thanks "prayag_pjs" for your kind reply and I appreciate that your guide me in batter way. Well to learn Linux as a gateway (Exist Point for an IP address) i am planning to build a private network of 5 or 6 computers.

Network A 192.168.1.0 .......<...Gateway......> Network B 176.16.0.0

Is it a good example of gateway...?
 
Old 10-13-2010, 01:37 AM   #5
prayag_pjs
Senior Member
 
Registered: Feb 2008
Location: Pune - India
Distribution: RHEL/Ubuntu/Debian/Fedora/Centos/K3OS
Posts: 1,159
Blog Entries: 4

Rep: Reputation: 149Reputation: 149
ya its good but do it for internet sharing
 
  


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
Need some guidence cj_cheema Linux - General 3 06-19-2009 08:09 AM
guidence for certification krishna_kawhale Linux - Certification 3 10-06-2006 03:24 AM
guidence for cp gardenair Linux - Newbie 9 03-15-2005 01:15 AM
Need Some Guidence [303] Linux - Newbie 4 05-04-2004 08:04 PM
just need a little guidence please johncla Linux - General 1 04-17-2002 06:23 PM

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

All times are GMT -5. The time now is 09:31 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
Open Source Consulting | Domain Registration