Opened 4 years ago
Closed 4 years ago
#1043 closed (invalid)
wifidog not working in AP mode
| Reported by: | liug | Owned by: | somebody |
|---|---|---|---|
| Keywords: | Cc: |
Description
Using the latest BS build (BrainSlayer?-V24-preSP2/150409) on a WRT610N to setup WAP per instructions from http://www.dd-wrt.com/wiki/index.php/Wireless_Access_Point
WAN port is disabled, LAN port 1 is connected to the existing LAN, using existing dhcp, router and firewall on the LAN.
Since nothing is on the WAN port, I disabled SPI firewall from the GUI. (I tried disable/enable the SPI and it didn't make any differences.
I configured a test wifidog auth server, and then configured the WRT610N to use the wifidog mode. I saved and applied the changes. I can ssh into the router, and I can see several instances of wifidog.
Below is the /tmp/wifidog/wifidog.conf from the router:
AuthServer? { Hostname auth.mydomain.com SSLAvailable yes SSLPort 443 HTTPPort 80 Path /wifidog } 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 }
Now, I use a wireless client to connect to the new AP, it gets IP address successfuly, and I can browse Internet immediately. I was never redirect to the wifidog server to enter my username/password.
Change History (1)
comment:1 Changed 4 years ago by BrainSlayer
- Resolution set to invalid
- Status changed from new to closed

wifidog needs a wan interface. it cannot redirect on bridged networks