sinet.com.kh

Wednesday, July 20, 2016

Mikrotik Router: HotSpot Configuration

IP (Menu) > Hotspot > Servers (Tab) > Hotspot Setup
        Hotspot Interface: ether5-Hotspot (Choose an Interface) > Next
        Local Address of Network: 10.5.50.1/24 (Tick) Masquerade Network > Next
        Select Certificate: none > Next
        IP Address of SMTP Server: 0.0.0.0  > Next
        DNS Servers:  203.217.168.27 > Next
                                  203.217.168.36
        DNS Name: login.hotsport.com (DNS Local Name for Hotspot Server) > Next
        Name of Local HotSpot User: admin > Next      
                    Password for the User: pwd123

2. Create Profile

    /ip hotspot user profile
    add address-pool=hs-pool-5 name=uprof_5M rate-limit=5M/5M shared-users=7 transparent-proxy=yes
    add address-pool=hs-pool-5 name=uprof_10M rate-limit=10M/10M shared-users=10 transparent-proxy=yes

3. Create User 

    /ip hotspot user
    add name=admin password=pwd123
    add name=user1 password=123 profile=uprof_5M server=hotspot1
    add name=user2 password=123 profile=uprof_5M server=hotspot1
    add name=user3 password=123 profile=uprof_5M server=hotspot1
    add name=user4 password=123 profile=uprof_10M server=hotspot1
    add name=user5 password=123 profile=uprof_5M server=hotspot1
    add name=user6 password=123 profile=uprof_5M server=hotspot1
    add name=user7 password=123 profile=uprof_5M server=hotspot1

4. Walled Garden (To allow opening websites without fill User Name and Password)

    /ip hotspot walled-garden
    add dst-host=www.facebook.com server=hotspot1 src-address=10.5.50.0/24
    add dst-host=www.youtube.com server=hotspot1 src-address=10.5.50.0/24
    add dst-host=www.google.com server=hotspot1 src-address=10.5.50.0/24

5. IP Bindings (To allow clients use the Internet without User Name and Password)

    /ip hotspot ip-binding
    add mac-address=01:A0:D5:7E:15:FA server=hotspot1 type=bypassed
    add address=10.5.50.167 server=hotspot1 type=bypassed
    add address=10.5.50.168 server=hotspot1 type=bypassed
    add address=10.5.50.100 server=hotspot1 to-address=10.5.50.110 type=bypassed

6. Hosts (To check clients connected to HotSpot)

7. Active (To check authorized HotSpot clients)

 

No comments:

Post a Comment