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

    Dynamic DNS Show local IP

    Scheduled Pinned Locked Moved General pfSense Questions
    15 Posts 3 Posters 1.6k 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.
    • stephenw10S
      stephenw10 Netgate Administrator
      last edited by

      Ooops missed your edit there.

      Don't use a public subnet on the LAN side of the LTE router if that's not actually your IP.

      Steve

      A 1 Reply Last reply Reply Quote 0
      • A
        andreaconfa @stephenw10
        last edited by andreaconfa

        @stephenw10 my lte connection is not under NAT, in fact with my edgerouter I’m able to connect to the devices hosted on my home.

        From the settings i see that if the connection is PPPOE is not possible to change the ip address of the interface, in fact the two shown ip is not even in the subnet of the router's.

        So you think that the lte connection is not getting the wan ip because I’m using a public subnet? I have to try using 192.168.x.x ?

        If i run the curl command on the pfsense console i get the correct wan ip of the lte connection: curl http://checkip.dyndns.org/

        f2da0fa0-db83-481c-bee7-25f041e5e4ae-image.png

        1 Reply Last reply Reply Quote 0
        • A
          andreaconfa
          last edited by andreaconfa

          Good News! I changed the local ip of the LTE router to 192.168.103.1 and now pfsense is updating the DDNS with the correct WAN ip.

          Another question if you can help me.
          As i said before i have two VDSL connection that i want to use in load-balancing mode and a third one (the LTE) that i want to use only as a failover when both VDSL connection goes down.

          Is this the correct configuration?
          6deb7e85-920d-40d2-bfec-fa967d47fa3b-image.png

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

            Your LTE is behind NAT. If it wasn't curl http://checkip.dyndns.org/ would be reporting the same IP the pfSense sees ion the interface. It might be 1:1 NAT if you can connect in that way.
            Anyway, yeah, setting it to a private IP causes the dyndns client to look for the external IP rather than use the interface address.

            Yes, that will work for load-balancing. There's no need to put LTE in tier 5 it will work exactly the same in tier 2.
            Be aware that you can only use that load-balance group in policy routing rules. You can' use that as the default system gateway. That can only be a specific gateway or a failover group.

            Steve

            A 1 Reply Last reply Reply Quote 0
            • A
              andreaconfa @stephenw10
              last edited by

              @stephenw10 sorry i don't understand exaclty this

              Be aware that you can only use that load-balance group in policy routing rules. You can' use that as the default system gateway. That can only be a specific gateway or a failover group.
              

              I setted up my balancing/failover group as default group

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

                You can't use a load-balancing group as the system default gateway in System > Routing > Gateways. Where is says: Select a gateway or failover gateway group to use as the default gateway.
                The wording there was changed because it's a common mistake.
                To actually balance the load across several WANs you need to use policy based routing rules:
                https://docs.netgate.com/pfsense/en/latest/multiwan/policy-route.html

                Steve

                A 1 Reply Last reply Reply Quote 0
                • A
                  andreaconfa @stephenw10
                  last edited by andreaconfa

                  @stephenw10 said in Dynamic DNS Show local IP:

                  e the load across several

                  can you explain me how to make the load balancing work correctly? now in the default gateway i setted up the load balancing group and it appears to work correctly. For example, in speedtest, i reach the sum of the two connection. during for example an http download i got the download of 1 connection, but then if another client start to download something, he get full speed too by using automatically the other wan connection.

                  I also have this rule in the lan out setting of the firewall ec30066c-0a89-425d-83ef-631346476a57-image.png

                  What is the correct setting for the default gateway? 0bb2fcd8-8fee-45dc-a16e-a342cb0af7d6-image.png

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

                    The top screenshot there is the correct (and only) way to do it. That will be loadbalancing your traffic from hosts on the LAN.

                    The default gateway should be only a specific gateway or a failover group.
                    If you enter a load-balance group there the firewall will cycle though the gateways in it if they go down but does not actually load-balance traffic. Rge default gateway if only ever 1 WAN at a time.

                    Steve

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      andreaconfa @stephenw10
                      last edited by

                      @stephenw10 so what i have to do? i have to make another group only for failover and put that in the default gateway? First Connection Tier 1, Second Connection Tier 2 and Third Connection LTE Tier 3 and put that in the default gateway?

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

                        Since you are using a correctly configured policy routing rule for LAN traffic you do not have to do anything.
                        Anything not caught by that policy rule, such as traffic from the firewall itself, will use the default gateway. Just be aware that with that set to the load-balancing group as it is traffic will use one of the two PPPoE WANs that are in tier 1. It will not use both and there is no way to specify which one it will use. It will simply switch to the other one if one goes down or to the LTE if both go down. That setup is probably fine for your use.

                        Steve

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