Solved

help for configuring squid

Posted on 2004-07-31
5
287 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 40

Accepted Solution

by:
jlevie earned 50 total points
ID: 11688436
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
ID: 11716306
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
ID: 11951243
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

622 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