Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Redhat as a proxy server 1

Status
Not open for further replies.

da644

Programmer
May 21, 2001
159
GB
Hi.

I've set up a Linux server using Redhat 7.2 and have it configured just the way we want to use it as a file server. We would now like to also use it as a proxy server to give the other windows computers on the network Internet access. Does Redhat have a proxy with it by default or will I have to download one??? In both cases, where can I find it???

Thanks

Best Regards

Andrew
 
You may already have installed (as part of your RH install) the proxy server SQUID... to find out, type
rpm -qa|grep -i squid

If not, you can install it from your CDs (CD #1 if I recall)...

Squid can be fun to configure....so dont forget to check for more info :)

---
John Hoke
If you found this post helpfull, please click below and let us know!
 
Hi,

A slight word of warning on squid - it is limited to proxying http protocol only so, for most people, its not a 100% answer to sharing an internet connection. On M$/Poxy server, for example, you have the wsp option where everything that isn't in the lat is remoted. Squid just does http and ftp via a browser but not from a regular ftp client. Latest squid is ftp://rpmfind.net/linux/redhat/updates/7.2/en/os/i386/squid-2.4.STABLE1-6.i386.rpm which is an update from the original that shipped with 7.2 . Just download that somewhere and install/upgrade as root with :

rpm -Uvh squid*.rpm

For other things, you have to employ IP masquerading (special form of source network address translation) using iptables.

Regards

 
Yeah, you definitely will want to look at iptables as it handles not just firewalling, but NAT and DNAT (Port forwarding).

What you say? Check out this developer works tutorial, it will walk you setting up a firewall, NAT (Internet connection sharing) and more. Also check out Rusty's unreliable guides...


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top