Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
The process they follow in that tutorial is to create an access control list (acl) and then define whether to allow or deny access to anything that matches the acl. I don't have a box here to test it on, but try something like:
alright I kind of got it working. Now, it doesn't have a fatal error. Your suggestion was right expcet you're suppose to put src after lanhost. Here is what I get now.
Config file
Restarting proxy server: 2006/02/16 21:14:28| aclParseIpData: WARNING: Netmask masks away part of the specified IP in '192.168.15.101/255.255.255.0'
squid.
The error means that the netmask is wrong. If you just want to allow the 192.168.15.101 address, try it as 192.168.15.101/255.255.255.255 or as just 192.168.15.101, if you want to allow all of the PCs in the subnet 192.168.15.0, try 192.168.15.0/255.255.255.0. I hope that works - I'm still not at a PC where I can try it myself
Thanks man. It starts up now just fine. However, if i try to connect to the proxy via firefox from the allowed ip it doesn't respond. I guess there is something messed up during startup. On the installation they tell how to debug it but I'm running ubuntu and I don't know how to display that. Here is the link. http://http://squid-docs.sourceforge...html/x897.html
I also found this cgiproxy which would work but having trouble installing it. Has anyone done this before? Here is the cgi proxy link. http://www.jmarshall.com/tools/cgiproxy/
I'm not sure what is causing that - what errors are being displayed by Firefox? There may be some information in the logs also. My squid logs to the /var/log/squid directory, in the files access.log, cache.log and store.log.
OK, there are no errors in that output. If the proxy settings are correct in your browser, it should be returning something. Can you try manually connecting to the proxy server. For example, if the proxy is proxy.yourdomain.com and the port is 8080:
Can you check the permissions/ownership on squid's cache directory? It sounds as though it hasn't started up correctly, although there should be error messages.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.