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

    CP, trying to setup dual LAN, need guidance

    Scheduled Pinned Locked Moved Captive Portal
    29 Posts 4 Posters 10.2k Views
    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.
    • S
      stephen
      last edited by

      Hm, well that would make sense, now wouldn't it!  Maybe you can append a note to that page, "if you're trying to setup a DHCP server on this interface, select static"

      I should be good to go after a little more tampering, thanks for all your help.

      Stephen Crawford

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

        That option is for dhcp client, not as dhcp server  ;)

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

          ::)

          Ok, ran into another snag.  I've got the access point all configured correctly so its on 10.0.200.5, I can access from the LAN it and it passes thru CP, now the next item on the agenda would to make CP work on OPT1.  When I try to access the net from my laptop it says it can't find the server, although its connected properly and has an IP address (10.0.200.244).  I can access the access point config since I setup 10.0.200.50 as an allowed "from" ip in CP.

          Any ideas?  Its probably something simple I'm just overlooking as I did before  :-X

          Edit: I can also access the CP page (http://10.0.200.1:8000/) from my LAN.
          Edit 2: I have a rule for OPT1 also set, from OPT1 subnet to any.

          Stephen Crawford

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

            Make sure clients at opt1 are using the pfsense opt1 IP as dns.

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

              Yep, the access point is configured with dns and gateway of 10.0.200.1, double checked my laptop and it confirms this.

              Stephen Crawford

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

                Try to delete the allowed IP OPT1 IP. Not sure if this prevents the redirection to the CP page.

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

                  Hm, ok removed the allowed IP in CP.  Still isn't forwarding to the CP login page.

                  Another note, can't access http://10.0.200.1:8000 from OPT1 but can from the LAN.

                  Stephen Crawford

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

                    What version are you running?

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

                      1.0.1 full install

                      Stephen Crawford

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

                        Then I'm out of ideas  :-\

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

                          Ok another idea, disabled CP and I still can't get out to the internet from OPT1…  I'm close, I can taste it.

                          Stephen Crawford

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

                            Try to reboot, maybe something broke somewhere in between the misconfigurations.

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

                              Another question before I do though, what should the gateway be set to on OPT1, the same as the LAN one?

                              Edit: getting traffic thru OPT1 after the reboot, no gateway set on OPT1 now also.

                              Edit 2:  ;D yay! its working!!

                              Stephen Crawford

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

                                Yes, you shouldn't have a gateway unless it's an additional WAN.

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

                                  Sorry for warming up this old thread, but i have the same problem.
                                  I'm using the latest snapshot - my setup is:

                                  WAN - DHCP
                                  LAN - 192.168.1.1 - DHCP Server on
                                  OPT1 - 192.168.2.1 - DHCP Server and Captive Portal on

                                  Traffic from LAN to WAN is no problem. But when i'm connecting on OPT1 and enter f.e. "www.google.com" in my browser, there is no redirection to the Captive Portal page. If i enter "192.168.2.1:8000" the Captive Portal page ist perfecly shown up an the auth works also. But no connection to the internet.
                                  DNS Server for the clients on OPT1 is 192.168.2.1
                                  I tried reinstalling pfSense but this didnt work either.

                                  any ideas?

                                  mfg
                                  Vibes

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

                                    Please specify latest snapshot including version and builddate. We have resynced the CP just yesterday against m0n0's code. Are you already running that version?

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

                                      1.0.1-SNAPSHOT-02-27-2007
                                      built on Wed Feb 28 10:30:50 EST 2007

                                      Edit: Installation was performed with the 02 25 2007 snapshot and then updatet via webinterface

                                      Edit2: I tried a complete reinstall with 1.0.1-SNAPSHOT-02-27-2007 built on Wed Feb 28 16:56:55 EST 2007
                                      with the same result - i think i forgot something very little…but what...?

                                      Here my steps

                                      1. Start PC with pfSense Live CD and assign the interfaces

                                      • LAN 192.168.1.1 - DHCP on
                                      • WAN DHCP (in my test setup 192.168.178.35)
                                        2. Install pfSense to Harddisk
                                        3. Deactivate "Block local..." on WAN interface 
                                        5. Activate OPT1
                                      • OPT1 192.168.2.1
                                        6. Activate DHCP Server on OPT1
                                      • Range: 192.168.2.100-254
                                        6. Activate Captive Portal on OPT1
                                        7. Result = failed as discribed above
                                      1 Reply Last reply Reply Quote 0
                                      • J
                                        jeroen234
                                        last edited by

                                        i miss you setting up the rules for opt1 interface to access the lan or internet
                                        for the lan interface these rules are there by default
                                        you can copy the default lan rule to the opt1 interface and edit it to use the opt1 interface

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

                                          Thank you guys my problem is solved :)

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