2015-09-02 - Re: [GRASE-Hotspot] Connection through proxy

Header Data

From: Timothy White <ti***8@gmail.com>
Message Hash: 154c57e0f5c53996816322484bead3ada9c067b8a67e0abcc48e88dcbe0260d1
Message ID: <CAESLx0K6ZKv1VQ-xbQ++g6nm87TqdbPH7f8QdE-LqR-Qg403xQ@mail.gmail.com>
Reply To: <b4cc87d4-7fbe-47e0-baac-a4c63fca1aa5@grasehotspot.org>
UTC Datetime: 2015-09-02 21:36:21 UTC
Raw Date: Thu, 03 Sep 2015 04:36:21 +0000

Raw message

I'm currently away so can't check. I believe the grase.d directory is what
you want. The file in the directory needs to end in .conf and squid needs
to be restarted.

Hope you work it out.

Regards

Tim

On Thu, Sep 3, 2015, 10:16 AM Brett <02***5@melba.vic.edu.au> wrote:

> I also created the directory grase.conf.d and dropped a .conf file there
> too - still no luck
>
>
> On Thursday, September 3, 2015 at 12:34:16 PM UTC+10, Brett wrote:
>>
>> Hi Tim,
>> I,m doing this project in little grabs as time allows. Thank you for the
>> Squid heads up ; have done some reading around cache peers and I have my
>> head around the parameters but I'm having trouble with the instructions at
>> https://github.com/GraseHotspot/grase-www-portal/wiki/Squid-and-Proxies
>> which says to add the configuration lines to *.conf file within a directory
>> that is read by Grase.
>>
>> The directory specified is etc/squid3/grase.conf.d however no such
>> directory exists the contents of Squid3 are errorpages.css, grase.d,
>> msntauth.conf,squid.conf and squid.conf.grase.
>>
>> I dropped a conf file where I thought is should go (grase.d) and no luck.
>> I edited the squid.conf file directly and no luck.
>>
>> Am I current in guessing that Grase overrides the Squid configuration?
>> Where should the conf file be placed please or is their another way?
>>
>> Thanks in advance
>> Brett
>>
>> *Brett Groves*
>> *eLearning Leader*
>>
>>
>>
>>
>>
>> On Mon, Aug 24, 2015 at 7:57 PM, Timothy White <ti***8@gmail.com>
>> wrote:
>>
>>> Hi Brett
>>>
>>> There is already a squid proxy in Grase. Looking at
>>>
>>> http://stackoverflow.com/questions/19199424/squid-forward-to-another-proxy-with-authentication-details-for-the-parent-prox
>>> you should be able to get it to use the upstream proxy with
>>> authentication.
>>>
>>> However, this will only work for port 80 traffic (HTTP).
>>>
>>> If you are needing to proxy other ports, I'm not sure it'll work. I'm
>>> assuming it's a SOCKS proxy? In this case, you tell the proxy which
>>> hostname you wish to connect to. This isn't something that we know for
>>> non HTTP traffic. Another way of putting it, you can't have a
>>> transparent SOCKS proxy (at least, no way that I know of). You'll need
>>> to find a way to have the Grase server given access without going
>>> through the proxy as a SOCKS proxy.
>>>
>>> Regards
>>>
>>> Tim
>>>
>>> On Wed, Aug 5, 2015 at 10:05 AM, Brett <02***5@melba.vic.edu.au>
>>> wrote:
>>> > Hi
>>> >
>>> > Have just set up 3.8 on Ubuntu 12.x (decided to try it this way first
>>> rather
>>> > than install 14+). Works great however as a school we have an issue we
>>> need
>>> > to solve. We are using it to allow students to connect to a Meraki
>>> based MDM
>>> > and configure their own wireless. So certainly students can connect to
>>> the
>>> > Grase Hotspot server and login but cannot access the wider internet as
>>> we
>>> > are behind a proxy.
>>> >
>>> > Our schools proxy setup for general student use is an ISA box which
>>> requires
>>> > authentication. We also have access to an external proxy provided by
>>> the isp
>>> > (netspace) which requires special authorization (ie credentials which
>>> are
>>> > manually entered and not for public release)
>>> >
>>> > I can get a student iPad without a problem to locate the landing page
>>> and
>>> > login, however to proceed further students would have to go into the
>>> > settings for the wireless network point, add an IP for the proxy and a
>>> port
>>> > and then add in their network credentials to connect to the Meraki MDM
>>> and
>>> > install certs and profiles. They would then need to disable this proxy
>>> setup
>>> > and return to the http:/logout page to logout. You can see this would
>>> be a
>>> > problematic procedure for students as a self service connection system.
>>> >
>>> > So my question is there anyway to connect the hotspot internet via our
>>> proxy
>>> > so that it is transparent to students but credentials are stored on the
>>> > server running Grase?(and not exposed to students)
>>> >
>>> >  I'd hoped that Grase might pick up system wide proxies set as an
>>> > environment variable but it seems not so. Really keen for some help as
>>> we
>>> > have come this far and the kiosk appears otherwise to do precisely
>>> what we
>>> > need (thank you!!)
>>> >
>>> > TIA Brett
>>> >
>>> > --
>>> > This mailing list is for the Grase Hotspot Project
>>> http://grasehotspot.org
>>> > ---
>>> > You received this message because you are subscribed to the Google
>>> Groups
>>> > "Grase Hotspot" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> an
>>> > email to gr***e@grasehotspot.org.
>>> > To post to this group, send email to gr***t@grasehotspot.org.
>>> > Visit this group at
>>> > http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
>>> > To view this discussion on the web visit
>>> >
>>> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/d382d1da-33a7-41e2-a106-cc38120914e7%40grasehotspot.org
>>> .
>>>
>>> --
>>> This mailing list is for the Grase Hotspot Project
>>> http://grasehotspot.org
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "Grase Hotspot" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to gr***e@grasehotspot.org.
>>> To post to this group, send email to gr***t@grasehotspot.org.
>>> Visit this group at
>>> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
>>> To view this discussion on the web visit
>>> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/CAESLx0K8Fx4HPYgNzUv1%3DWd6OjN-Qoc7fRLTQHgTUmKpyE8w4g%40mail.gmail.com
>>> .
>>>
>>
>> --
> This mailing list is for the Grase Hotspot Project http://grasehotspot.org
> ---
> You received this message because you are subscribed to the Google Groups
> "Grase Hotspot" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to gr***e@grasehotspot.org.
> To post to this group, send email to gr***t@grasehotspot.org.
> Visit this group at
> http://groups.google.com/a/grasehotspot.org/group/grase-hotspot/.
> To view this discussion on the web visit
> https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/b4cc87d4-7fbe-47e0-baac-a4c63fca1aa5%40grasehotspot.org
> <https://groups.google.com/a/grasehotspot.org/d/msgid/grase-hotspot/b4cc87d4-7fbe-47e0-baac-a4c63fca1aa5%40grasehotspot.org?utm_medium=email&utm_source=footer>
> .
>

Thread