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

    IP not showing as VPN IP but mobile phones IP

    Scheduled Pinned Locked Moved IPsec
    5 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.
    • B Offline
      bluewizard
      last edited by

      Hello All,
        I just got my PFsense setup to be able to connect to my IOS (iPhone/iPad) and Mac using the built in IPSec VPN. When I activate it I get the VPN on the IOS devices and the Mac can also connect when tethering via my IOS device.

      Now the question I have is when I am VPNing to my firewall the IP address when I do a "what is my IP address" from google is still the mobile device ISP.
      I feel I am missing something to have all data back to the PFSense box then go out to the internet? I would expect the IP address that is show to be that of my PFSense box.

      I appreciate any help.

      Thank you
      -Ryan

      1 Reply Last reply Reply Quote 0
      • DerelictD Offline
        Derelict LAYER 8 Netgate
        last edited by

        Do you have 0.0.0.0/0 specified in the phase 2?

        Chattanooga, Tennessee, USA
        A comprehensive network diagram is worth 10,000 words and 15 conference calls.
        DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
        Do Not Chat For Help! NO_WAN_EGRESS(TM)

        1 Reply Last reply Reply Quote 0
        • B Offline
          bluewizard
          last edited by

          I do not. (Or I don't believe I do)

          Phase 2: Mobile Clients Page

          Mode: Tunnel IPv4
          Local Network: Lan subnet  - Nothing in the address block
          Nat/BINAT Translation: None - Nothing in the address block
          Description: (blank nothing here)

          Phase 2 Proposal (SA/Key Exchange)
          Protocol: ESP

          Encryption Algorithms
          AES with 256 bits selected
          AES256-GCM with auto selected
          The rest are unchecked

          Hash Algorithms:
          SHA1, SHA256, SHA384 selected. The rest are unchecked

          PFS key group: Off
          Lifetime: 3600 seconds

          Advanced:
          Automatically ping host: (Blank, nothing here)

          Is there something I should have set here?

          1 Reply Last reply Reply Quote 0
          • DerelictD Offline
            Derelict LAYER 8 Netgate
            last edited by

            Try:

            Local Network: Network: 0.0.0.0 /0

            Set Local Network as desired, e.g. LAN subnet

            To pass all traffic, including Internet traffic, across the VPN, set the Local Network to 0.0.0.0/0

            Chattanooga, Tennessee, USA
            A comprehensive network diagram is worth 10,000 words and 15 conference calls.
            DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
            Do Not Chat For Help! NO_WAN_EGRESS(TM)

            1 Reply Last reply Reply Quote 0
            • B Offline
              bluewizard
              last edited by

              Sadly that did not work.

              I seem to still show the IPv6 address that T-Mobile is providing. I found a site that shows a IPv4 address and it is not my VPN servers IP address either.

              I can see the IPv4 addressed machines on my local network when the VPN connects.

              I will say I am puzzled.

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