This is the most intresting part. Now a days Public Wifi Hotspot is gaining popularity. Although it is very intresting there is much more complexity inside,
As you believe, neuCRM has the solution for all above.
On neuCRM,
We hope, neuCRM will greatly assist you to improve your WiFi Hotspot Business.
myaccount.yourdomain.com
. Please Refer Configuration Section of this document for how to configure domain name.hotspot_default_subplanid
parameter to your newly created Plan's SubPlan ID. Please note that it is SubPlan ID, Not Plan ID. myaccount.yourdomain.com
, and any other if required. Ensure you have fullfiled the all above Requirements, then proceed to set up WiFi-Hotspot service.
masquerade
rule in firewall. So that Hotspot cliets are allowed to access Internet /ip firewall nat add action=masquerade chain=srcnat comment="masquerade hotspot network" \ src-address=10.1.3.0/24
Here in above example the subnet 10.1.3.0/24 is my DHCP pool for Hotspot Clients
hotspot
directory into Mikrotik Router.config.json
file, which is available in root(/) directory of the downloaded mikrotik-hotspot.zip. The main purpose the config.json
to automatically embed the ISP ID and Reseller ID in the Self-Registration URL : http://portal.mydomain.com/user/signup
. config.json
file will be in the following format. Please Carefully edit this file.
{ "portal_base_url": "http://portal.mydomain.com:8080", "logo_path" : "logo.png", "ispid" : 2, "resellerid" : 1, "location_code" : "LOC1", "sub_location_code" : "SLOC1" }
Please note that, after editing the config.json file, the contents should be valid JSON format. Other wise it won't work.
Here portal_base_url and logo_path fields are mandatoty. location_code and sub_location_code are optional. If you configure location fields, while customer self-registration it won't be asked.
With help of this json file, signup URL will be generated dynamically as in the format of http://portal.mydomain.com/user/signup/{ispid}/{resellerid}/{location_code}/{sub_location_code}
. For example, the URL generated in above case is http://portal.mydomain.com/user/signup/2/1/LOC1/SLOC1
. This is to identify the user, to create account under which ISP and Franchisee. You can use above URL structure in your Websites, Social media to invite the customer to do Self registration.
That's all, your WiFi-Hotspot service is ready now.