Navigation

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

    Get DHCP from Router not pfsense

    DHCP and DNS
    4
    7
    1042
    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.
    • H
      Hadesskywalker last edited by

      Hi, I'm new to pfsense and maybe this question is an old one, but with my google searches and my limited knowledge of pfsense I could not figure this one out, so please help!

      Here is what I want to do:
      I want pfsense to show a captive portal to unknown ips. Everything else should be let through.

      I got pfsense installed, no problem. Captive portal worked like a charm, but I want all connected devices to get their ips from my router not pfsense. Its dhcp I could not disable without a following reset to factory defaults.

      My setup looks like this:
      modem - router (dhcp) - pfsense (captive portal) - AP (with wlan)

      Please help me to figure this out:
      How can I disable dhcp on pfsense?
      How can I access pfsense after that?
      How can I access pfsense from wan?

      Thank you for you help!

      1 Reply Last reply Reply Quote 0
      • M
        muswellhillbilly last edited by

        @Hadesskywalker:

        How can I disable dhcp on pfsense?

        Go to Services/DHCP Server, tick the tab for LAN and untick the box marked 'Enable DHCP Server on LAN interface.
        @Hadesskywalker:

        How can I access pfsense after that?

        Set your client PC to a static address within the LAN range.
        @Hadesskywalker:

        How can I access pfsense from wan?

        Create a rule on your WAN interface allowing access from only your external network(s).

        I don't see how you're going to get DHCP-assigned addresses to your LAN from a router which sits on the WAN side of your firewall. Is there a reason why you can't have the PFS assign DHCP addresses?

        1 Reply Last reply Reply Quote 0
        • johnpoz
          johnpoz LAYER 8 Global Moderator last edited by

          Yeah I am really confused why pfsense could not hand out your IPs to your networks behind??  Do you have pfsense in bridge mode as a transparent??

          1 Reply Last reply Reply Quote 0
          • D
            doktornotor Banned last edited by

            You are doing it the other way round… Also, that CP thing - that's behind yet another layer of pointless NAT? (Will not work at all if that's the case, the AP must NOT do any routing.)

            1 Reply Last reply Reply Quote 0
            • H
              Hadesskywalker last edited by

              @johnpoz: bridge mode is a good keyword, that is what i would like to do. How could this be achieved?

              I would like pfsense to only do the captive portal. I want it to be possible to add pfsense into other networks where I have no control over ips issued or other settings.

              1 Reply Last reply Reply Quote 0
              • M
                muswellhillbilly last edited by

                @Hadesskywalker:

                I want it to be possible to add pfsense into other networks where I have no control over ips issued or other settings.

                So do you actually manage these other networks or not? If not, who does and are they happy with you introducing a firewall into a network they control?

                I really think you're going to have to post a complete map of your network(s) for anyone to make any sense of this.

                1 Reply Last reply Reply Quote 0
                • H
                  Hadesskywalker last edited by

                  No, I do not manage these networks. If I was, I could integrate the dhcp from pfsense into the network.

                  The map of my network is described in my original post. If you need any more details please tell me.

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Products

                  • Platform Overview
                  • TNSR
                  • pfSense
                  • Appliances

                  Services

                  • Training
                  • Professional Services

                  Support

                  • Subscription Plans
                  • Contact Support
                  • Product Lifecycle
                  • Documentation

                  News

                  • Media Coverage
                  • Press
                  • Events

                  Resources

                  • Blog
                  • FAQ
                  • Find a Partner
                  • Resource Library
                  • Security Information

                  Company

                  • About Us
                  • Careers
                  • Partners
                  • Contact Us
                  • Legal
                  Our Mission

                  We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

                  Subscribe to our Newsletter

                  Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

                  © 2021 Rubicon Communications, LLC | Privacy Policy