Solved

help for configuring squid

Posted on 2004-07-31
5
284 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
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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
nagios remote hosts 9 56
Backup & Restore 3 55
How to find Linux Server's last patch date 9 51
reset ubuntu password for root and admin after clearing it. 7 44
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

777 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