LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 07-28-2004, 09:40 PM   #1
mayordc
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Rep: Reputation: 0
Question Setting up a proxy & firewall


I have an old Pentium 166 MXX with 64 MB of memory and 6GB of hard disk, an internet connection via a CABLE MODEM, and an installation CD for Red Hat Linux 9.0.

I am planning to make a TEXT based installation of RHL 9 on that PC because GUI installation will definitely crash the hardware. Then configure that same pc to become my internet proxy server to share the connection to around 20 Windows computers. Also, to protect my network from external 'crackers', i want to configure a firewall.

I know how to install linux, I did it many times already.

My questions are:

1. What particular packages do I need to install for my purpose?
2. What additional resources do I need to continue with my purpose, I heard that I'll be needing two NIC.
3. How to configure the proxy
How to configure the firewall.
4. What additional site can I go to to read more about my objective.

I hope somebody in this very useful site help me accomplish these things.

I WANT TO LEARN.

thanking you,
rodel mayo
 
Old 07-28-2004, 10:03 PM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Re: Setting up a proxy & firewall

Quote:
Originally posted by mayordc
I have an old Pentium 166 MXX with 64 MB of memory and 6GB of hard disk, an internet connection via a CABLE MODEM, and an installation CD for Red Hat Linux 9.0.

I am planning to make a TEXT based installation of RHL 9 on that PC because GUI installation will definitely crash the hardware. Then configure that same pc to become my internet proxy server to share the connection to around 20 Windows computers. Also, to protect my network from external 'crackers', i want to configure a firewall.
Quote:
What particular packages do I need to install for my purpose?
basically, just iptables and squid...

iptables is for the routing/firewalling and squid is the proxy...


Quote:
What additional resources do I need to continue with my purpose, I heard that I'll be needing two NIC.
one nic will connect to your cable modem, and the other nic will connect to your local area network's switch/hub...

you might be interested in setting-up a dhcp server on the box, to automate the ip configuration of your lan...

http://www.siliconvalleyccie.com/linux-hn/dchp.htm


you might also want to install a dns forwarder to accelerate the dns queries from the lan...

http://thekelleys.org.uk/dnsmasq/doc.html


Quote:
How to configure the proxy
here's a howto on setting squid as a transparent proxy:

http://en.tldp.org/HOWTO/TransparentProxy.html


Quote:
How to configure the firewall.
here's some good resources about iptables:

http://www.linuxguruz.com/iptables/


if you want something a friendly text-based front-end to iptables, try shorewall:

http://www.shorewall.net


Quote:
What additional site can I go to to read more about my objective.
you could do some googling for "squid" and "iptables"...

http://www.google.com/linux

=)


Last edited by win32sux; 07-28-2004 at 10:15 PM.
 
Old 07-29-2004, 12:09 AM   #3
mayordc
LQ Newbie
 
Registered: Jul 2004
Posts: 3

Original Poster
Rep: Reputation: 0
Smile thanks win32sux

Thanks win32sux, I'll try all your suggestions. Really, I thank you.
 
Old 11-24-2004, 10:23 AM   #4
korikill
LQ Newbie
 
Registered: Oct 2004
Location: Napa, Ca
Posts: 2

Rep: Reputation: 0
Excellent! This is exactly what I am looking for. Thanks for getting it all together in one place!

Kori
 
  


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
squid proxy server configuration & distribution of internet without proxy gaurav_gupta082 Linux From Scratch 2 07-31-2010 11:25 AM
Setting up Debian proxy with firewall and antivirus ghanalinux Linux - Networking 1 07-02-2005 06:07 AM
Setting up a Debian proxy with firewall and virus protection ghanalinux Linux - Security 1 06-30-2005 09:43 AM
Iptables Firewall & Proxy Server chrisfirestar Linux - Security 22 12-22-2003 09:30 AM
Setting firewall script & server pautorras Linux - Networking 1 09-09-2003 02:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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