Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Captive Portal Problems

    Captive Portal
    3
    3
    2.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      duckytn
      last edited by

      Good Afternoon,

      I have pfSense 1.2.2 Installed and configured with WAN, LAN(192.168.1.1) and OPT1(192.168.2.1). I have DHCP enabled on both LAN and OPT1. With CP turned off everything works fine. When I enable CP it will only work if a client computer on OPT1 enters an address of '192.168.2.1' where they are presented the portal page and once beyond that they have full access to the internet. If they enter anything else (www.google.com, www.yahoo.com etc) they simply get nothing. Anyone have any suggestions on what I should check??

      Thanks!

      Eric

      1 Reply Last reply Reply Quote 0
      • I
        ipnet
        last edited by

        Hi, first, CP only can be assigned to one interface. In your case either LAN or OPT1. Where is it pointing to? May be you pointed the CP to the LAN…in that case, only users in the LAN will get the CP initial page when trying to access the internet. Users on OPT1 will not get the CP login page unless they type 192.168.2.1:8000.

        Regards

        1 Reply Last reply Reply Quote 0
        • GertjanG
          Gertjan
          last edited by

          As ipnet said : bind the Captive Portal to OPT1 (or whatever you named it), that's were it belongs anyway.

          I'm using pfSense with the CP on OPT1 (which is btw 192.168.2.1) and people do not need to type in this IP to get the portal login page.

          A simple www.i-wana-go-womewhere.com will do the job - and that what's it is all about. They will see my logging portal, if they want it or not.

          Ducktn, goto the Captive Portal settings page "services_captiveportal.php" and have a look at the bottom of that page : see the red note !
          "Changing any settings on this page will disconnect all clients! Don't forget to enable the DHCP server on your captive portal interface! Make sure that the default/maximum DHCP lease time is higher than the timeout entered on this page. Also, the DNS forwarder needs to be enabled for DNS lookups by unauthenticated clients to work."
          You should know what to check now  :)

          No "help me" PM's please. Use the forum, the community will thank you.
          Edit : and where are the logs ??

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.