Community discussions

MikroTik App
 
User avatar
r0berts
newbie
Topic Author
Posts: 49
Joined: Mon Jul 30, 2018 3:29 pm

Walled garden for one computer.

Mon Jul 30, 2018 4:22 pm

Hi there,

I am fairly experienced with Linux, but less so with routing and routerOS. I bought hAPl and I do need some advice. Image.

I want to set up a system that reliably provides access to a survey served from a laptop to anyone who connects to the WiFi provided by hAP.

I have configured the laptop; it runs the webserver, hostname is set in /etc/hosts as 192.168.88.2 lime.lab.3 lime
Dnsmasq picks this up nicely.

I want to connect hAP to the laptop via cable to eth port 1 so that it is getting dns and dhcp settings from the laptop. Then everyone who connects to WiFi provided by hAP should be redirected to http://lime.lab.3 - there apache would serve the landing page pointing to the survey at http://lime.lab.3/lime/surveyID
Initially I tried to set everything up with dnsmasq and hostapd just form the laptop, but I understood that it would be better to use MikroTIK access point as that may be more reliable.
Could anyone comment if this setup is feasible and if I am on the right track?
Presently I think what I should do with the router is to
[*] set up wifi - preferably without authentication (network only used for very short time to collect feedback after teaching)
[*] set up hotspot as walled garden only allowing access to http://lime.lab.3
[*] probably to set up also https service with a self-signed certificate

Does this seem feasible? Anything I should consider?

Paldies, Roberts
 
User avatar
reidavidinho
Frequent Visitor
Frequent Visitor
Posts: 80
Joined: Mon Jul 25, 2016 11:11 am
Location: Ibadan, Nigeria
Contact:

Re: Walled garden for one computer.

Tue Jul 31, 2018 10:53 am

You're on the right track
 
User avatar
r0berts
newbie
Topic Author
Posts: 49
Joined: Mon Jul 30, 2018 3:29 pm

Re: Walled garden for one computer.

Tue Jul 31, 2018 9:44 pm

Thanks for the encouragement. Are there ways how to smoothly get around connection detectors on android and ios? Can I perhaps put relevant links on my webserver and if so - how?