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

    Public IP and WAN IP different

    Scheduled Pinned Locked Moved General pfSense Questions
    4 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
      Sir_SSV
      last edited by

      Had a question, my public IP address is 118.x.x.x and my pfSense wan IP is 100.x.x.x

      How come these are different? I thought the wan IP would be the same as the public IP?

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

        so you wan IP is 100.64.x.x - this is a carrier grade nat IP space.. 100.64.0.0/10

        If your behind a cgnat, then yes your pfsense wan IP would be something 100.64.x.x while when you go to the say whats my ip . com you would see the actual public IP your using after your isp nats your 100.64 to real public 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 1
        • S
          Sir_SSV
          last edited by

          Are there any issues being behind cgnat?

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

            Normally very difficult to have any unsolicited inbound traffic. Unless your ISP has setup ports to be sent to your 100.64.x.x IP, or allows for you to request them.

            Its pretty much the same as your IPs behind your nat router not seeing inbound traffic unless you create a port forward on your router.

            If you have no need for inbound traffic - say you running a plex server, or hosting httpd, or whatever then not you prob won't have any problems. But if your wanting to say host some online games or something... Then yeah it can be a problem.

            if you would like to say vpn into your home while your on the road with your phone or laptop or something - then yeah problematic for sure.

            Do you also have IPv6? If you have IPv6 you could leverage that for the services you want to host off your connection. Problem there is not everyone has IPv6, nor all locations.. Say your on some hotspot at a coffee shop or something and want to vpn to your home - the coffee shop might not have ipv6 for you to use.

            edit: upon looking I do see you connecting a few times with IPv6 to the forum.. So I would assume you have it - but that could of been off your phone (not using wifi) or something? For example t-mobile, atleast in my region has gone full ipv6 on their data connections. Your phone never gets an IPv4 address other than via wifi. When you want to talk to an IPv4 address you use a NAT64 gateway they have setup.

            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 1
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.