Solved

help for configuring squid

Posted on 2004-07-31
5
278 Views
Last Modified: 2013-12-15
hi all
iam using windows2000 server for sharing inernet in the lan. i have to place a new pc only for browsing internet in the n/w but don t have any free port in my switch. so i installed a new n/w card in the 2000server machine. but i can share internet only for one n/w card in 2000server. so i thought of changing my 2000server to RH9 and configuring squid. can i share the internet among all the systems tru squid?

regards

chinju
0
Comment
Question by:chinju
5 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
Comment Utility
Yes, you could use squid or you could set up a NAT'ing firewall on the Linux box for general Internet sharing. Squid is a proxy which means that it only will allow those protocols that it knows about, web, ftp, etc. A firewall does care what protocol the client uses and thus allows POP, IMAP, SMTP, etc. And example of a firewall rule set for a RedHat box can be seen at http://www.entrophy-free.net/tools/iptables-gw
0
 

Expert Comment

by:MNGROW
Comment Utility
Try thi simple linux gateway server installation
http://www.linuxjournal.com/article.php?sid=3866
and u also can use squid on ur gateway server for better control and performance using transprant proxy support

iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 80 -j REDIRECT --to-port 8080
0
 
LVL 1

Expert Comment

by:ramez_hanna
Comment Utility
to be able to share the net the way you described you have to
- setup nating so that all clients share the same real IP
- setup squid to share the web content
squid out of the box will work and will only need configuration to setup permissions
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Currently, there is not an RPM package available under the RHEL/Fedora/CentOS distributions that gives you a quick and easy way to allow PHP to interface with Oracle. As a result, I have included a set of instructions on how to do this with minimal …
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now