• Captive Portal as login gateway

    2
    0 Votes
    2 Posts
    2k Views
    E
    Reverse portal functionality is not implemented. Also the sms workflow needs development to be integrated in pfSense since there is no tool today to send sms from CP itself.
  • Captive Portal Login Button Doesn't Work

    5
    0 Votes
    5 Posts
    2k Views
    S
    I found the problem, I was using the default login page for the pfsense. The problem is that if you use the default login page, the method and post attributes of login form are marked as comment in html e.g . I removed the comment from the tag, now it is working fine.
  • CP on Two Interfaces, but authenticate only once?

    8
    0 Votes
    8 Posts
    2k Views
    L
    I do actually store a couple cookies on the users device when they come through the portal.  As my portal asks for their name, postcode and email as they passthrough, I store these in a cookie so when they return another day, the form is already populated with their details and a message "are these details correct" is shown.  I could use these cookies to see if the user had been logged though already based on the cookies timestamp. Still not had chance to have a play yet.
  • Redrirect appliance wifi to captiveportal

    5
    0 Votes
    5 Posts
    3k Views
    D
    the AP are connected in layer2 to its controller in network 192.168.1.x Only the controller (appliance) have an ip address 192.168.1.10, all the AP haven't ip because they operate in layer2 with the controller. My pfsense server have the wan on 192.168.2.x, both the Vlan (192.168.2.x and 192.168.1.x) are routing and managed by a layer3 switch. My pfsense server have the lan on 192.168.100.x and it is the DHCP for that lan. When I connect smartphone/laptop to the wifi-guest vlan(192.168.2.x) the device obtain the correct configuration by the dhcp server of pfsense (192.168.100.x) but when i try to navigate the browser report "timeout". When I connect laptop to the wifi-guest vlan with the cable the device obtain the correct configuration by the dhcp server of pfsense (192.168.100.x) and when I try to navigate the browser go to the captive portal page, I insert the voucher and the session start correctly So, the problem is certainly due to the controller but I do not understand what's wrong, on the controller I activated a external captive portal and I insert 192.168.100.1 and 192.168.2.1 (the lan and wan ip of pfsense) but still not work. ok guys, I resolved myself the problem. In controller setup I change the network class and now works!!!!!!!! :) I still have another little problem, when open the browser you are redirect on captive portal login page, but if your default browser's page is httpS:\xxx the browser don't redirect automatically, but if you enter an http://xxx web site the redirect works again. anyone has any suggestions?
  • How to turn on Captive portal?

    4
    0 Votes
    4 Posts
    1k Views
    T
    Check this blogpost out. The blog got other nice pfsense posts about captiveportal and openvpn as well. http://blog.stefcho.eu/?p=754
  • Strange looking captive zones

    8
    0 Votes
    8 Posts
    2k Views
    N
    Well, managed to upgrade the master node to 2.1 too. So both nodes are running on 2.1. Voucher synchronization still not working - after I fill Voucher database IP, sync port, username, password and click Save, no error is shown, no synchronization is done and the "Voucher database synchronization" fileds are empty. Also I see Zones in Captiveportal, but haven't seen where I can fill the zone name?
  • How to modify the MySql database on pfSense ?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    E
    I managed to install phpMyAdmin on pfSense so its K. If anyone else is trying to do the same thing PM me, I can explain the steps.
  • No login necessary this weekend

    3
    0 Votes
    3 Posts
    1k Views
    F
    Thanks… I somehow didn't see it. I set that portal up a year ago and never change anything there. Did the change remotely, so I didn't see the result, but it's probably fine. I already had the /22 network as trusted as a workaround, but reverted that setting.
  • Interface(opt3) does not redirect to portal

    5
    0 Votes
    5 Posts
    3k Views
    T
    @nothing: Just add your DNS servers to "allowed ip addresses" in captive settings. I can confirm that this is probably the problem. /erik
  • Captive Portal with external certificate

    7
    0 Votes
    7 Posts
    6k Views
    M
    No worries, sorry my explanations might not have been the clearest. Glad you got it working. Send me a pm if you have any problems, just starting to learn server 2012 myself for work.
  • No Redirection to captive portal

    4
    0 Votes
    4 Posts
    2k Views
    N
    Maybe you are using external DNS, which you should add to "Allowed IP addresses" in Captive settings? Try browsing any IP address instead of hostname - 1.1.1.1 for example.
  • Traffic request port question.

    5
    0 Votes
    5 Posts
    2k Views
    E
    You have to change the ipfw fwd line as it was back in 2.0 or 1.2.x days to redirect everything.
  • Problem Captive Portal with Repeater

    6
    0 Votes
    6 Posts
    3k Views
    GertjanG
    H'm, still having troubles understanding the problem. Let me get this straight: You connect yourself with a PC to repeater1 - you use the voucher and it works. Now, you move on to the next repeater, call it repeater2, and you have to re-authenticate again, with a new voucher. Is that right ? Can you tell me what your IP was when you connected yourself to the portal when you were using repeater1 ? What is your IP when you use repeater2 ? Btw: normally, to make things simple to work with, you have some work to do. Behind the Portal-interface-NIC, you hook up a switch. On this switch, you hook up - by cable - all your wifi access points, and theses boxes should work in AP (Access Point) mode. These AP's should have their DHCP server function shut down. Never use the WAN ether net port on these devices (if one is present). I have many 'DD-WRT' on WRT54GL working like this for the last 10 years. Using repeater might change the IP …. this messes up the portal authentication. Using repeater might change the the MAC .... this messes up the portal authentication. "Repeaters" are nice boxes, but you only use one if nothing else is possible. You only move the 'cable' problem to a 'logical network' problem. Btw: I had some good experiences with AP-boxes using "WDS" mode.
  • Captive portal using Gmail accounts to authenticate wireless user

    4
    0 Votes
    4 Posts
    4k Views
    GertjanG
    You already have your keyword - and you already know the way it works  ;) gmail The authentication process is a two-phase procedure. FIRST: When hitting the the portal autnetification page, the client should enter 2 credentials. The client should enter a gmail adress and an 'unkown' password. Of course, the client doesn't know this password. To retrieve this password, the user should enter his gmail mail account address. [[b]Hey, this procedure is being used by every site on the Internet !!!! - You saw it before - you used it before - it's always the SAME procedure] The portal code should send a mail to the visitors gmail mail address with the secret, randomly generated password. The client should login to the gmail's WEB mail interface to grab the 'challenge' mail - find the secret random. SECOND: Back on the portal interface, the visitor has the password, he can login. Note: All IP's from Google that are used to access the GMAIL web mail account servers should be listed as 'Allowed IP adress' on the portal service page. Maybe POP/IMAP accss should be handled as well, a part of the planet nevers uses web mails, they use mail-client software like Thunderbird, Outlook, etc. Access to SSL (https) pages can be problematic when you aren't yet authenticated with the portal. This is a pure PHP coding exercise. I advise you to create a mail adress (your-portal@gmail.com) that can be used by your own portal code so it can safely send maisl to other gmail accounts. BTW: this is just an idea, not a solution. I didn't Google anything up - just used my memory.
  • Captive Portal w/ Radius MAC Auth - error in radpostauth code

    3
    0 Votes
    3 Posts
    2k Views
    M
    I figured out this is part of the Radius SQL on my Radius server and not part of pfSense. If anyone is interested… The dialup.conf file in /etc/raddb/sql/mysql/dialup.conf has an entry for Authentication Logging options and this entry for the INSERT stmt was incorrect. mike
  • Captive portal with static routes

    3
    0 Votes
    3 Posts
    1k Views
    B
    Hello All, Sorry for replying to my own post again. I did try setting up my captive portal per the link I have in  post number two of this thread,and still cannot get captive portal to work with static routes. After some more searching it appears that my problem,is what is posted in this link.Bottom line the captive portal takes your to pfSense (ipaddress) rather that pfSense(hostname) http://forum.pfsense.org/index.php?topic=43089.0 I am not sure what I am wanting to do,,is possible with load balancing,failover, transparent proxy?,,, Thank You, Barry
  • Captive portal with ipsec setup

    3
    0 Votes
    3 Posts
    1k Views
    B
    jimp, Thank You..! I will give this a try in the morning when no one is here. Makes perfect sense. It goes without saying I have never set up captive portal,period. Take Care, Barry
  • Where in the script does the pass-through-mac occur?

    7
    0 Votes
    7 Posts
    3k Views
    C
    The PHP only configures the underlying system. dhcpd is the DHCP server.
  • Captiveportal Show first staff login ?

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Captive portal not using redirurl=

    Locked
    4
    0 Votes
    4 Posts
    2k Views
    A
    The problem was the day I did the upgrade I also changed my captive portal page by changing a phone number in the text part.  I did this clicking the link to "View current page".  I changed the number and loaded it back.  The only issue is that when I pulled it from the link the line <form method="post" action="$PORTAL_ACTION$"> was changed to I change it back to and redirurl started working. Thanks for anyone who looked at this.  Hopefully somone else will not fall into the same mistake I did. </form>
Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.