• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 1.9k 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.
  • Z
    zzkazu @zzkazu
    last edited by Aug 22, 2019, 6:07 AM

    @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..

    C 1 Reply Last reply Aug 22, 2019, 6:34 AM Reply Quote 0
    • C
      chpalmer @zzkazu
      last edited by chpalmer Aug 22, 2019, 6:37 AM Aug 22, 2019, 6:34 AM

      @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 Aug 22, 2019, 7:25 AM Aug 22, 2019, 7:17 AM

        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
        • J
          JKnott @zzkazu
          last edited by Aug 22, 2019, 10:43 AM

          @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...

          N 1 Reply Last reply Aug 22, 2019, 3:14 PM Reply Quote 0
          • B
            bmeeks
            last edited by Aug 22, 2019, 1:21 PM

            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
            • N
              NogBadTheBad @JKnott
              last edited by NogBadTheBad Aug 23, 2019, 8:00 AM Aug 22, 2019, 3:14 PM

              @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
              • J
                johnpoz LAYER 8 Global Moderator
                last edited by Aug 22, 2019, 3:23 PM

                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.7.2, 24.11

                1 Reply Last reply Reply Quote 0
                • Z
                  zzkazu
                  last edited by zzkazu Aug 23, 2019, 6:52 AM Aug 23, 2019, 12:05 AM

                  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
                  • N
                    NogBadTheBad
                    last edited by Aug 23, 2019, 7:59 AM

                    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
                    • J
                      johnpoz LAYER 8 Global Moderator
                      last edited by Aug 23, 2019, 8:41 AM

                      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.7.2, 24.11

                      1 Reply Last reply Reply Quote 0
                      • Z
                        zzkazu
                        last edited by Aug 23, 2019, 10:24 AM

                        Automatic outbound NAT rule generation.

                        Is that sufficient?

                        1 Reply Last reply Reply Quote 0
                        • J
                          johnpoz LAYER 8 Global Moderator
                          last edited by johnpoz Aug 23, 2019, 10:26 AM Aug 23, 2019, 10:24 AM

                          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.7.2, 24.11

                          1 Reply Last reply Reply Quote 0
                          • S
                            stephenw10 Netgate Administrator
                            last edited by stephenw10 Aug 23, 2019, 2:40 PM Aug 23, 2019, 2:39 PM

                            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 Aug 24, 2019, 1:28 AM Aug 24, 2019, 12:16 AM

                              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
                              • J
                                johnpoz LAYER 8 Global Moderator
                                last edited by johnpoz Aug 24, 2019, 7:00 AM Aug 24, 2019, 6:59 AM

                                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.7.2, 24.11

                                1 Reply Last reply Reply Quote 0
                                • Z
                                  zzkazu
                                  last edited by zzkazu Aug 24, 2019, 8:50 AM Aug 24, 2019, 8:45 AM

                                  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
                                  • J
                                    johnpoz LAYER 8 Global Moderator
                                    last edited by Aug 24, 2019, 9:37 AM

                                    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.7.2, 24.11

                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      stephenw10 Netgate Administrator
                                      last edited by Aug 24, 2019, 1:15 PM

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

                                      Steve

                                      1 Reply Last reply Reply Quote 0
                                      13 out of 21
                                      • First post
                                        13/21
                                        Last post
                                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                        This community forum collects and processes your personal information.
                                        consent.not_received