Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Openvpn interface destroyed?

    Scheduled Pinned Locked Moved OpenVPN
    6 Posts 2 Posters 1.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.
    • K
      kaneda
      last edited by

      After linking due to an error openvpnclient interface to a new interface (OPT2) at Interfaces, I deleted the interface OPT2 and system appear to delete also openvpn real interface or harm it someway.

      OpenVPN status can not find the process,  service are not able to start, and logs give me :

      TUN/TAP device ovpnc1 exists previously, keep at program end 
      Apr 15 11:23:35  openvpn  33171  Cannot open TUN/TAP dev /dev/tun1: Device busy (errno=16) 
      Apr 15 11:23:35  openvpn  33171  Exiting due to fatal error

      how can i solve this?

      1 Reply Last reply
      Reply Quote 0
      • C
        cmb
        last edited by

        A reboot will fix.

        Or if you kill the openvpn process, ifconfig destroy its interface, and restart OpenVPN, that'll probably work as well.

        1 Reply Last reply
        Reply Quote 0
        • K
          kaneda
          last edited by

          I rebooted without sucess… openvpn keep dead, even I recover a past config from yesterday and the problem persists.

          1 Reply Last reply
          Reply Quote 0
          • C
            cmb
            last edited by

            Then it's not related to deleting the OPT interface assignment, something else in the config changed.

            1 Reply Last reply
            Reply Quote 0
            • K
              kaneda
              last edited by

              Solved killing the openvpn process and restarting!
              Hope to restart and keep working, thx!

              1 Reply Last reply
              Reply Quote 0
              • K
                kaneda
                last edited by

                Restarted and working perfectly, thx cmb!

                1 Reply Last reply
                Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post
                Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                Privacy Policy · Cookie Policy