Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
05-09-2014, 10:09 AM
|
#1
|
Member
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273
Rep:
|
wifi controlled with squid
Hi guys,
I have wifi network in office, but the router doesn't have muchs features like controlling sites or bandwidths etc...
I have one squid running in my environment. i need your help to share internet from squid to wifi router so that i can control sites bandwidth etc of wifi network.
configuring squid servers ip as gateway of wifi router doesnt' work since traffic doesn't go though squid. Please help me solve this issue.
thank you very in advance.
|
|
|
05-10-2014, 06:57 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
You can't control wifi with squid, they have nothing at all in common, and you know yourself there that squid is NOT a router. You would just need to block outbound traffic from the router unless it's coming from the squid IP, meaning all web requests will have to hit the squid box first. There are plenty of ways to make this more and more complicated, like separate vlans for either side of the squid box and doing transparent proxying on it etc, but for the basic results, you need to just stop outbound access by default on the router.
|
|
|
05-11-2014, 02:21 PM
|
#3
|
Member
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273
Original Poster
Rep:
|
Hi acid_kewpie,
thanks for reply, you are right i was thinking about transparent proxy. I have one doubt and here is my plan.
1. i'll configure transparent proxy
2. ill give deafult gateway in wifi router as proxy ip.
so all the http requests hit proxy and will work am i right ? what about https://www.google.com will https requests also works ?
can u give let me know below line once again it is too brief for me.
Quote:
but for the basic results, you need to just stop outbound access by default on the router.
|
thanks in advance.
|
|
|
05-12-2014, 03:00 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
Quote:
Originally Posted by Gil@LQ
Hi acid_kewpie,
thanks for reply, you are right i was thinking about transparent proxy. I have one doubt and here is my plan.
1. i'll configure transparent proxy
2. ill give deafult gateway in wifi router as proxy ip.
so all the http requests hit proxy and will work am i right ? what about https://www.google.com will https requests also works ?
can u give let me know below line once again it is too brief for me.
thanks in advance.
|
If you want https proxying transparently, then you'll need sslbump to manage the SSL side of things. Transparency is very very very rarely what you think it's going to be though. I'd very strongly suggest you just explicitly configure proxy addresses. it's so much clearer and simpler. And there are ways to automate that side of things with proxy.pac files etc, the details of which you can provide by DHCP.
|
|
|
All times are GMT -5. The time now is 04:55 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|