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

    Import openVPN from pfSense 1.2.3

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    7 Posts 2 Posters 3.2k 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
      bajo
      last edited by

      Hi,

      is it possible to import and reuse the settings, certificates and keys from an pfSense 1.2.3 installation into pfSense 2.0 ?

      Thanks in advance,

      Markus

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        It is possible, but last I knew, there were still a couple quirks in the upgrade code that may prevent things from working as desired right away.

        We still haven't had enough people try it and report what doesn't work like they want, and provide before-and-after configuration files for comparison.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • B
          bajo
          last edited by

          I would be glad to help and provide the before and after config files.
          The big question for me is: How do I start the import process ?
          And which files do you need (/var/etc/openvpn/*.conf) ?

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            Just backup your config.xml from Diagnostics > Backup/Restore, save that somewhere, and then you can restore that to a 2.0 install.

            Or if you install 2.0 on top of 1.2.x, it upgrades/converts automatically.

            We'd just need copies of config.xml before and after the upgrade, and if something doesn't work, we'd need to know what you had to change to make it work. (and possibly another config showing that)

            you can remove passwords from the config, and any really private info.

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

            1 Reply Last reply Reply Quote 0
            • jimpJ
              jimp Rebel Alliance Developer Netgate
              last edited by

              I just upgraded my home router from 1.2.3 to 2.0 last night and fixed an OpenVPN upgrade quirk when I did it, and found a couple more.

              The only thing that prevented my tunnels from coming back up was the fact that the LZO compression setting didn't carry over. I checked in a fix for that last night.

              The other things I found were that the Dynamic IP setting for servers, and the CRL list for servers, were not present in 2.0. I fixed the dynamic IP choice, but the CRL will take a bit more time/effort.

              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • B
                bajo
                last edited by

                I tried to get my config.xml imported into 2.0 but this would only give me an error, so I had to import the settings by hand.

                I had a openVPN configuration with Public Key Infrastructure (PKI) which is not present with this name in pfsense 2.0 Beta1.
                I quess it is now called "Remote Access (SSL/TLS)" but I'm not sure of that.

                I think I can insert my CA, certificate and private key files, but how can I do this with my DH file?
                Is this the same on every system? Unlikely, so I guess I have to replace the dh1024 file on the filesystem itself.

                1 Reply Last reply Reply Quote 0
                • jimpJ
                  jimp Rebel Alliance Developer Netgate
                  last edited by

                  Correct, that is Remote Access (SSL/TLS)

                  You do not need to import the same DH parameters, you can generate new ones and it shouldn't hurt anything. They aren't tied to the CA or Cert.

                  Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

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