Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. VPN
  3. OpenVPN shows local IP address

OpenVPN shows local IP address

Scheduled Pinned Locked Moved VPN
8 Posts 3 Posters 1.5k Views 3 Watching
  • 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.
    • A Offline
      A Offline
      abargel
      wrote on last edited by
      #1

      Hi,

      On my new Cloudron install, OpenVPN shows as remote IP the IP address of my local router, instead of that of the VPS on which it is installed.

      Didn't have this problem on previous Cloudron install, and pretty sure I set up both the same way.

      How could I troubleshoot this?

      fbartelsF 1 Reply Last reply
      0
      • A Offline
        A Offline
        abargel
        wrote on last edited by
        #2

        I'm still racking my brain about this. In the OpenVPN settings, I've set up the DNS to point to the VPS so that AdGuard catches it.

        I had also set up an OpenVPN client on the router (Freebox Pop, if anyone knows the French market), but I turned that off and it doesn't change it.

        How come OpenVPN shows the router IP and not the VPS IP??

        1 Reply Last reply
        0
        • A abargel

          Hi,

          On my new Cloudron install, OpenVPN shows as remote IP the IP address of my local router, instead of that of the VPS on which it is installed.

          Didn't have this problem on previous Cloudron install, and pretty sure I set up both the same way.

          How could I troubleshoot this?

          fbartelsF Offline
          fbartelsF Offline
          fbartels
          App Dev
          wrote on last edited by
          #3

          I think there is a misunderstanding here.

          @abargel said in OpenVPN shows local IP address:

          OpenVPN shows as remote IP the IP address of my local router, instead of that of the VPS on which it is installed.

          This is correct. The "remote ip" is the actual (public) ip address of your client. Since you are sitting at home and connecting through your router, this will show your current public ip address.

          Only when you're connected to your vpn and e.g. opening https://ip.me/, then you will see the public ip of your server.

          A 1 Reply Last reply
          2
          • fbartelsF fbartels

            I think there is a misunderstanding here.

            @abargel said in OpenVPN shows local IP address:

            OpenVPN shows as remote IP the IP address of my local router, instead of that of the VPS on which it is installed.

            This is correct. The "remote ip" is the actual (public) ip address of your client. Since you are sitting at home and connecting through your router, this will show your current public ip address.

            Only when you're connected to your vpn and e.g. opening https://ip.me/, then you will see the public ip of your server.

            A Offline
            A Offline
            abargel
            wrote on last edited by
            #4

            @fbartels Hm, yes, thank you for taking the time to clarify this rookie mistake!

            The confusion came from the fact that I am pointing the DNS of two OpenVPN servers (on VPS1 and VPS2) to the IP of VPS2 where I have AdGuard installed. I am connecting from home on both of them, and on AdGuard, one client shows the IP of VPS1, and the other client shows my home router IP. But thinking about it, this makes sense, as this is where the traffic comes from, from the point of view of AdGuard on VPS2. Correct?

            As a "peace of mind" information, could you please confirm that this configuration does not in any way expose my home IP? (except to myself watching on AdGuard)

            girishG 1 Reply Last reply
            0
            • A abargel

              @fbartels Hm, yes, thank you for taking the time to clarify this rookie mistake!

              The confusion came from the fact that I am pointing the DNS of two OpenVPN servers (on VPS1 and VPS2) to the IP of VPS2 where I have AdGuard installed. I am connecting from home on both of them, and on AdGuard, one client shows the IP of VPS1, and the other client shows my home router IP. But thinking about it, this makes sense, as this is where the traffic comes from, from the point of view of AdGuard on VPS2. Correct?

              As a "peace of mind" information, could you please confirm that this configuration does not in any way expose my home IP? (except to myself watching on AdGuard)

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #5

              @abargel The best way to confirm this is to use one of the leak test sites like https://ipleak.org/ . There are various ways IP can be leaked (network, DNS, etc).

              A 1 Reply Last reply
              1
              • girishG girish

                @abargel The best way to confirm this is to use one of the leak test sites like https://ipleak.org/ . There are various ways IP can be leaked (network, DNS, etc).

                A Offline
                A Offline
                abargel
                wrote on last edited by
                #6

                @girish Thanks a lot, all is good on that front! Had a bit of a scare there 😉

                girishG 1 Reply Last reply
                0
                • A abargel

                  @girish Thanks a lot, all is good on that front! Had a bit of a scare there 😉

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #7

                  @abargel As a heads up, be sure to check that on each device you use. Because (unfortunately) openvpn configs are applied differently on different clients since it's a bit platform specific.

                  A 1 Reply Last reply
                  2
                  • girishG girish

                    @abargel As a heads up, be sure to check that on each device you use. Because (unfortunately) openvpn configs are applied differently on different clients since it's a bit platform specific.

                    A Offline
                    A Offline
                    abargel
                    wrote on last edited by
                    #8

                    @girish Thank you, all looking good so far!

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Bookmarks
                      • Search