|
Post by cmutwiwa on Oct 31, 2015 11:05:38 GMT
Hi,
I need to deploy captive portal for a hotel...for their guests, they need to advertise their services on the login page, will this be possible?
|
|
|
Post by Lee Sharp on Oct 31, 2015 12:15:56 GMT
Easily. Done it many times. If they are a flag hotel, they will have a sample login page in a few formats. Nomadix is the easiest to modify. You will then need to make it flat (All elements in one directory) and you will need to change the code to be SmallWall compatible. The "stock" captive portal is downloadable to see some clean code. Also, the needed posts and gets are on the actual captive portal page. The "file manager" tab is where you upload the .css and images, and embedded text pages.
Note that I would love some sample Captive Portal pages, so if you want to share, you will get attribution, and fame among the multitudes!
|
|
|
Post by bittwiddler on May 2, 2019 23:43:25 GMT
Yeah, this is an old thread but I have a need for a captive portal and this is my first go at it with Smallwall.
According to the m0n0wall docs the login page can be hosted on m0n0wall - or Smallwall in this case. Is that correct or do I need to redirect to another web server? I would really like to run a Radius server but I need to research that a bit more.
|
|
|
Post by Lee Sharp on May 3, 2019 0:16:23 GMT
No you can have the login page on the firewall as well as some other files, or host the images elsewhere you you allow that destination IP address.
Radius will need it's own server and is non-trivial.
|
|
|
Post by bittwiddler on May 3, 2019 17:05:38 GMT
[snippy-snip] Radius will need it's own server and is non-trivial. That is what I feared. I really need some kind of accounting to keep track of network usage per account - as well as to set expiry on access. Otherwise I would just use the locally managed users. I will look and see if there are any pre-configured Docker images with FreeRadius or similar.
|
|
|
Post by Lee Sharp on May 3, 2019 22:41:58 GMT
Let me know if you find one you like.
|
|
|
Post by bittwiddler on May 6, 2019 20:32:30 GMT
I will. I will likely write up the experience so others need not blaze a new trail.
|
|