Custom Captive Portal maybe html code help?
fattony418 last edited by
I have my Captive Portal up and running. Before i added the HTML file it worked just fine. Now when the user name and password are entered I am redirected to google without internet. When i am forced to refresh i am just given the captive portal page again. This may be a problem with my code but i am not sure. I am pretty new to pfsense and chose it specifically to run on a server for class. Here is the code just in case this may be what is holding mg back.
<form method="post" action="https://www.google.com" onsubmit="return CheckBoxesValidations() ;"> <center> <center> ![logo](./index1_files/captiveportal-pokemon.gif) </center> **CNS Captive Pokemon Portal** | <center> <center> <center> <center> | <center>Welcome to the one and only Captive Pokemon Portal Network!</center> | | <center>Use the pokemon you have Captured to gain access.</center> | | | | Pokemon: | | | Password: | | | | | | | | | | | | | | | | Accept </center> | </center> </center> | </center> | </center> </form>
here are the portal auth logs that i received
Nov 14 18:34:29 logportalauth: Restarting captive portal.
as well as the system logs
Nov 14 18:34:22 syslogd: kernel boot file is /boot/kernel/kernel
Nov 14 18:34:29 check_reload_status: Syncing firewall
Nov 14 18:34:29 kernel: ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based forwarding enabled, default to accept, logging disabled
Nov 14 18:34:31 check_reload_status: Reloading filter
Nov 14 18:36:08 check_reload_status: Syncing firewall
Nov 14 18:36:08 check_reload_status: Reloading filter
Nov 14 18:36:08 kernel: IP firewall unloaded
sherca last edited by
already I think the action for the form is not correct. It should be : action="$PORTAL_ACTION$"