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

    Openvpn tunnel forwards my home IP through vps

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 943 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.
    • T Offline
      TommyL
      last edited by

      Hi!

      I have a Linux VPS server, which I am using as my private VPN server. This vps is connected as a user on my pfsense gateway, with an IP of 10.8.0.2. The problem is that the vps is forwarding my home WAN IP when checking whatismyip.com, not the vps IP. Does anyone know how I can correct this?  ???

      Regards

      Tommy

      1 Reply Last reply Reply Quote 0
      • S Offline
        snailguy1
        last edited by

        on your VPS, there will have been a setting when you installed openvpn (and probably in the gui interface also) to route all traffic through the VPN, and same for DNS. If you chose no, that's probably why.

        1 Reply Last reply Reply Quote 0
        • T Offline
          TommyL
          last edited by

          I'll have a look at that, thanks. Alternatively, could it be that i have to make a server on the vps, and put pfsense as a client instead? The opposite of what I have done now?

          1 Reply Last reply Reply Quote 0
          • M Offline
            mhertzfeld
            last edited by

            If your goal is to have the traffic from your home go to your VPS then out to the internet, then yes you have it backwards.

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