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

Difference between real IP and Remote/Virtual IP

Scheduled Pinned Locked Moved OpenVPN
6 Posts 3 Posters 540 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.
  • P
    Plugje
    last edited by Plugje May 16, 2019, 8:51 PM May 16, 2019, 8:49 PM

    Hi,

    I noticed a difference in OpenVPN between the Remote/Virtual IP in pfSence and the real IP when connected to pfSense with a laptop.

    In pfSence the Remote/Virtual IP is 213.152.161.137 but when I check my IP on a connected laptop with "WhatIsMyIP.com" it is 213.152.161.138.
    Also when I reconnect to AirVPN there is always a difference from +1 in the IP.

    Is this normal, or is this a bug or something?

    J 1 Reply Last reply May 17, 2019, 10:46 AM Reply Quote 0
    • J
      JKnott @Plugje
      last edited by May 17, 2019, 10:46 AM

      @Plugje

      That looks like the addresses at the 2 ends of the VPN and is entirely normal.

      PfSense running on Qotom mini PC
      i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
      UniFi AC-Lite access point

      I haven't lost my mind. It's around here...somewhere...

      1 Reply Last reply Reply Quote 0
      • J
        johnpoz LAYER 8 Global Moderator
        last edited by May 17, 2019, 10:55 AM

        Where exactly are you looking at this IP in pfsense.. Normally the vpn client in pfsense would get a rfc1918 address.. Are you saying they are using a public IP for the tunnle? Or did you just make up that IP vs giving the 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.7.2, 24.11

        P 1 Reply Last reply May 17, 2019, 2:00 PM Reply Quote 0
        • P
          Plugje @johnpoz
          last edited by May 17, 2019, 2:00 PM

          @johnpoz

          I am looking in the OpenVPN Dashboard widget, but the Remote Host IP in the Status - OpenVPN page is the same. I noticed already that with PIA I get a totallly different IP addres, not even in the same range. So it looks that it is a normal behaviour.

          1 Reply Last reply Reply Quote 0
          • J
            johnpoz LAYER 8 Global Moderator
            last edited by May 17, 2019, 2:08 PM

            So for example
            example.png

            Here that public IP on the top is the IP connecting too.. The below rfc1918 is my clients tunnel IP - which would be natted either the IP am connecting too... Or in the case of large vpn services could any pretty much any other IP.. Since you have no idea what IP they might nat your connection to the public world.. There is nothing saying its going to be the IP your connecting to their service with which is the remote/virtIP you see on the widget..

            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.7.2, 24.11

            P 1 Reply Last reply May 17, 2019, 2:14 PM Reply Quote 0
            • P
              Plugje @johnpoz
              last edited by May 17, 2019, 2:14 PM

              @johnpoz

              Oke, I understand. So it's a coincidence that with AirVPN the outgoing IP is just 1 number difference.

              Thanks for the explanation! ☺

              1 Reply Last reply Reply Quote 0
              6 out of 6
              • First post
                6/6
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                This community forum collects and processes your personal information.
                consent.not_received