Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Mikrotik Like Facebook social page to get wireless access

Hello everybody and I hope you are doing well,
Recently I have been tasked by my Branch`s CTO to create a Mikrotik filtering.
What i basically have to do is create a pre-wireless access subinterface which will force customers and end users to get redirected to the Facebook social site first and like the page to get access to the AP.
I have been digging the web for any solutions but have found none so far.
I have asked a couple Networking Administrators and they have told me to Configure the Mikrotik Hotspot,include a Radius option into it,program a HTML+Javascript web,but as I am not into programming but Networking only I cannot do it.

Does anyone have any suggestions? Or even better,has anyone come through that and found a solution?

Thank You in advance!!! 🎉 👍
Portal page that redirected you by dns/redirect may be what you thinking about
i do know of a few routers that have portal page but i dont know if you can eddit the page but once on your routed you control the dns so i dont see how it be a issue

something like this
[img]http://boxnet.servehttp.com/cap/pix/portal.jpg[/img]

afterthought.... this my not work at all as you have to Give Net access to allow the subject to access your FB page to LIKE it to begin whit ... witch bypassed your get me likes BS
i guess some locking to singles address/link my be possible but im not sure
(Jun 14, 2018 01:26 PM)pasnger57 Wrote:  Portal page that redirected you by dns/redirect may be what you thinking about
i do know of a few routers that have portal page but i dont know if you can eddit the page but once on your routed you control the dns so i dont see how it be a issue

something like this
[img]http://boxnet.servehttp.com/cap/pix/portal.jpg[/img]

afterthought....  this my not work at all as you have to Give Net access to allow the subject to access your FB page to LIKE it to begin whit ... witch bypassed your get me likes BS
i guess some locking to singles address/link my be possible but im not sure

So basically this is like a welcome screen which automatically redirects you to a certain page which in this scenario is google.
I will have a look at Mikrotik to find this option but am not sure If It actually supports this option.
Thanks In advance!!
(Jun 15, 2018 06:21 AM)ShockWave_01 Wrote:  So basically this is like a welcome screen which automatically redirects you to a certain page which in this scenario is google.
I will have a look at Mikrotik to find this option but  am not sure If It actually supports this option.
Thanks In advance!!

Along with other examples in the wiki, MikroTik says some models support this (hotspots): hxxps : wiki.mikrotik.com/wiki/Manual:Customizing_Hotspot

Effectively, the web server does not need to be on the MikroTik device, but you do need to have a way to pass initial sessions to the portal without redirecting all new sessions to the portal. Many times this will be done using something like squid where you can control the 'state' of a connected machine.

If you have the ability to tag or whitelist traffic (and build automation around such), then you may be able to redirect all non-whitelisted IPs on your guest network to a web server which then sends Ips that have visited it back to the mikrotik device for whitelisting.

Ultimately, this will be nowhere near as nice as a squid captive portal (because it means you have to account for session timeouts, etc) If you have a model with built-in controls (such as what they have regarding hotspot/walled garden approach: hxxps : www[.]mikrotik.com.my/hotspot-server-with-captive-portal-and-walled-garden/) then it will be much easier. Also check integration/accessory section: hxxps : mikrotik.com/mfm?mfm_category=3

other materials around squid MAC/IP, os captive portals, etc, if you're open to other options (such as diverting all traffic to a proxy for handling, etc);
hxxps : wiki.squid-cache.org/Features/Redirectors
hxxps : packetfence.org/


Possibly Related Threads...
Thread / Author Replies Views Last Post
by PrinterFeb 4, 2024 09:42 PM 2 173 Feb 4, 2024 09:42 PM
Last Post: DramaKing
by sickhippxJan 9, 2021 05:09 PM 9 520 Jan 9, 2021 05:09 PM
Last Post: FrostyHerb
by Juandaniel2471Jan 29, 2020 06:53 AM 1 386 Jan 29, 2020 06:53 AM
Last Post: WillyT1998