News
:
This forum is now permanently frozen.
m0n0wall Forum
>
m0n0wall Support (English)
>
Services
>
Captive Portal
Topic: Captive portal with vouchers not blocking
Pages: [
1
]
Topic: Captive portal with vouchers not blocking (Read 999 times)
Captive portal with vouchers not blocking
« on: September 22, 2014, 01:34:45 »
suiciety
Posts: 3
I've configured m0n0wall 1.8.1 using vouchers with the captive portal and have uploaded a custom webpage with only the voucher code field for guest access however I have found that anyone can just click the continue button without entering a code and get through.
The users appear as unauthenticated but can still access the network and are still transferring data.
I couldn't find if this was a bug or if I need to add another configuration parameter?
Cheers
m0n0wall1.JPG
(22.05 KB, 661x153 - viewed 226 times.)
m0n0wall2.JPG
(55.18 KB, 589x327 - viewed 184 times.)
Re: Captive portal with vouchers not blocking
« Reply #1 on: September 22, 2014, 02:18:47 »
suiciety
Posts: 3
I've added JavaScript form validation to the portal HTML to check for a blank field but this will only stop modern devices with JavaScript.
Could it be that the case when RADIUS is set to No and Vouchers are yes that the catchall is being skipped?
The log shows the connections being accepted.
monowall3.JPG
(31.61 KB, 488x141 - viewed 142 times.)
Re: Captive portal with vouchers not blocking
« Reply #2 on: September 22, 2014, 21:44:32 »
Lee Sharp
Posts: 517
What is your authentication on the captive portal tab? It should be local users, not "No Auth."
Re: Captive portal with vouchers not blocking
« Reply #3 on: September 23, 2014, 00:42:29 »
suiciety
Posts: 3
Yes, Set to No authentication.
No other options on the captive portal page are set except a 60 minute idle timeout, 480 minute hard timeout and the 'Enable logout popup window'
mono4.JPG
(37.6 KB, 588x345 - viewed 153 times.)
Re: Captive portal with vouchers not blocking
« Reply #4 on: September 26, 2014, 20:08:42 »
Lee Sharp
Posts: 517
With "No Authentication" there is (wait for it) no authentication.
Try "Local User."
Pages: [
1
]