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

    PfSense reporting private IP and not WAN ip

    Scheduled Pinned Locked Moved NAT
    12 Posts 7 Posters 1.7k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by

      Yeah thats not really possible.. not sure how they are getting the IP on that page - but its not possible to be talking to a public website with a rfc1918 address.  Unless you were local to where the page was hosted.

      Not something that would be reported by pfsense..  You would have to ask them how they determine your IP.  I just went there it was fine.

      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
      • KOMK
        KOM
        last edited by

        I get INVALID IP4 ADDRESS

        1 Reply Last reply Reply Quote 0
        • K
          kejianshi
          last edited by

          Did you photoshop the website image or are they really just that screwed up?

          1 Reply Last reply Reply Quote 0
          • S
            siddharthm
            last edited by

            I dd not photoshop anything. Infact i wanted to check is pfsense using the correct wan port for browsing… anyways i think its fine now. there might have been a temp glitch.

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              Yeah - I'd say their website was screwing up.  haha.

              1 Reply Last reply Reply Quote 0
              • S
                siddharthm
                last edited by

                Got it.
                when you go through squid websites like dsstuff.com are reporting your private ip.

                any ways to stop this thing happening

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

                  You would have to know how the site is getting this IP..  Its impossible for you to talk to them using a private IP, so its their flawed way of getting the ip if they are showing a rfc1918 address.

                  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
                  • D
                    doktornotor Banned
                    last edited by

                    @johnpoz:

                    You would have to know how the site is getting this IP..

                    X-Forwarded-For; 300% broken idiotic behaviour.

                    @OP: Stop using idiotic sites to check your external IPs.

                    1 Reply Last reply Reply Quote 0
                    • K
                      kejianshi
                      last edited by

                      Yeah - That X-Forward crap can (and probably should) be turned off in squid settings.

                      There are actually sites that will refuse you service if they detect a proxy at all.

                      There are several little check blocks you can click to hide the fact that you are using a proxy.

                      No shoes, no shirt - fine…  Proxy - no service.

                      1 Reply Last reply Reply Quote 0
                      • M
                        muswellhillbilly
                        last edited by

                        If you type 'What's my ip' into Google it ought to give you the valid external address. As can many other sites (whatsmyip.com, whatsmyip.org, and so on…)

                        1 Reply Last reply Reply Quote 0
                        • jimpJ
                          jimp Rebel Alliance Developer Netgate
                          last edited by

                          I have also seen some pages use some JavaScript and/or WebRTC trickery to find the local IP address, but usually a proxy and X-Forwarded-For is the culprit.

                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                          Need help fast? Netgate Global Support!

                          Do not Chat/PM for help!

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