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

    Building my own router.

    Hardware
    5
    54
    3.6k
    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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      What IP address and subnet did you use? It must be different to whatever you have on the WAN otherwise there would be a conflict.

      Does it show a link on alc0?

      What does this show: ifconfig alc0

      M 1 Reply Last reply Reply Quote 0
      • M
        Master Henry @stephenw10
        last edited by

        @stephenw10

        Both LAN and WAN has the same ip address.

        G 1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          Ok well that is a conflict and is invalid.

          The WAN and LAN must have different subnets and hence different IP addresses.

          For example:

           WAN (wan)    -> ix3         -> v4/DHCP4: 172.21.16.85/24
           LAN (lan)    -> igc0        -> v4: 192.168.92.1/24
          
          1 Reply Last reply Reply Quote 0
          • G
            GeorgePatches @Master Henry
            last edited by

            @Master-Henry Are you trying to setup the pfsense behind your current router so you can have internet while you're setting this up initially?

            M 1 Reply Last reply Reply Quote 0
            • M
              Master Henry @GeorgePatches
              last edited by

              @GeorgePatches @stephenw10

              Hey guys, so every time you ask me to check. I unplug both my WAN and PC ethernet port cable from my router and plug in both back and forth with the pfsense router. So right now, if you ask me to plug it back in again. I am going to have my internet cable WAN plugged in, the 2nd cable plug into my switch and I will have my PC plug into my 2nd port of my switch.

              As of now, I only have an IP address of WAN.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                What do you actually see on the console?

                M 1 Reply Last reply Reply Quote 0
                • M
                  Master Henry @stephenw10
                  last edited by

                  @stephenw10

                  Just my WAN. Both Interfaces are assigned and working. But there is no IP address for LAN.

                  Following on what you guys say from now on and not going ahead.

                  What should I try and do?

                  1 Reply Last reply Reply Quote 0
                  • stephenw10S
                    stephenw10 Netgate Administrator
                    last edited by

                    Then assign an IP address on LAN using menu option 2. Enable the DHCP server when it asks you to do so.

                    Can we see a screenshot of what you see on the console?

                    M 1 Reply Last reply Reply Quote 0
                    • JonathanLeeJ
                      JonathanLee
                      last edited by

                      Use a external wireless access point just use the router for pfSense software and its RJ45 ports

                      Make sure to upvote

                      1 Reply Last reply Reply Quote 0
                      • M
                        Master Henry @stephenw10
                        last edited by

                        @stephenw10 @GeorgePatches

                        Hey guys, so I assigned an IP address for the LAN. I really don't know what is going on. I can't get into pfsense. I did assigned with and without using the switch. It said the IP address is unreachable. I don't know what I am doing wrong.

                        1 Reply Last reply Reply Quote 0
                        • stephenw10S
                          stephenw10 Netgate Administrator
                          last edited by

                          Can we please get a picture of your console? We are just guessing without it.

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            Master Henry @stephenw10
                            last edited by

                            @stephenw10 IMG_0169.jpg

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              GeorgePatches @Master Henry
                              last edited by

                              @Master-Henry OK, so your LAN IP is not a valid private IP. Try setting it to 192.168.1.1/24. That's the default and things will probably work.

                              M 1 Reply Last reply Reply Quote 0
                              • M
                                Master Henry @GeorgePatches
                                last edited by

                                @GeorgePatches @stephenw10

                                Hey guys, sorry I missed your reply @GeorgePatches. I reset my pfsense router both times for when using unmanaged switch and no switch. No dice. I've seen various videos that the default IP address for pfsense is 192.168.1.1 and it is unreachable. No rice cooker sound and no notification that my computer sees that there's another network; usually when I use/install a new router it shows. Very weird. It's almost midnight in NY and I am going to crash. If you guys have any more suggestions, I do appreciate it but find it very weird that it is not working. If all doesn't work. I'm gonna try and install OPNsense.

                                stephenw10S 1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator @Master Henry
                                  last edited by

                                  @Master-Henry said in Building my own router.:

                                  the default IP address for pfsense is 192.168.1.1 and it is unreachable

                                  It would only be reachable on that IP when the LAN interface is configured to use it of course.

                                  Is there any particular reason you chose to use 168.142.6.1?

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    Master Henry @stephenw10
                                    last edited by

                                    @stephenw10

                                    No reason. I changed it just to get into pfsense.

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      Master Henry @Master Henry
                                      last edited by Master Henry

                                      @Master-Henry said in Building my own router.:

                                      @stephenw10

                                      No reason. I changed it just to get into pfsense.

                                      @stephenw10 @GeorgePatches

                                      Ok guys. Good news. I got pfsense. Internet and Xbox is working. How do I get Xbox to open NAT? How do I port forward? I do not want UPNP on.

                                      G 1 Reply Last reply Reply Quote 0
                                      • G
                                        GeorgePatches @Master Henry
                                        last edited by

                                        @Master-Henry said in Building my own router.:

                                        I do not want UPNP on.

                                        Any particular reason? It would make life easier for you.

                                        @Master-Henry said in Building my own router.:

                                        How do I port forward?

                                        Step 1, you need to setup your xbox with a static IP. So either manually set that on the xbox or assign it a static lease in pfsense.

                                        Step 2 to X, follow theses instructions. Assigning port forwards

                                        M 1 Reply Last reply Reply Quote 1
                                        • M
                                          Master Henry @GeorgePatches
                                          last edited by Master Henry

                                          @GeorgePatches

                                          Hey George, sorry for the late response. Been playing around with my pfsense router.

                                          Xbox NAT is still strict if I forward all the required ports by Microsoft/Xbox. For one of my PC programs, I port forward a port and it opened up.

                                          Do I need to enable UPNP? I know that there is a deny tick box. On my consumer routers, I disable UPNP because of security reasons/concerns and for gaming NAT. I would get moderate/strict NAT.

                                          Is there another way?

                                          1 Reply Last reply Reply Quote 0
                                          • stephenw10S
                                            stephenw10 Netgate Administrator
                                            last edited by

                                            You might need a static outbound NAT rule for the xbox to prevent it changing the source port.

                                            https://docs.netgate.com/pfsense/en/latest/nat/outbound.html#nat-staticport

                                            JonathanLeeJ M 2 Replies Last reply Reply Quote 2
                                            • First post
                                              Last post
                                            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.