nixCraft Linux Forum

nixCraft

Linux Tech Support Forum

squid for newbie

This is a discussion on squid for newbie within the Linux software forums, part of the Linux Getting Started category; Hi Vivek and team, I run an education centre for about 45 students. I have 50 machines, 5 of which ...


Go Back   nixCraft Linux Forum > Linux Getting Started > Linux software

Register FAQ Members List Calendar Forgotten your password? Mark Forums Read
  #1 (permalink)  
Old 02-11-2007, 10:33 PM
Junior Member
User
 
Join Date: Feb 2007
Posts: 10
Rep Power: 0
raghuram
Default squid for newbie

Hi Vivek and team,

I run an education centre for about 45 students. I have 50 machines, 5 of which I use as servers. One is a DHCP server (FC5) while the others run some content management tools. I have a windows xp machine which hosts a 2 Mbps ADSL connection from BSNL. I want to share this connection across LAN for the students. I have some questions which need to be answered before I can proceed:

1. Currently I am using Analog X proxy tool to share internet across LAN. Can I use squid here or should I just forward packets from LAN interface to Internet Interface ?
2. Can squid be hosted on a machine (Linux) other than the internet gateway machine (Xp)?
3. Can I use Bittorrent through squid?
4 .What other things should I keep in mind while sharing internet across LAN?

Any help will be greatly appreciated. I am a complete newbie to networking and server stuff, so please bear with me.

Thanks.

/raghuram
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 02-12-2007, 11:31 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,060
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Quote:
1. Currently I am using Analog X proxy tool to share internet across LAN. Can I use squid here or should I just forward packets from LAN interface to Internet Interface ?
You can use squid with Linux. You can setup Linux as router and squid as caching server:
Code:
BSNL-Router-> Linux Server -> All Windows XP
Quote:
2. Can squid be hosted on a machine (Linux) other than the internet gateway machine (Xp)?
Squid only works on Linux and not on XP. If you have router from BSNL you can use it with Linux. USB modem may not work with Linux.

Quote:
3. Can I use Bittorrent through squid?
No squid is only http/ftp proxy. If you setup Linux as router you can use bittorent via Linux box.

Quote:
4 .What other things should I keep in mind while sharing internet across LAN?
Security

If you have any question please feel to reply back.
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #3 (permalink)  
Old 02-13-2007, 12:18 AM
Junior Member
User
 
Join Date: Feb 2007
Posts: 10
Rep Power: 0
raghuram
Default squid for newbie

thank you Vivek. That sure did clear up some lingering doubts. As for security, how do I ensure that my boxen are safe, especially the squid/Linux Router box?

raghuram
Reply With Quote
  #4 (permalink)  
Old 02-15-2007, 09:17 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
My distro: Ubuntu
Posts: 1,060
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Basically you need to install iptables based firewall and only run required services.
__________________
Vivek | My personal blog
Linux Evangelist
Play hard stay cool
Reply With Quote
  #5 (permalink)  
Old 02-15-2007, 08:36 PM
Junior Member
User
 
Join Date: Feb 2007
Posts: 10
Rep Power: 0
raghuram
Default

Quote:
Originally Posted by nixcraft
Quote:
2. Can squid be hosted on a machine (Linux) other than the internet gateway machine (Xp)?
Squid only works on Linux and not on XP.

Came across this link which takes you to various windows versions of squid proxy server:

http://www.google.co.in/search?hl=en...G=Search&meta=
Reply With Quote
  #6 (permalink)  
Old 02-17-2007, 05:47 PM
Junior Member
User
 
Join Date: Feb 2007
Posts: 10
Rep Power: 0
raghuram
Default

Quote:
Originally Posted by nixcraft
You can use squid with Linux. You can setup Linux as router and squid as caching server:
In the squid tutorial available on this site, I didn't come across the 'caching' part of squid. Do I have to explicitly make squid a caching server? Also, I want to allow only 10 IPs to access the net while the rest are blocked. How do I do that?

Thanks.

raghuram
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Newbie needing help w/Fedora mail server setup Drewsmoken Mail Servers 1 03-28-2008 05:28 AM
Newbie here...looking to install Newlnx Getting started tutorials 4 03-25-2008 12:26 AM
problems starting squid for a rank newbie scarletlancer Linux software 1 11-02-2006 05:20 PM
Solaris newbie: How to install IOzone in Solaris warren Solaris/OpenSolaris 11 03-28-2006 06:45 PM
Dumb Newbie problem -- can't compile Henry Coding in General 7 01-12-2006 05:24 AM


All times are GMT +5.5. The time now is 11:45 PM.


Powered by vBulletin® Version 3.7.4 - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36