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

    What is my *@! IP?

    Scheduled Pinned Locked Moved Routing and Multi WAN
    7 Posts 2 Posters 1.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.
    • S
      sensewolf
      last edited by

      Hi,

      So I have a pfSense running that is connected via a DSL modem on the (first) WAN. For the purpose of using DynDNS it is not an issue to find the respective public IP address of the gateway. That all works well.

      But now I have added a second gateway which sits behind another router (that includes an LTE modem to connect to the internet). I have set up the interface to use DHCP (internal IP address provided by the upstream router). But how can I have pfSense figure out the public IP of this gateway (i.e. the public IP of the upstream router)? pfSense only seems to see the internal IP the upstream router hands out...

      Thanks

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

        @sensewolf by default if the interface has private IP it would use the check IP service you have enabled

        fetched.jpg

        https://docs.netgate.com/pfsense/en/latest/services/dyndns/check-services.html

        By default it would use http://checkip.dyndns.org/

        checkip.jpg

        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

        S 1 Reply Last reply Reply Quote 0
        • S
          sensewolf @johnpoz
          last edited by

          Thanks @johnpoz

          And is there a way to see what pfSense determines the public IP to be (so I know it is working)?

          On the interface page it only shows the internal one...

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

            @sensewolf just go there... for example

            http://checkip.dyndns.org/

            checkip.jpg

            Make sure you don't have the builtin one disabled - that little action column all the way on the right

            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

            S 1 Reply Last reply Reply Quote 0
            • S
              sensewolf @johnpoz
              last edited by

              @johnpoz

              Sorry, what I meant was:

              Can I see somewhere in pfSense what pfSense has found out? (I do actually know what my IP is - I want to be sure that pfSense does too...)

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

                @sensewolf said in What is my *@! IP?:

                I want to be sure that pfSense does too

                well if you go there from your browser it should show the IP your expecting..

                If you enabled verbose logging in the ddns I would think you would get some info on what it found, etc etc.

                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

                S 1 Reply Last reply Reply Quote 0
                • S
                  sensewolf @johnpoz
                  last edited by

                  @johnpoz

                  Ah, I see.

                  Well, I just took a leap of faith and updated my dynamic DNS with "whatever" pfSense found. And now - after the update - it does show on the Dynamic DNS page.

                  I had just hoped to be able to check the IP beforehand (in order to avoid updating with an incorrect IP). But it all seems to have worked fine.

                  Thanks for your help!!!

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