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

    OpenVPN config stops working after restore config on new box

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 2.4k 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
      trevorsharrison
      last edited by

      I have a site to site vpn with 2 pfsense 1.2.3 rc1 instances.

      At site1, the fan on the firewall's cpu started seizing up, so I grabbed another pc from the spares and put the current pfsense on it, 1.2.3.  I restored the config onto the new box, and everything came back up as it should, but the two sites aren't reestablishing their vpn link.

      I've since gone back to the previous fw box after jury-rigging a replacement cpu fan, and the site-to-site link is going good now.

      I was wondering if the config backup/restore misses something that openvpn needs, or barring that, is there a way to increase the logging details of the vpn system as I wasn't getting much.

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

        Everything you need should be in the config.xml that you restore to the other system. Was the WAN IP address the same on the old and new unit? If it gets an IP by DHCP from upstream somewhere, it may have given a different system a different IP address.

        If you need more detail in the OpenVPN log, just add "verb x;" in the custom options box, where x is a number. I think the default is either 2 or 3, you can go all the way up to 9, but you don't really want that much in most cases.

        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
        • T Offline
          trevorsharrison
          last edited by

          @jimp:

          Everything you need should be in the config.xml that you restore to the other system. Was the WAN IP address the same on the old and new unit? If it gets an IP by DHCP from upstream somewhere, it may have given a different system a different IP address.

          If you need more detail in the OpenVPN log, just add "verb x;" in the custom options box, where x is a number. I think the default is either 2 or 3, you can go all the way up to 9, but you don't really want that much in most cases.

          Yeah, same IP address (static from our ISP).  I will try the verb option.  Thanks.

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