When captive portal is on active, my internet was down =(



  • when captive portal is on active, my internet was down =( why?

    can you help me pls? =(

    sorry my english



  • my rules

    captive portal



  • have you loaded a page, are you logging in?  Do you get the captive portal page?

    I see you are setup for Local username/password authentication, have you setup a username/password for this in the server (system > user manager)?  Have you tested it by going to Diagnostics > authentication and entering in the username/password?  You will not have an internet connection until you login…


  • Rebel Alliance Developer Netgate

    The most common thing to go wrong there is DNS, but you don't give enough information to say for sure.

    If you hand out public DNS servers to your clients and then turn on captive portal, they can't get DNS. So you either need to add an IP bypass into the captive portal for your DNS servers, or you need to give the clients the pfSense box as their DNS server.



  • I have a similar problem.

    When I reboot my pfsense vm, a firewall denies access to external site queries.  If I disable the CP then re-enable it, everything works fine again until the machine restarts.  When I disable the CP it shows "IP Firewall unloaded" on the command line, and internet access is restored.  When the CP is enabled I get redirected to the portal page (I don't use authentication), but from there it cannot connect to an internet site.  Intranet works fine.  I have disbled the firewall rules under the interface tab, and can ping hosts both on the LAN and WAN interfaces.  I have 3 dns entries in the general setup.  The first is private IP for intranet queries, and the 2nd and 3rd are external IP addresses for the internet.  Both work perfect until I restart the machine with CP enabled.

    This happens when I have my client PC manually pointed to my internal DNS server.  If the DNS is pointed to the pfsense server, it works fine.

    EDIT:  I believe I may have fixed the issue by doing what jimp suggested by adding my internal dns server to the captive portal IP exception list.
    Thank you for the help.



  • Same problem for me, solve using Ip of DHCP as DNS in captive portal supported interface

    Regards

    Nicanor



  • guys this happened to me and i don't know how to fix it.

    Mine was working perfect (CP + Active Directory authentication through RADIUS) then my local DNS server (another physical computer) hung one time. After restarting my local DNS server, when I use Captive Portal, the clients seem to have messed up DNS or something. I tried pinging internet addresses from the client and they seem to resolve DNS, but when using a browser, they can't seem to resolve DNS.

    I can't really use another DNS server, as my local DNS server hosts a bunch of intranet websites.



  • @stramato:

    guys this happened to me and i don't know how to fix it.

    Mine was working perfect (CP + Active Directory authentication through RADIUS) then my local DNS server (another physical computer) hung one time. After restarting my local DNS server, when I use Captive Portal, the clients seem to have messed up DNS or something. I tried pinging internet addresses from the client and they seem to resolve DNS, but when using a browser, they can't seem to resolve DNS.

    I can't really use another DNS server, as my local DNS server hosts a bunch of intranet websites.

    Did you tried to reboot pfsense?


Locked