Login redirection connection refused

Asked by Antonio Herran

I'm using authpuppy auth server with wifidog captive portal on an embedded system using raspian (Debian 8 jessie) . I start wifidog in debug and foreground to test and everything seems to be going ok.

However, when I connect a device to the AP, wifidog catches the request ok and sends to the device what should be the login page, but instead of having an actual portal to authenticate, the device browser displays:

"'The webpage at http://127.0.0.1/login/?gw_address=192.168.2.1&gw_port=2060&gw_id=etc' could not be loaded because:
net::ERR_CONNECTION_REFUSED"

I've installed basically all authpuppy plugins, yet I keep getting the same response.

I'd really appreciatte any input on this, I'm not sure what I'm missing

Thanks in advance
Best Regards

Question information

Language:
English Edit question
Status:
Solved
For:
AuthPuppy Edit question
Assignee:
No assignee Edit question
Solved by:
Antonio Herran
Solved:
Last query:
Last reply:
Revision history for this message
Antonio Herran (antonioherran) said :
#1

If anyone runs into this kind of issue the answer is really simple.

In the AuthServer field in wifidog.conf, the address should not be local host but the actual IP address in the network for the auth portal.