hotspot server

Upload: lingkaran

Post on 08-Aug-2018

228 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/22/2019 Hotspot Server

    1/8

    Hotspot server setup 1

    Hotspot server setup

    Hotspot Server Setup with Profiles

    In this article i will cover how to setup HOTSPOT Server with different profiles.

    First we will configure interface that is connected to WAN.

    / ip address add address=192.168.1.5/24 network=192.168.1.0 broadcast=192.168.1.255 interface=ether1

    Now one interface is configured and connected to WAN (with ip 192.168.1.5/24). Now we will configure second

    interface for our Local Network.

    / ip address add address=10.10.0.1/24 network=10.10.0.0 broadcast=10.10.0.255 interface=ether2

    Now we have both our interfaces configured and working. Next we will setup our Mikrotik ROS as a DNS Server as

    it is a very good practice for setting up a DNS server. Goto IP > DNS then press Settings button and fill in the

    appropriate information as per provided by your ISP, when done select the "ALLOW REMOTE REQUEST" line (it

    will allow requests from your cleints to be processed).

    http://wiki.mikrotik.com/index.php?title=File:Dns-setup.JPG
  • 8/22/2019 Hotspot Server

    2/8

    Hotspot server setup 2

    Now we will setup a default ROUTE. Goto IP > Routes, press the plus sign. Leave the destination field as it is, in the

    GATEWAY field enter the IP Address of the GATEWAY of you WAN interface.

    Now we will setup our HOTSPOT Server. Goto IP > Hotspot, in the server tab you will see a button "Hotspot Setup"

    press it. A new window will popup asking you on which interface you want to setup HOTSPOT, here select the

    interface that is connected to local network (in our example it is ether2). Press NEXT.

    http://wiki.mikrotik.com/index.php?title=File:Hotspot-1.JPGhttp://wiki.mikrotik.com/index.php?title=File:Route.JPG
  • 8/22/2019 Hotspot Server

    3/8

    Hotspot server setup 3

    In step 2 it will ask you the IP of the server, by default it will detect the IP which is set on the interface that we

    selected in step 1. Just press NEXT

    In step 3 it will ask you the IP range that will be used by the DHCP server for providing IP's to clients. Here you can

    modify the IP range, make sure that it should be acceptable by SERVER. You can increase and decrease the length

    of the IP range. When done press NEXT

    In step 4 it will ask you to select any certificate that will be used by the server. Select NONE and press NEXT.

    In step 5 it will as you to define the SMTP Server, if you have any. I dont have any SMTP Server setup with me so i

    just left it as it was (0.0.0.0). Press NEXT.

    http://wiki.mikrotik.com/index.php?title=File:Hotspot-5.JPGhttp://wiki.mikrotik.com/index.php?title=File:Hotspot-4.JPG
  • 8/22/2019 Hotspot Server

    4/8

    Hotspot server setup 4

    In step 6 it will as you your DNS Server's IP Address. This was the first task that we finished. So Here no need to

    change any thing. Just PRESS NEXT.

    In step 7 it will as you to define a name your server, by which clients will be able to access the HOTSPOT

    login/information page through web browsers. Setup what ever you want and press NEXT.

    Now the last step. To create a user. By default it creates a user admin with no password. Here you can set the

    password and user name for the default user. Change the values if you want and press NEXT.

    http://wiki.mikrotik.com/index.php?title=File:Hotspot-8.JPGhttp://wiki.mikrotik.com/index.php?title=File:Hotspot-7.JPG
  • 8/22/2019 Hotspot Server

    5/8

    Hotspot server setup 5

    Your Hotspot server is ready and configured. Now if you recieve a message saying Router Disconnected, dont worry

    its just the security of HOTSPOT. First login to the HOTSPOT with user name and password that you created in

    STEP 8. Now again open the WINBOX and again goto IP > Hotspot.

    Now we will do some changes in the default settings to make our HOTSPOT work in a better way.

    In the Server TAB you will now see a server will be showing up by the name "hotspot1", double click it and change

    the value "Address per MAC" to 1, for more security.

    You will see a LOGIN tab in the same window, and make sure that only "HTTP CHAP" is selected in the Login By

    section. Now APPLY and OK.

    http://wiki.mikrotik.com/index.php?title=File:Hotspot-profile2.JPGhttp://wiki.mikrotik.com/index.php?title=File:Hotspot-profile1.JPG
  • 8/22/2019 Hotspot Server

    6/8

    Hotspot server setup 6

    Now we will create a new User Profile. Goto User Profile TAB, press the Plus Sign, name it what ever you want.

    Select the IP Pool, hotspot creates a pool by default with the IP Range that we set during the HOTSPOT Server

    Setup. Now we will set the Download and Upload Bandwidth restriction. in the Rate Limit (tx/rx) set the limit (i

    have set it to 512k up/down). Now press APPLY and OK.

    Now we will create a new user that will use the profile that we just created. Goto Users TAB in the same window.

    Press the plus sign, Select the specific server or Select ALL. Set the User Name and Password for the user. In the

    Profile Filed select the profile that we created in the previous step. Press APPLY and OK.

    http://wiki.mikrotik.com/index.php?title=File:User-add1.JPGhttp://wiki.mikrotik.com/index.php?title=File:User-profile1.JPG
  • 8/22/2019 Hotspot Server

    7/8

    Hotspot server setup 7

    CONGRATULATIONS!!!!

    Your HOTSPOT Server is configured and running. Now test it.

    Article by Mudasir Mirza

  • 8/22/2019 Hotspot Server

    8/8

    Article Sources and Contributors 8

    Article Sources and ContributorsHotspot server setup Source: http://wiki.mikrotik.com/index.php?oldid=7622 Contributors: Mudasir

    Image Sources, Licenses and ContributorsImage:dns-setup.JPG Source: http://wiki.mikrotik.com/index.php?title=File:Dns-setup.JPG License: unknown Contributors: Mudasir

    Image:route.JPG Source: http://wiki.mikrotik.com/index.php?title=File:Route.JPG License: unknown Contributors: Mudasir

    Image:hotspot-1.JPG Source: http://wiki.mikrotik.com/index.php?title=File:Hotspot-1.JPG License: unknown Contributors: Mudasir

    Image:hotspot-4.JPG Source: http://wiki.mikrotik.com/index.php?title=File:Hotspot-4.JPG License: unknown Contributors: Mudasir

    Image:hotspot-5.JPG Source: http://wiki.mikrotik.com/index.php?title=File:Hotspot-5.JPG License: unknown Contributors: Mudasir

    Image:hotspot-7.JPG Source: http://wiki.mikrotik.com/index.php?title=File:Hotspot-7.JPG License: unknown Contributors: Mudasir

    Image:hotspot-8.JPG Source: http://wiki.mikrotik.com/index.php?title=File:Hotspot-8.JPG License: unknown Contributors: Mudasir

    Image:Hotspot-profile1.JPG Source: http://wiki.mikrotik.com/index.php?title=File:Hotspot-profile1.JPG License: unknown Contributors: Mudasir

    Image:Hotspot-profile2.JPG Source: http://wiki.mikrotik.com/index.php?title=File:Hotspot-profile2.JPG License: unknown Contributors: Mudasir

    Image:User-profile1.JPG Source: http://wiki.mikrotik.com/index.php?title=File:User-profile1.JPG License: unknown Contributors: Mudasir

    Image:user-add1.JPG Source: http://wiki.mikrotik.com/index.php?title=File:User-add1.JPG License: unknown Contributors: Mudasir