MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21,...

27
MIKROTIK HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy [email protected] WISKY, VIETNAM

Transcript of MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21,...

Page 1: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

MIKROTIK HOTSPOT EXTERNAL SERVER

Mikrotik User Meeting Vietnam, April 21, 2017

Nguyen Quoc Huy [email protected] WISKY, VIETNAM

Page 2: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

AGNEDA

•  Overview Adverting Market in Vienam. What is

Wifi Marketing ?

•  How To Operation And Setup Wifi Marketing

(Hotspot With Mikrotik)

•  Case Study Hotspot External Server

Page 3: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Overview Adverting Market in Vietnam

What is Wifi Marketing ?

Page 4: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Adverting Market in Vietnam  

Page 5: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

What is WiFi Marketing (hotspot Mikrotik)

WIFI MARKETING

Hotspot Mikrotik Content Marketing

Page 6: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

WiFi  Marke*ng  Overview  

Page 7: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

User  Prefer  WiFi  

Page 8: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Free  WiFi  Hotspot  Vietnam  

Page 9: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

How To Operation And Setup WiFi

Marketing

(Hotspot With Mikrotik)

Page 10: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Flow  Hotspot  (WiFi  marke*ng)  

Page 11: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Flow Hotspot (WiFi marketing)

Radius Server

Web Server

Router Mikrotik

Client

Client

1. Request Hotspot

3. Register Radius

Page 12: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

How to setup hotspot ?

Step 1: Definition hotspot

Step 2: Change hotspot settings

Step 3: Add Walled Garden

Step 4: Setup hotspot redirect to external

Step 5: Configuration radius server

Page 13: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Step 1: Definition Hotspot

1.  Hotspot Interface: <your bridge>

2.  Local Address Network : <your DHCP – 10.5.50.1>

3.  Address Pool of Network: <10.5.50.1 – 10.5.50.200>

4.  Select Certificate: none

5.  IP Address of SMTP Server: 0.0.0.0

6.  DNS Server: 10.5.50.1 / 8.8.8.8 / 8.8.4.4

7.  DNS Name: optional

8.  Hotspot Setup: user

Page 14: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Step 1: Definition Hotspot  

Select  Hotspot  Setup    

Follow  Hotspot  Setup  

1  

2  

1 2 3

4 5 6

7 8

Page 15: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Step 2: Change hotspot settings

IP  >  Hotspot  >  User  Profiles  >  Default,  General  Tab  Remove  shared  Users:  Clear  (Allowed  number  of  simultaneously  logged  in  users  with  the  same  HotSpot  user)    

Select  Default  

Shared  User  Field  Has  To  Be  Clear  

1  

2  

Page 16: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Step 2: Change hotspot settings

Select  Default  

HTTP  PAP  has  to  checked.  Nothing  

else.  

1  

4  

Select  hsprof3  2  

Login  3  

Change  the  method  of  the  Authen*ca*on:    IP  >  Hotspot  >  Server  Profiles  select  hsprof3  

Hotspot  Server  Profile  <hsprof3>  Login  Tab  HTTP  PAP:  checked  ;  Use  Radius:  Checked    

Page 17: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Step 3: Add Walled Garden

System/Scripts  

Click  Apply  And  Run  Script  

1  

Add  a  new  scripts  2  

Enter  name  “WalledGarden”  

3  

Insert  the  scripts  4  

5  

Now  define  a  list  of  allowed  servers,  IP  >  Hotspot  Walled  Garden  If  you  are  customer  with  White  Label  solu*on,  please  add  your  custom  domain  (for  example  mycustomdomain.com)      

Page 18: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Step 4: Setup hotspot redirect to external

Get  file  login.html  and  edit  for  redirect  external  server  

   

Page 19: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Step 4: Setup hotspot redirect to external

Custome  file  login.html  on  flash  memory        

<html>  <head>  <meta  hZp-­‐equiv="refresh"  content="0;  url=hZp://splash.wisky.vn/Portal/Step1?apMac=$(APMac)&userMac=$(mac)&clientIp=$(ip)&userUrl=$(link-­‐orig)&loginUrl=$(link-­‐login-­‐only)"  />  <meta  hZp-­‐equiv="pragma"  content="no-­‐cache">  <meta  hZp-­‐equiv="expires"  content="-­‐1">  </head>  </html>  

Page 20: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Step 5: Configuration radius server

check  hotspot  1  

IP  Radius  Server  

2  

Authen*ca*on  Port:  1812  Accoun*ng  Port:  1813  

3  

Click  OK  4  

Page 21: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Web Content Server

Client   Hotspot  

Client  

Client  

Web  Server  

Hotspot  

Request  

Request  

Creden*als  

-­‐  Login  page  can  be  comprised  of  many  large  elements  

   -­‐  Login  page  can  change  content    

Page 22: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Case Study Hotspot External Server

Page 23: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Random Password

Random password for each device when connect to network

Page 24: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Survey

When customers connect to the network they will do the survey

Page 25: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Interactive Game

Page 26: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

Interactive Game

Page 27: MIKROTIK HOTSPOT EXTERNAL SERVER HOTSPOT EXTERNAL SERVER Mikrotik User Meeting Vietnam, April 21, 2017 Nguyen Quoc Huy ... Step 1: Definition hotspot Step 2: Change hotspot settings

THANKS FOR LISTENING

JVPE Building, Street No.2, Quang Trung Software City, Dist. 12, HCMC, Viet Nam Tel: (+84)8 37155700 HP: (+84) 909 429 323 Email: [email protected] Website: wisky.vn