Default URL redirection

Jason Mobarak x
Thu Jul 31 13:30:01 PDT 2014


Consider using something like this package: http://dev.wifidog.org/

On Thu, Jul 31, 2014 at 7:56 AM, S?bastien Pierre
<sebastien.pierre at gmail.com> wrote:
> Thanks a lot Jouni, as you suggested, setting iptables rules was the way to
> go to create a captive portal.
>
> Sebastien
>
> Le 2014-07-31 10:06, "Jouni Malinen" <j at w1.fi> a ?crit :
>
>> On Mon, Jul 28, 2014 at 10:09:10AM -0400, S?bastien Pierre wrote:
>> > I would like to setup a redirection to a specific URL when a user joins
>> > an
>> > open WiFi network. I've tried the "network_auth_type" configuration
>> > parameter, but without any success.
>>
>> Please note that that parameter is just making the AP provide
>> information about the URL in an ANQP request; it does not in any way
>> force the station to use or even query that information.
>>
>> > but in both cases I can't access the WiFi network, nor do I see any
>> > request  logged on the apache2 access log.
>> >
>> > I couldn't find more information about what exactly the different modes
>> > (01, 02, etc) do and how the redirect URL is used.
>>
>> It sounds like you are trying to force the station to go through a
>> captive portal. hostapd won't do that, i.e., you would need external
>> programs to manage firewall rules and forwarding of the first HTTP
>> operation to build a captive portal.
>>
>> --
>> Jouni Malinen                                            PGP id EFC895FA
>> _______________________________________________
>> HostAP mailing list
>> HostAP at lists.shmoo.com
>> http://lists.shmoo.com/mailman/listinfo/hostap
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>



More information about the Hostap mailing list