Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Looking for the best solution for an internal proxy server and webfilter for home use. I was using IPCOP which was great, but it fell over far too regularly, which after some detailed reading appears to occur due to my red and green interfaces being on the same subnet and IPCOP just shutting down the red after a certain amount of traffic. Anyway, I want to continue to use my Billion Router as the gateway (192.168.1.254), and have the squid/dansguardian(?) sit on the inside (192.168.1.20?) and then my home PC's in the DHCP range of 192.168.1.100-192.168.1.199, and just set their Firefox proxy settings to point to 192.168.1.20 which will then either grab the page from its cache, or decide whether to go fetch from the internet. I know this is basic squid stuff but I'm just unable to find information about using squid without doing routing (ie: router IP 192.168.0.xxx external interface, and 192.168.1.xxx internal.) Also being able to cache any windows or ubuntu updates would be a bonus, to save five PC's going out and grabbing the same data five times, where it would be better being cached after the first dl.
Thanks!!
Mark
PS: have also tried smoothwall, another good product but didn't seem to like the WAN and LAN nic's being same subnet.
PPS: Preferred platform either Ubuntu or Debian, but if another distro is required, happy to learn it's subtleties.
Last edited by EmCee09; 01-31-2009 at 10:51 PM.
Reason: add diagram
Hi and welcome to LQ, for me I use Squid and SquidGuard for my home use, I currently run this on KirraMail (slackware 12.1 box), but you can do this on any distro that you are currently using.
The box I use only has one network card in it, so it doesn't do any routing, squid itself does this for you since it's the man in the middle so to speak, as long as the squid box knows the gateway address there shouldn't be a problem.
Be happy to post my squid.conf file if you need it to get started, it's only a basic one, but does the job well.
thanks for the response. With a bit of googling and helpful linux forums I've managed to get squid running nicely on Ubuntu Server 8.10 (an old P4 2ghz machine, 1.5gb ram and an 80gb hdd, and a gigabit nic). Where I am stuck now is getting squid to redirect to squidGuard, so yes if you could post your squid.conf for me to compare mine with, that would be much appreciated.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.