IPTABLE FOR RH - LINUX 9.0

Dear All Support,

I have RedHat Linux 9.0 installed on my Pentium 4 PC. I would like to have it running as a proxy server. Which package is best to utilize for this issue ( IPTABLES or SQUID PROXY? ). If so, How can I do the configuration.

Here is my current Network Infrastructure:

1. RedHat 9.0 Server:
=> Local DNS Server
=> Local Sendmail Server
=> Local Apache Web Server
=> DHCP
=> Samba

+=> ( IPTABLES or SQUID PROXY ) I would like to add this feature to my RH- Server, so that everyone on the network could access to the Internet.  At the moment my network is using a 56K dialup to connect to the internet and receive E-Mails, but very soon we will have a fractional T1 implementing to our LAN.

Could someone please help me to resolve this problem? I deeply appreciate your help.

PS. Right now I will post this question with a 100 expert points, it will be double up once the problem is resolved.

Thank you in advance,
linxcelentAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

linxcelentAuthor Commented:
My Goal:

Currently: RedHat Linux 9 --> Dialup --> Proxy Server--> 25 Clients
Wil upgrate to: RedHat Linux 9 --> Fractional T1 --> Proxy Server --> 25 Clients

I am focusing on ( 56K dialup at the moment )
0
JivkoCommented:
SQUID is the best proxy solution for web caching , but if you need other services such as icq , instant messaging , irc , and full functional internet access you need NAT solution - iptables

Regards
0
linxcelentAuthor Commented:
Let's pick SQUID if it's an ideal web server! How may I approach the configuration process? Do I need to install any additional package beside RH Linux 9?

Please give me some configuration sample.

Thank you the respond.
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

JivkoCommented:
SQUID is not a webserver it is proxy server for web caching.
For web server use Apache
0
linxcelentAuthor Commented:
I apologize about my wording! However I think you know what I mean by webserver:

Server --> Sharing --> internet connection with multiple clients.

I used iptables before but it doesn't help function properly. It takes a lot of time to recognize clients. If thinking about converting to SQUID Proxy. Could you help me with the configuration?

Thank you.
0
JivkoCommented:
Just open th configuration file and go ahead.
There is a explanation for each directive and configuration options

And iptables is not so confusing

if you want to use private range of addresses just run this:

iptables -t nat -I POSTROUTING -s 192.168.0.0/16 -j MASQUERADE

and that is all


0
linxcelentAuthor Commented:
Here is the problem with my existing NAT iptables:

All the client are logon to the domain before the ( NAT ) server is dialup. When the server is dialup all clients need to restart to refresh their IP addresses. All client doesn't have permission to renew ( ipconfig /renew or release) IP address. It must be done with an administrator account.

Is there any way I can resolve this problem? If so, how do I approach it?

Please help, thank you.
0
linxcelentAuthor Commented:
Please delete this questiong and refund points - No respond was posted.
0
JivkoCommented:
So what was the question? How to install squid-proxy? Or how to setup NAT with iptables? Or wich is better?

>> " When the server is dialup all clients need to restart " 
What do you mean?

>> "If thinking about converting to SQUID Proxy. Could you help me with the configuration?"

The configuration is very simple.
There is default configuration file called squid.conf.default with explanation of every configuration option - working in most cases.
It is a good idea to read something about Squid:
http://www.squid-cache.org/Doc/FAQ/FAQ-3.html#ss3.2

...and about iptables

http://www.netfilter.org/documentation/HOWTO//NAT-HOWTO.html
http://www.yolinux.com/TUTORIALS/LinuxTutorialIptablesNetworkGateway.html




0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.