Giter Club home page Giter Club logo

Comments (5)

rpooley avatar rpooley commented on July 24, 2024 1

I have forked the repository and made a small change to tun_windows.go

        PlatformSpecificParams: water.PlatformSpecificParams{
            ComponentID: "tap0901",
            Network:     c.Cidr.String(),
            InterfaceName: c.InterfaceName,
        },

and in main.go added an additional config option for the interface name, this then allows more then one OpenVPN TAP connection to be created and more then one network connection can be made:

config.GetString("tun.interface_name", ""),

There are a few more changes but these will be pretty obvious and I needed to get something working quickly!

It would be good if this could be merged into the main repository.

from nebula.

ozonejunkieau avatar ozonejunkieau commented on July 24, 2024

Debugging this further, nebula works as expected if it is started prior to OpenVPN sessions, but attempting to start nebula after an OpenVPN session results the aforementioned error.

from nebula.

sahoahfoa avatar sahoahfoa commented on July 24, 2024

I did some digging. This issue comes up because water, the library for TUN/TAP interfaces, picks the first TUN/TAP interface it sees in the registry. Water does give you a way to select an interface by name by specifying InterfaceName in PlatformSpecificParams. A user by the name of rpooley has a fork doing just this.

Right now I'm using a work around to force OpenVPN to use the second adapter by specifying dev-node "Interface Name Here" in my .ovpn config file. No more racing to see who connects first on boot.

from nebula.

anedward01 avatar anedward01 commented on July 24, 2024

Hey @rpooley I went ahead and merged your configs with the current repository and created a pull request #293 . It's ready to be reviewed, but it is asking that you acknowledge Slack's CLA. If you could go ahead and read and accept it, we can get it ready to be merged!

from nebula.

nbrownus avatar nbrownus commented on July 24, 2024

We've moved to the wintun driver. This should no longer be an issue.

from nebula.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.