liudf0716 / apfree-wifidog

Secure and streamline your wireless networks with apfree-wifidog: a high-performance, lightweight captive portal solution optimized for both HTTP and HTTPS traffic.
http://wifidogx.online
GNU General Public License v3.0
818 stars 298 forks source link

auth server offline #221

Closed khoailangdo closed 4 years ago

khoailangdo commented 5 years ago

I have configured in /etc/config/wifidogx like below: option auth_server_hostname 'dattest.matmagoc.com' option auth_server_port 443 option auth_server_path '/signin/'

After i start with command success: /etc/init.d/wifidogx start ApFree-wifidog redirect to Auth Server Offline page?

What happened. Or do I configure something wrong? Help me handle this problem Thanks

liudf0716 commented 5 years ago

does your auth server support https? if not, pls change auth_server_port from 443 to your auth server port

khoailangdo commented 5 years ago

ok thanks. I have already fixed it. I have already fixed it. I have a new problem, about allowing a domain to whitelist: option trusted_domains 'connectivitycheck.android.com, connectivitycheck.gstatic.com, lichngaytot.com' When I have not authenticated, I only point Ping and access the domain lichngaytot.com, while other domains I cannot Ping. Are there any errors in the configuration?

liudf0716 commented 5 years ago

u can try wdctx show_trusted_domains to see whether the rule applied.

khoailangdo commented 4 years ago

ok thanks