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

    WAN Interface IP address - noob config question

    Scheduled Pinned Locked Moved General pfSense Questions
    21 Posts 7 Posters 2.1k 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.
    • chpalmerC
      chpalmer
      last edited by

      pfsense comes default with 192.168.1.1/24 this is not assigned by your other router. You can change it.

      Choose something like 192.168.10.1/24 Remember that you have to adjust your DHCP server to match.

      Triggering snowflakes one by one..
      Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

      1 Reply Last reply Reply Quote 0
      • Z
        zzkazu
        last edited by

        Thanks for your response.

        I changed it to 192.168.5.109, which is within the range of my router (still using this atm), but the WAN IP address gets set to whatever I change the LAN static IP address too.

        Cant workout why this is happening as the APU2 has individual NICs (WAN/LAN) and I would have thought router DCHP server should assign separate IP's

        Z 1 Reply Last reply Reply Quote 0
        • Z
          zzkazu @zzkazu
          last edited by

          @zzkazu Managed to set separate IP's via console and seems to be sticking. No access to internet though for devices connected to LAN interface atm.

          Assume firewall rules..

          chpalmerC 1 Reply Last reply Reply Quote 0
          • chpalmerC
            chpalmer @zzkazu
            last edited by chpalmer

            @zzkazu

            Check your client IP.

            Firewall rules for LAN should say "LAN Net" which would work fine.

            If your WAN keeps grabbing the wrong IP Im inclined to believe it has a path from the LAN side somehow. How do you have things wired?

            Triggering snowflakes one by one..
            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

            1 Reply Last reply Reply Quote 0
            • Z
              zzkazu
              last edited by zzkazu

              Heres the rules I'm using.

              3987edaf-bda4-4234-b5ed-9df148b1d6ee-image.png

              46df0f50-8935-4ae9-9d0f-7c5be3e3e14b-image.png

              WAN on igb2
              LAN igb1

              1 Reply Last reply Reply Quote 0
              • JKnottJ
                JKnott @zzkazu
                last edited by

                @zzkazu said in WAN Interface IP address - noob config question:

                My setup is

                Why do you have a Netgear router and pfSense? That's 2 routers and double NAT.

                PfSense running on Qotom mini PC
                i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
                UniFi AC-Lite access point

                I haven't lost my mind. It's around here...somewhere...

                NogBadTheBadN 1 Reply Last reply Reply Quote 0
                • bmeeksB
                  bmeeks
                  last edited by

                  The WAN and LAN are within the same subnet according to the screen shot in the last post by the OP. You can't have WAN and LAN in the same subnet. You are showing both of them in the 192.168.5.0 network. The WAN is 192.168.5.109 and the LAN is 192.168.5.110. That can't work!

                  Draw a simple diagram of how you have things connected and post back.

                  1 Reply Last reply Reply Quote 0
                  • NogBadTheBadN
                    NogBadTheBad @JKnott
                    last edited by NogBadTheBad

                    @JKnott said in WAN Interface IP address - noob config question:

                    @zzkazu said in WAN Interface IP address - noob config question:

                    My setup is

                    Why do you have a Netgear router and pfSense? That's 2 routers and double NAT.

                    This ^^

                    Set the pfSense WAN interface to PPPOE and remove the Netgear.

                    Andy

                    1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

                      You can double nat if you need too - but you can not have the same network on pfsense wan as you do its lan and expect it to route correctly.

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      1 Reply Last reply Reply Quote 0
                      • Z
                        zzkazu
                        last edited by zzkazu

                        Thanks for the advice. I have tried a PPPoE configuration.

                        DSL Modem "Bridged" to
                        APU2 WAN interface
                        APU2 LAN interface to
                        L-SG108PE switch

                        WAN interface set to PPPoE
                        LAN Static IP

                        On LAN side still cant ping out publicly.

                        DCHP service running and allocating leases
                        No FW rules running on WAN

                        Pfsense PPPoE.JPG

                        Firewall rules.JPG

                        Ping Interface Test.JPG

                        1 Reply Last reply Reply Quote 0
                        • NogBadTheBadN
                          NogBadTheBad
                          last edited by

                          Try killing the firewall states.

                          Andy

                          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

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

                            And what are you outbound nat rules?

                            An intelligent man is sometimes forced to be drunk to spend time with his fools
                            If you get confused: Listen to the Music Play
                            Please don't Chat/PM me for help, unless mod related
                            SG-4860 24.11 | Lab VMs 2.8, 24.11

                            1 Reply Last reply Reply Quote 0
                            • Z
                              zzkazu
                              last edited by

                              Automatic outbound NAT rule generation.

                              Is that sufficient?

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

                                let see it please
                                If you can ping from your public wan, but not from your lan - points to outbound nat not being correct.

                                I would sniff on your wan while your doing your ping from lan test.. Do you see the ping go out with your actual wan IP?

                                An intelligent man is sometimes forced to be drunk to spend time with his fools
                                If you get confused: Listen to the Music Play
                                Please don't Chat/PM me for help, unless mod related
                                SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                                  Check the state table size on the dashboard also. Something breaking the ruleset can present like this but you would see 0 open states in that case. You have some rules showing open states so it's probably not that. Worth checking though.

                                  Check you have a default route in Diag > Routes.

                                  Steve

                                  1 Reply Last reply Reply Quote 0
                                  • Z
                                    zzkazu
                                    last edited by zzkazu

                                    Thanks for the help here, learning lots.

                                    Still can ping and resolve via WAN but not LAN

                                    Only taking a guess but LAN active states seem closed, could that be the issue? I have reset states a couple of times.

                                    using Packet capture (WAN side) cant see any private IP addresses...

                                    thanks

                                    Outbound NAT

                                    NAT outbound.JPG

                                    Diag Routes.JPG

                                    Active States.JPG

                                    Packet Capture.JPG

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

                                      Where is your default route?

                                      default.png

                                      That looks like your wan pinging your gateway.. But I see no default route in your routing table.. So if your client pings 8.8.8.8 why would it get routed out your internet?

                                      Lets see your gateways

                                      gateways.png

                                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                                      If you get confused: Listen to the Music Play
                                      Please don't Chat/PM me for help, unless mod related
                                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                                      1 Reply Last reply Reply Quote 0
                                      • Z
                                        zzkazu
                                        last edited by zzkazu

                                        Default gateway IPv4 was set to automatic. Setting it to WAN_PPPOE seems to have allowed me to ping public via LAN now..

                                        Seems a bit strange noting I have only one Gateway PPPoE.. ... cheers saved further headaches for me

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

                                          I have seen a bit of strangeness with the automatic gateway selection.. Maybe your pppoe connection is taking awhile to come up.. Not sure.. I don't use those types of connection, and never a lot of experience even with them with pfsense..

                                          We can see if anyone else with more info on the details of how the automatic selection is suppose to work, and how pppoe might come into play with that, etc.

                                          Glad we finally got it sorted! ;)

                                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                                          If you get confused: Listen to the Music Play
                                          Please don't Chat/PM me for help, unless mod related
                                          SG-4860 24.11 | Lab VMs 2.8, 24.11

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

                                            Yeah, I would recommend always setting the gateway to something specific there.

                                            Steve

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