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

    OpenVPN without fixed IPs

    Scheduled Pinned Locked Moved OpenVPN
    4 Posts 3 Posters 826 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
      pfsensebokler.com
      last edited by

      Is there a detailed "how-to" guide for setting up OpenVPN with dynamic IP on the WAN-side?

      1 Reply Last reply Reply Quote 0
      • ?
        Guest
        last edited by

        I use namecheap's dyndns service in the router's page: http://192.168.1.1/services_dyndns.php

        Then with the OpenVPN client export (http://192.168.1.1/vpn_openvpn_export.php)  I selected 'Host Name Resolution' with the option of DynDNS sub.mydomain.com

        Then the clients will connect to this dyndns name.

        1 Reply Last reply Reply Quote 0
        • P
          pfsensebokler.com
          last edited by

          Are all the other steps required to set up a VPN the same?

          1 Reply Last reply Reply Quote 0
          • D
            divsys
            last edited by

            Are all the other steps required to set up a VPN the same?

            Yes, the OpenVPN server running on pfSense only needs to know that it should be "listening" for connections on the WAN NIC (or whichever one you choose).
            It doesn't care how someone outside your network finds the address of the WAN NIC, that's their problem.
            DDNS solves that problem by giving you an easy to remember domain name that is translated behind the scenes into the external IP address of the WAN NIC.

            The great "Client Export" package makes it easy to install the correct client with all the settings for DDNS, certificates, etc. preset for you.

            I just had this discussion with someone else recently and it takes far more time to describe the process of making this all work than to actually do it.
            It really is fairly simple once you see it in action, try it out and we'll help as necessary.

            -jfp

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