Re: [openwisp] Block menagement page to external networks

2017-07-20 Thread henriqsc
Sure!

Em segunda-feira, 17 de julho de 2017 18:29:52 UTC-3, Federico Capoano 
escreveu:
>
> Hi Henrique,
>
> glad to know you made it, could you send a pull request to 
> ansible-openwisp2  when 
> you are ready?
>
> It would be an awesome contribution for being the first one!
>
> Federico
>
>
> On Mon, Jul 17, 2017 at 9:21 PM henriqsc  > wrote:
>
>> Hi all, I actually needed to test openwrt clients. Tested it today and 
>> they can register and get configurations even if they were outside 
>> openwisp2_admin_allowed_network.
>>
>> Right now I'm using the following.
>>
>> location /admin {
>> error_page 403 = 204;
>> try_files /opt/openwisp2/public_html/maintenance.html $uri @uwsgi;
>> allow {{ openwisp2_admin_allowed_network }};
>> deny all;
>> }
>>
>> I added the line error_page 403 = 204 since I don't like to show the 
>> forbidden page.
>>
>> Thanks for the instructions I will follow it soon.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "OpenWISP" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to openwisp+u...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to openwisp+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[openwisp] Re: [OFFTOPIC] pfsense - captive portal - automatic single step login

2017-07-20 Thread Federico Capoano
Hey Alessandro,

when you write "I have realised this ad more", what do you mean?

Do you mean you have accomplished to deploy a system with a configuration 
like the one you described earlier?

Federico

-- 
You received this message because you are subscribed to the Google Groups 
"OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to openwisp+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.