Cannot redirect to authentication page ?
-
cannot redirect to authentication page.
how to troubleshooting?
-
http and https are also no work..
-
Hi all,
Same problem here.
Captive Portal doesn't work on OPT* interfaces (unless I call http://<pfsenseip>:8000 )
It only works on LAN interface.
Tried to re-install PfSense from scratch.
Basic config, DNS forwarding enabled (tried Axscode idea http://forum.pfsense.org/index.php/topic,21030.msg113020.html#msg113020), no captive portal activity, no errors in system logs, pfSense 1.2.3.
Please, notice that OPT Interfaces are 802.1q (vlan) interfaces. The LAN ethernet interface is split into several OPT 802.1q interfaces.
Some mates are sucessfull doing Captive Portal on dedicated ethernet interface.How to solve it ? to debug it ? Is it a known bug ?
Thanks,Here is the XML config file:
<pfsense><version>3.0</version>
<lastchange><theme>nervecenter</theme>
<system><optimization>normal</optimization>
<hostname>toto</hostname>
<domain>titi.fr</domain>
<username>admin</username>
<password>toto</password>
<timezone>Europe/Paris</timezone>
<time-update-interval><timeservers>toto.titi.fr</timeservers>
<webgui><protocol>http</protocol></webgui>
<disablenatreflection>yes</disablenatreflection>
<dnsserver>1.2.3.4</dnsserver>
<dnsserver>5.6.7.8</dnsserver>
<dnsallowoverride></dnsallowoverride></time-update-interval></system>
<interfaces><lan><if>bge0</if>
<ipaddr>192.168.1.1</ipaddr>
<subnet>24</subnet>
<media><mediaopt><bandwidth>100</bandwidth>
<bandwidthtype>Mb</bandwidthtype></mediaopt></media></lan>
<wan><if>bge1</if>
<mtu><ipaddr>1.1.1.1</ipaddr>
<subnet>24</subnet>
<gateway>1.1.1.2</gateway>
<blockpriv>on</blockpriv>
<blockbogons>on</blockbogons>
<disableftpproxy><dhcphostname><media><mediaopt><bandwidth>100</bandwidth>
<bandwidthtype>Mb</bandwidthtype>
<spoofmac></spoofmac></mediaopt></media></dhcphostname></disableftpproxy></mtu></wan>
<opt1><if>vlan0</if>
<descr>OPT1</descr>
<bridge><enable><ipaddr>192.168.2.1</ipaddr>
<subnet>24</subnet>
<gateway><spoofmac></spoofmac></gateway></enable></bridge></opt1>
<opt2><if>vlan1</if>
<descr>OPT2</descr>
<bridge><enable><ipaddr>192.168.3.1</ipaddr>
<subnet>24</subnet>
<gateway><spoofmac></spoofmac></gateway></enable></bridge></opt2></interfaces>
<staticroutes><pppoe><username><password></password></username></pppoe>
<pptp><username><password><local></local></password></username></pptp>
<bigpond><username><password><authserver><authdomain><minheartbeatinterval></minheartbeatinterval></authdomain></authserver></password></username></bigpond>
<dyndns><type>dyndns</type>
<username><password></password></username></dyndns>
<dhcpd><lan><enable><range><from>192.168.1.10</from>
<to>192.168.1.245</to></range></enable></lan>
<opt1><range><from>192.168.2.10</from>
<to>192.168.2.20</to></range>
<defaultleasetime><maxleasetime><netmask><failover_peerip><gateway><enable><ddnsdomain><next-server><filename></filename></next-server></ddnsdomain></enable></gateway></failover_peerip></netmask></maxleasetime></defaultleasetime></opt1>
<opt2><range><from>192.168.3.10</from>
<to>192.168.3.20</to></range>
<defaultleasetime><maxleasetime><netmask><failover_peerip><gateway><enable><ddnsdomain><next-server><filename></filename></next-server></ddnsdomain></enable></gateway></failover_peerip></netmask></maxleasetime></defaultleasetime></opt2></dhcpd>
<pptpd><mode><redir><localip></localip></redir></mode></pptpd>
<ovpn><dnsmasq><enable></enable></dnsmasq>
<snmpd><syslocation><syscontact><rocommunity>public</rocommunity></syscontact></syslocation></snmpd>
<diag><ipv6nat><ipaddr></ipaddr></ipv6nat></diag>
<bridge><syslog><nat><ipsecpassthru><enable></enable></ipsecpassthru></nat>
<filter><rule><type>pass</type>
<interface>opt2</interface>
<max-src-nodes><max-src-states><statetimeout><statetype>keep state</statetype>
<os><source>
<network>opt2</network><destination><any></any></destination></os></statetimeout></max-src-states></max-src-nodes></rule>
<rule><type>pass</type>
<interface>opt1</interface>
<max-src-nodes><max-src-states><statetimeout><statetype>keep state</statetype>
<os><source>
<network>opt1</network><destination><any></any></destination></os></statetimeout></max-src-states></max-src-nodes></rule>
<rule><type>pass</type>
<descr>Default LAN -> any</descr>
<interface>lan</interface>
<source>
<network>lan</network><destination><any></any></destination></rule></filter>
<shaper><ipsec><preferredoldsa></preferredoldsa></ipsec>
<aliases><proxyarp><cron><minute>0</minute>
<hour></hour>
<mday></mday>
<month></month>
<wday></wday>
<who>root</who>
<command></command>/usr/bin/nice -n20 newsyslog
<minute>1,31</minute>
<hour>0-5</hour>
<mday></mday>
<month></month>
<wday></wday>
<who>root</who>
<command></command>/usr/bin/nice -n20 adjkerntz -a
<minute>1</minute>
<hour>3</hour>
<mday>1</mday>
<month></month>
<wday></wday>
<who>root</who>
<command></command>/usr/bin/nice -n20 /etc/rc.update_bogons.sh
<minute>/60</minute>
<hour></hour>
<mday></mday>
<month></month>
<wday></wday>
<who>root</who>
<command></command>/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 sshlockout
<minute>1</minute>
<hour>1</hour>
<mday></mday>
<month></month>
<wday></wday>
<who>root</who>
<command></command>/usr/bin/nice -n20 /etc/rc.dyndns.update
<minute>/60</minute>
<hour></hour>
<mday></mday>
<month></month>
<wday></wday>
<who>root</who>
<command></command>/usr/bin/nice -n20 /usr/local/sbin/expiretable -v -t 3600 virusprot
<minute>/5</minute>
<hour></hour>
<mday></mday>
<month></month>
<wday></wday>
<who>root</who>
<command></command>/usr/local/bin/checkreload.sh
<minute>/5</minute>
<hour></hour>
<mday></mday>
<month></month>
<wday></wday>
<who>root</who>
<command></command>/etc/ping_hosts.sh
<minute>/140</minute>
<hour></hour>
<mday></mday>
<month></month>
<wday>*</wday>
<who>root</who>
<command></command>/usr/local/sbin/reset_slbd.sh</cron>
<wol><installedpackages><vlans><vlan><if>bge0</if>
<tag>106</tag></vlan>
<vlan><if>bge0</if>
<tag>125</tag></vlan></vlans>
<revision><description>/services_captiveportal.php made unknown change</description>
<time>1264499512</time></revision>
<rrd><enable></enable></rrd>
<captiveportal><page><timeout>60</timeout>
<interface>opt1</interface>
<maxproc></maxproc>
<idletimeout><auth_method>none</auth_method>
<reauthenticateacct><httpsname><bwdefaultdn><bwdefaultup><certificate><private-key><redirurl><radiusip><radiusip2><radiusport><radiusport2><radiusacctport><radiuskey><radiuskey2><radiusvendor>default</radiusvendor>
<enable></enable></radiuskey2></radiuskey></radiusacctport></radiusport2></radiusport></radiusip2></radiusip></redirurl></private-key></certificate></bwdefaultup></bwdefaultdn></httpsname></reauthenticateacct></idletimeout></page></captiveportal></installedpackages></wol></proxyarp></aliases></shaper></syslog></bridge></ovpn></staticroutes></lastchange></pfsense></pfsenseip> -
Same problem here.
Captive Portal doesn't work on OPT* interfaces (unless I call http://<pfsenseip>:8000 )
It only works on LAN interface.</pfsenseip>See http://doc.pfsense.org/index.php/Captive_Portal_and_VLANs