Comments (5)
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.
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.
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.
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.
We've moved to the wintun driver. This should no longer be an issue.
from nebula.
Related Issues (20)
- Support access using SSH certificates + groups HOT 2
- Help: SG group management for one big cluster. HOT 1
- 🐛 BUG: Cannot reconnect after successfully establishing connection HOT 2
- 🐛 BUG: Logging is very heavy if certificate has expired. HOT 1
- 🐛 BUG:How do I get the client virtual ip after the relay? HOT 12
- 🐛 BUG: tun cannot be unset on mac os HOT 4
- lighthouse.dns.host does not accept ::, but listen.host does HOT 2
- 🐛 BUG: Runtime Panic HOT 1
- Feature request: Ability to install multiple instances of nebula-service on Windows
- Thanks for nebula
- example config: commented punchy.respond value should be false HOT 1
- 🐛 BUG: tests fail after 2027-11-11 HOT 1
- 🐛 BUG: Unable to reconnect after server crash HOT 4
- 🐛 BUG: overall poor behavior with "not before" field in host certificate HOT 5
- Feature request: push unsafe routes from lighthouse HOT 1
- 🐛 BUG:Failed to setup adapter (problem code: 0x34) HOT 21
- Feature Request: Relative paths in config HOT 1
- Feature Request: `nebula-service -test -config` should warn about unknown keys and stuff in config yaml
- 🐛 BUG: wintun failed HOT 6
- 🐛 BUG: Event Log spam when handshake timeout fails HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nebula.