Not redirected to auth server

Asked by Benoit Aubert

Hello,

I have had a lot of trouble setting up hotspots using wifidog, and I would highly apreciate a moment in your time to help me figure out what I am doing wrong. I have setup two autentification servers, one with the latest version of wifidog, the other with the latest version of authpuppy. Both run on a Ubuntu virtual server provided by Amazon AWS services.

I have tried to setup a TP-Link MR3020 router with the appropriate version of OpenWRT, with the latest version of wifidog. I also have a Linksys WRT54GL V1.1, with DD-WRT V24 SP2 (standard) version which has wifidog included.

I followed all the steps of this tutorial to install wifidog on the TP-link:

http://wiki.openwrt.org/doc/howto/wireless.hotspot.wifidog

For the Linksys and DD-WRT, I installed it and activated wifidog, as told on the Internet, and no other specific setup seems needed because I did not read anything about it and I searched a lot.

here is my wifidog.conf:

GatewayID default

ExternalInterface vlan1

GatewayInterface br0

GatewayPort 2060

HTTPDMaxConn 10

HTTPDName WiFiDog

CheckInterval 60

ClientTimeout 5

TrustedMACList

AuthServer {

Hostname 54.245.73.116

SSLAvailable no

SSLPort 443

HTTPPort 80

Path /

}

FirewallRuleSet global {

FirewallRule allow tcp port 80 to 54.245.73.116

}

FirewallRuleSet validating-users {

FirewallRule allow to 0.0.0.0/0

}

FirewallRuleSet known-users {

FirewallRule allow to 0.0.0.0/0

}

FirewallRuleSet unknown-users {

FirewallRule allow udp port 53

FirewallRule allow tcp port 53

FirewallRule allow udp port 67

FirewallRule allow tcp port 67

}

FirewallRuleSet locked-users {

FirewallRule block to 0.0.0.0/0

}

I tried all those combinations:

Wifidog Auth Server / OpenWRT + wifidog gateway on Linksys

Wifidog Auth Server / DD-WRT + wifidog gateway on TP-LINK

AuthPuppy Server / OpentWRT + wifidog gateway on Linksys

AuthPuppy Server / DD-WRT + wifidog gateway on TP-LINK

Both routers are connected to a modem with and ethernet cable plugged on a LAN port. And for all those combinaisions I have the same result:

- Wifidog gets a “PONG” response from the authserver when launched

- The authserver sees the node as “Active” in the admin panel

- But when I try to access the internet from the gateway I can browse any page with no problem and without being redirected to the autentification page.

Have you ever encountered similar cases? I am desperate and don’t know what else to do to get this thing to work. Any help would be very appreciated.

Thank you in advance

Ben.

Question information

Language:
English Edit question
Status:
Solved
For:
AuthPuppy Edit question
Assignee:
No assignee Edit question
Solved by:
Benoit Aubert
Solved:
Last query:
Last reply:
Revision history for this message
Benoit Aubert (benoit-aubert) said :
#1

I managed to get the linksys work using the WAN port instead. Hope to get the other router working though

Revision history for this message
luxiaojian (519828247-o) said :
#2

do you make it successfully?? I encountered similar case,please help me!
Thank you in advance!