Modifying Squid to provide unrestricted use for one IP in LAN
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Modifying Squid to provide unrestricted use for one IP in LAN
Hello,
My LAN server ip is 192.168.0.250:8080
My employees System ip is 192.168.0.101:8080
I want to provide "no restriction" to the above ip i.e; 192.168.0.101:8080
How to configure squid for the above purpose???
Operating system is Red Hat Linux.
I think you should locate and edit this line in squid conf:
acl our_networks src ip1 ip2 ip3
But how do you make sure that the source of the requests can be 8080, only? What are on the nodes making connections?
A browser would use any port available. I suspect that even a proxy would use any port available when making requests, not only its dedidated proxy port.
So, unless you can really make sure that the requests can only come from port 8080, you should not specify any source port, just the source ips.
Sir,
The squid is made to listen http requests from 8080. So our browser is configured with 8080 port. The ultimate aim is i need a command to edit squid, for not imposing firewall restriction on 192.168.0.101
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.