LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 05-09-2014, 10:09 AM   #1
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273

Rep: Reputation: 1
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.
 
Old 05-10-2014, 06:57 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
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.
 
Old 05-11-2014, 02:21 PM   #3
Gil@LQ
Member
 
Registered: Apr 2010
Location: India /Hyderabad
Distribution: RedHat, CentOS
Posts: 273

Original Poster
Rep: Reputation: 1
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.
 
Old 05-12-2014, 03:00 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by Gil@LQ View Post
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Wifi RADIUS Authentication and Squid ACLs KZ5EE Linux - Server 1 04-21-2014 05:53 AM
Controlled Squid Proxy Rules amit.naudiyal Linux - Server 6 09-10-2010 08:55 PM
How i can know if my pc is controlled of other people Nejad General 8 10-29-2007 08:31 AM
How i can know if my pc is controlled of other people Nejad General 2 10-29-2007 08:25 AM
my redhat9 pc controlled by other PC chris68 Linux - Security 1 10-16-2004 08:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration