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

    Openvpn interface destroyed?

    Scheduled Pinned Locked Moved OpenVPN
    6 Posts 2 Posters 1.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.
    • 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
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.