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

    CP Redirect

    Captive Portal
    2
    4
    2.3k
    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.
    • C
      cconk01
      last edited by

      I just enabled CP, and rebooted the pfsense. CP is on OPT4 with DHCP Relay enabled, with an ip 10.254.1.1/24. The Gateway and DNS both point to 10.254.1.1. The problem I am having is when a user connects on that network they just sit there. If I manually enter http://10.254.1.1:8000 it allows them acces to the CP login page. Why is the firewall not redirecting them? I run pfsense V1.2 RELEASE

      Any help would be awesome!

      Thanks,
      CConk01

      1 Reply Last reply Reply Quote 0
      • S
        Slam
        last edited by

        Do you have a firewall rule allowing traffic on OPT4?

        If not then just copy the LAN rule and change stuff from lan subnet etc to opt4 subnet etc…

        Btw, I noticed you said youre relaying dhcp requests? is the dhcp server on another box on your lan? if the dhcp server is pfsense box, then there is no need to relay, just set dhcp server on opt4.

        Regards

        1 Reply Last reply Reply Quote 0
        • C
          cconk01
          last edited by

          Hi and thanks for the response.
          I currently host my dhcp on another box. I am setting this up to currently allow only port 80 and 443 trafic through.
          I would like to restrict what users can use this guest network for. I am thinking of opening port 25 to a mail server (as a relay) on my dmz but havent gotten that far….

          Should I need to open any other ports?
          Could I add something to redirect clients to that page?

          IE: open a port to my webserver on a virtual ip, then just have a php redirect script run to 10.254.1.1:8000

          1 Reply Last reply Reply Quote 0
          • C
            cconk01
            last edited by

            This must be a rule issue. When I allow Any from Opt4 to any its works fine and redirects.

            Current rules I have or would like are:
            TCP OPT4 HTTP to ! Lan any

            What rule do i need to have for CP to redirect? Anyone happen to know?

            Thanks
            CConk01

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