Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 292
  • Last Modified:

help for configuring squid

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
chinju
Asked:
chinju
1 Solution
 
jlevieCommented:
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
 
MNGROWCommented:
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
 
ramez_hannaCommented:
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

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now