Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Squid on a desktop?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
FrozenMist
n00b
n00b


Joined: 01 Dec 2004
Posts: 30

PostPosted: Fri Apr 01, 2005 11:29 am    Post subject: Squid on a desktop? Reply with quote

I was wondering if it was possible to install and use Squid on my desktop style computer, which I run Fluxbox other desktop apps, using squid as a proxy + content filter for two other computers on the netowrk. It seems to me I would need to have two ehternet cards instead of one. And with my current setup I have all three ocmputers connected to the HUB, which is connected in turn to the ADSL router, which is the DHCP server+Gateway. I am under the impression that I would need to plug two computers into the router, which would be plugged into my computer, adn my computer would be plugged into the adsl modem..

Does anyone have any info or web site links that I could read
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Fri Apr 01, 2005 11:42 am    Post subject: Reply with quote

This is how I do it:

ADSL Router/Modem -> Server -> Hub/Switch -> LAN

Yes you'll need 2 NICs in the server to do this kind of setup. It was really easy to setup for me with help from the Gentoo Wiki - check out there for tonnes of HOWTOs!
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
christsong84
Veteran
Veteran


Joined: 06 Apr 2003
Posts: 1003
Location: GMT-8 (Spokane)

PostPosted: Fri Apr 01, 2005 7:37 pm    Post subject: Reply with quote

mattjgalloway wrote:
This is how I do it:

ADSL Router/Modem -> Server -> Hub/Switch -> LAN

Yes you'll need 2 NICs in the server to do this kind of setup. It was really easy to setup for me with help from the Gentoo Wiki - check out there for tonnes of HOWTOs!


alternately, set it up so that your router/modem doesn't assign ip's but your machine does...tehn everyone has to go and get an ip from there, you set the gateway to said server, then they all go through your machine anyways, even with only one nic.
_________________
while(true) {self.input(sugar);} :twisted:
Back to top
View user's profile Send private message
dtmf
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jan 2005
Posts: 124

PostPosted: Fri Apr 01, 2005 8:50 pm    Post subject: Reply with quote

I have squid running on a desktop computer. I use it for ssh tunnel. I ssh in from what ever network so that they see nothing but the encrypted traffic. But to the point, it only has one nic card. All you have to do on the other computers is point them to you for proxy. You don't have to add another nic or setup a network for them, but the problem with this is if the users know that, this is how u have it setup. then just turn off pointing to your server and then they are back to the normal internet. That is if they know what is going on.
Back to top
View user's profile Send private message
mattjgalloway
l33t
l33t


Joined: 16 Mar 2004
Posts: 761
Location: Coventry, UK

PostPosted: Fri Apr 01, 2005 10:42 pm    Post subject: Reply with quote

Adding another NIC costs what, £10. And it gives you much more advantages like being able to specify firewall rules for each NIC, etc. Personally I'd go with 2 NICs, but it's up to you...
_________________
AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard
Back to top
View user's profile Send private message
FrozenMist
n00b
n00b


Joined: 01 Dec 2004
Posts: 30

PostPosted: Sat Apr 02, 2005 12:50 am    Post subject: Reply with quote

Thanks for all the suggestions, I am probably thinking of getting another Eth Card, as that seems to be the most logical thing to do. Soz for the way I wrote the first post too, I wrote it late at night inbetween TV commercials - hehe. Well, I will get the card, and will probably ending up asking some more questions. Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum