Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Running squid on/for singlehost
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
tupilak
n00b
n00b


Joined: 30 Jan 2006
Posts: 2

PostPosted: Mon Jan 30, 2006 7:52 am    Post subject: Running squid on/for singlehost Reply with quote

Dear users,

I'm struggling to get squid running for singlehost, machine for home use. Reasons are obvious, first benefit of caching web traffic and second controlling access to some web pages.
Scenario would be as follows:

squid is running on localhost ( 127.0.0.1 ) and all web traffic would be redirected ( with iptables ) to it. Machine is used as desktop for home use, so there is no extra machine/ router with firewall. Connection to internet will be done via ADSL. Machine has optionally one NIC.

To get squid running on locahost works fine, but the only proble I have is to redirect all trafic to it. Including traffic from that machine squid runs on.

Did someone get involved in this? Or is there any better solutuion?

Thanks in advance

Z.
Back to top
View user's profile Send private message
gerdesj
l33t
l33t


Joined: 29 Sep 2005
Posts: 622
Location: Yeovil, Somerset, UK

PostPosted: Mon Jan 30, 2006 8:43 am    Post subject: Re: Running squid on/for singlehost Reply with quote

A very quick Google for "transparent web proxy squid" turns up this:

http://www.squid-cache.org/Doc/FAQ/FAQ-17.html (it may be an old doc but it seems to cover everything you'll need)

... and a lot of other links. Have a read and then post back with something a bit more specific please.

Cheers
Jon

tupilak wrote:
Dear users,

I'm struggling to get squid running for singlehost, machine for home use. Reasons are obvious, first benefit of caching web traffic and second controlling access to some web pages.
Scenario would be as follows:

squid is running on localhost ( 127.0.0.1 ) and all web traffic would be redirected ( with iptables ) to it. Machine is used as desktop for home use, so there is no extra machine/ router with firewall. Connection to internet will be done via ADSL. Machine has optionally one NIC.

To get squid running on locahost works fine, but the only proble I have is to redirect all trafic to it. Including traffic from that machine squid runs on.

Did someone get involved in this? Or is there any better solutuion?

Thanks in advance

Z.
Back to top
View user's profile Send private message
tupilak
n00b
n00b


Joined: 30 Jan 2006
Posts: 2

PostPosted: Mon Jan 30, 2006 9:22 am    Post subject: Reply with quote

Yes, I did it sever time, over and over. But apparently I'm lacking ability of PF from *BSD to redirect traffic for single host as well. This question is not about setting up squid, but configuring iptables to fit my needs.

I hope my question is clear.

Z.
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