Device Configuration : Ruijie

3.1 Ruijie AP Configuration (FAT mode) – using web authentication

Telnet to Ruijie AP (default ip: 192.168.110.1 ; Password: admin)

  1. Configure the IP address

Ruijie#conf

Enter configuration commands, one per line.  End with CNTL/Z.

Ruijie(config)#interface BVI 1

Ruijie(config-if-BVI 1)#ip address 192.168.0.200 255.255.255.0

Ruijie(config-if-BVI 1)#ip route 0.0.0.0 0.0.0.0 192.168.0.1

  1. Create DNS for the AP

Ruijie(config)#ip name-server 8.8.8.8

Ruijie(config)#ip name-server 8.8.4.4

  1. Configure the SSID

Ruijie(config)#dot11 wlan 1

Ruijie(dot11-wlan-config)#ssid TEST

  1. Enable redirection for http port 80 and https port 443

Ruijie(config)#http redirect port 80

Ruijie(config)#http redirect port 443

  1. Create the template for the web authentication

Ruijie(config)#web-auth template KIWIRE wifidog                        #KIWIRE is the template name

Ruijie(config.tmplt.KIWIRE)#ip 192.168.0.209                               #ip address of the Kiwire server

Ruijie(config.tmplt.KIWIRE)#nas-ip 192.168.0.200                       #ip address of the Ruijie AP

Ruijie(config.tmplt.KIWIRE)#url http://192.168.0.209/user

Ruijie(config.tmplt.KIWIRE)#redirect js

Ruijie(config.tmplt.KIWIRE)#gateway-id G1KD54G003803        #serial number of the Ruijie AP

  1. Enable the web portal on the WLAN interface

Ruijie(config)#wlansec 1

Ruijie(config-wlansec)#web-auth portal KIWIRE

Ruijie(config-wlansec)#webauth

Ruijie(config-wlansec)#webauth prevent-jitter 1             #when user disassociated, will send logout immediately

  1. To enable the wall garden

Ruijie(config)#http redirect direct-site 31.13.24.0 255.255.248.0

Socialgate.synchroweb.com: 103.228.53.119

facebook 5.178.40.0/255.255.240.0
195.27.154.0/255.255.255.0
80.150.192.0/255.255.255.0
77.67.97.0/255.255.252.0
212.119.27.0/255.255.255.128
2.16.219.0/255.248.0.0
66.171.231.0/255.255.255.0
31.13.24.0/255.255.248.0
31.13.64.0/255.255.192.0
212.245.45.0/255.255.255.0
213.254.17.0/255.255.255.0
46.33.70.0/255.255.255.0
185.8.148.0/255.255.255.0
Google 216.239.32.0/255.255.224.0
64.233.160.0/255.255.224.0
66.249.64.0/255.255.224.0
72.14.192.0/255.255.192.0
209.85.128.0/255.255.128.0
66.102.0.0/255.255.240.0
74.125.0.0/255.255.0.0
64.18.0.0/255.255.240.0
207.126.144.0/255.255.240.0
173.194.0.0/255.255.0.0
Google+ 216.239.32.0/255.255.224.0
64.233.160.0/255.255.224.0
66.249.64.0/255.255.224.0
72.14.192.0/255.255.192.0
209.85.128.0/255.255.128.0
66.102.0.0/255.255.240.0
74.125.0.0/255.255.0.0
64.18.0.0/255.255.240.0
207.126.144.0/255.255.240.0
173.194.0.0/255.255.0.0
Twitter 199.16.156.0/255.255.252.0
199.59.148.0/255.255.252.0
199.96.56.0/255.255.248.0
192.133.76.0/255.255.252.0

 

  1. Then whitelist the domain

Ruijie(config)#web-auth acl white-url socialgate.synchroweb.com

Type Walled Garden List
Synchroweb social gate socialgate.synchroweb.com
Facebook Login facebook.com
www.facebook.com
akamaihd.net
fbcdn.net
Wechat Login qq.com
weixin.qq.com
Twitter Login twitter.com
twimg.com
Instagram instagram.com
Google www.google.com

google.com

Youtube youtube.com

www.youtube.com

s.youtube.com

 

  1. Then free url the domain
Type Walled Garden List
Synchroweb social gate socialgate.synchroweb.com
Facebook Login facebook.com
www.facebook.com
akamaihd.net
fbcdn.net
Wechat Login qq.com
weixin.qq.com
Twitter Login twitter.com
twimg.comabs.twitter.com

api.twitter.com

*.twimg.com

Instagram instagram.com

*.instagram.com

Google www.google.com

google.com

Youtube youtube.com

www.youtube.com

s.youtube.com

*.youtube.com

*.googlevideo.com

 

Open your web browser and type in http://kiwire-ip/admin to access your Kiwire admin panel.

Go to Device-NAS and click add NAS to add your Ruijie.

  • Device type is Ruijie WIFI
  • NAS ID is your AP serial number
  • IP address is your Ruijie AP
  • Shared Secret Key is any key
  • COA Port is any port
  • NAS username and password is your Ruijie AP username and password
  • Address is your Ruijie AP location
  • Description is remark of your Ruijie AP

Next, we go to Device-Zone to assign which zone we want to assign splash page. We can assign zone based on NAS ID, VLAN ID, IP address, or SSID. Create a new zone by clicking Create Zone. Put a name to it, Link To User and Limit Connected User can be empty. Then enable the Status.

After that, edit the zone by clicking Add.

Finally, you have completed the configuration of both Kiwire and Ruijie. Next is you need to design a landing page, create user profile and create user and assign the landing page to the zone desired. You may refer to http://doc.synchroweb.com/kiwire-2-0-directory/ for setting up landing page, user profile, users, and other details of Kiwire.