Skip to content

boyyao/wwas

 
 

Repository files navigation

license PRs Welcome Issue Welcome Release Version OpenWRT

wificoin-wifidog-auth-server

wwas is an apfree wifidog auther server (it also support original wifidog).

demo

apfree-wifidog auth server.

how to run server side

install nodejs (https://nodejs.org/en/download/package-manager/)

install mongodb (https://docs.mongodb.com/guides/server/install/)

install redis (https://redis.io/topics/quickstart)

//for ubuntu16 quick install
sudo apt-get update
sudo apt-get install -y redis-server
    
//start redis
sudo systemctl start redis

//check redis
redis-cli ping
PONG

// open redis notify-keyspace-events
redis-cli
config set notify-keyspace-events Ex

git clone https://github.com/wificoin-project/wwas

cd wwas

npm install 

npm start

how to run apfree wifidog side

the config of apfree wifidog in openwrt is the following:

config wifidog
	option	gateway_interface	'br-lan'
	option	auth_server_hostname	'wifidog.kunteng.org.cn'
	option	auth_server_port	443
	option	auth_server_path	'/wifidog/'	
	option	check_interval		60
	option	client_timeout		10
	option	pool_mode			1
	option	thread_number		5
	option	queue_size			20
	option	wired_passed		0
	option	enable		1

ui config

image

u can change 'wifidog.kunteng.org.cn' to your own wifidog auth server domain

demo picture

demo video

http://www.iqiyi.com/w_19s09zie6t.html

How To Contribute

Feel free to create issues or pull-requests if you have any problems.

Please read CONTRIBUTING.md before pushing any changes.

contact us

qq group: 424031785

About

wifidog auth server for supporting wfc payment and weixin lian

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.0%
  • HTML 13.0%