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

    2.7.2 unable to create TAP without tunnel address

    Scheduled Pinned Locked Moved OpenVPN
    2 Posts 1 Posters 249 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
      TugBoat
      last edited by

      I am trying to create a OpenVPN tap tunnel [Peer to Peer (SSL/TLS)]- for use with a L2 bridge.

      If I leave the Tunnel address blank then I get the following error:

      "TAP server mode requires an IPv4/IPv6 Tunnel Network or Bridge Interface to work."

      Which all makes sense, except I can't find anywhere to specify the "Bridge Interface".

      There is a section on the setup form relating to Bridge DHCP, including a "Bridge Interface" - but all these inputs are disabled.

      What am I missing here? Does anyone know what I need to do to create OpenVPN TAP mode tunnels for use with a L2 bridge?

      Thanks,
      Tim

      1 Reply Last reply Reply Quote 1
      • T
        TugBoat
        last edited by

        Interestingly, the OpenVPN Client end is quite happy to have no tunnel specified.

        So, as an experiment I commented out the line of code that was producing the error (line 612 in /usr/local/www/vpn_openvpn_server.php) and then configured the OpenVPN Server with no tunnel address.

        Everything appears to work perfectly. I have an OpenVPN tap mode tunnel, connect it to a bridge and it works as expected.

        So how am I supposed to do this without messing with the code?

        Tim

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