1
19.7 Legacy Series / Re: Captive Portal not allowing Internet Access
« on: September 13, 2019, 05:47:04 am »
Thanks for the quick turn-around on the patch!
I can confirm that this fixed the issue, just wrapped up some verification testing on my 19.7.4 setup:
I also noted the difference in the "ipfw table all list" output pre- and post-patch, confirming that that looks more correct now with the table entries per IP now pointing to a relevant ipfw rule number.
Pre-patch:
Patched:
P.S. While we're talking about the Captive Portal feature, I've been meaning to submit a patch or make a small request for awhile now: could the portal login page be fixed in the default template where the Enter key would work as a submit action? This works for the main OPNsense admin login screen, but not for the portal login screen. It would let users more quickly submit the form instead of mousing around to click the Login button. I think we're just missing type="submit" in the login button tag?
I can confirm that this fixed the issue, just wrapped up some verification testing on my 19.7.4 setup:
- I re-enabled Captive Portal and confirmed things were broken again, before patching
- Applied the patch via opnsense-patch
- Rebooted, and then confirmed clients were able to authenticate and get to the Internet
I also noted the difference in the "ipfw table all list" output pre- and post-patch, confirming that that looks more correct now with the table entries per IP now pointing to a relevant ipfw rule number.
Pre-patch:
Code: [Select]
# ipfw table all list
--- table(0), set(0) ---
192.168.12.10/32 0
192.168.12.20/32 0
192.168.12.100/32 0
192.168.12.120/32 0
Patched:
Code: [Select]
# ipfw table all list
--- table(0), set(0) ---
192.168.12.10/32 30002
192.168.12.20/32 30001
192.168.12.100/32 30003
192.168.12.120/32 30000
P.S. While we're talking about the Captive Portal feature, I've been meaning to submit a patch or make a small request for awhile now: could the portal login page be fixed in the default template where the Enter key would work as a submit action? This works for the main OPNsense admin login screen, but not for the portal login screen. It would let users more quickly submit the form instead of mousing around to click the Login button. I think we're just missing type="submit" in the login button tag?