Comments (10)
@mudler I know for sure there is some support for tunnels, after all OpenBSD is famous for it's routing and firewall, but as for the specific library in question, I do not know. I can look it up on my system if you know offhand the names of the library files in question.
If it is any help whatsoever: The FAQ Networking page
and a good source for discovering what extra libraries are available is Open Ports
from edgevpn.
@mudler Will do. Awesome, I am so excited! Happy dance time!
from edgevpn.
Seems someone patched the underlying lib used for tun/tap for FreeBSD: https://github.com/derrick658/water/commit/7dd4a78ba9451ac28603cdff8ed682d0ba69f311, so this sounds definitely doable.
from edgevpn.
Seems someone patched the underlying lib used for tun/tap for openBSD: derrick658/water@7dd4a78, so this sounds definitely doable.
Sweetness!
from edgevpn.
@mudler No worries, from everything I can gather you are a polite and very busy individual. There is no rush, things are crazy in my corner of the pond as well.
from edgevpn.
Good point!
I didn't checked if the underlaying tun libs supports it, if it does should be working.
I'll have a look at that, thanks for bring this up!
from edgevpn.
I'll give it a shot in the weekend, at least we can get something to build against and try out :)
from edgevpn.
@anoduck ok, this builds: 7adff52 however the netlink part which sets up the interface is not available for FreeBSD so I have tossed some commands which probably are wrong - but as I'm not a FreeBSD expert I'd appreciate some help if you can play with that part!
from edgevpn.
@mudler And, so it begins...
Got these two errors during build:
pkg/vpn/interface.go:27:56: unknown field 'Persist' in struct literal of type water.PlatformSpecificParams
pkg/vpn/interface.go:29:9: config.Name undefined (type water.Config has no field or method Name)
Of course, the use of persist leads to the failure of water.config. I attempted to swap out interface.go
with interface_darwin.go
, but then both createInterface and prepareInterface became undefined.
I am going to have to look more deeply into water's process of creating a new interface OpenBSD's means of network interface configuration is more eccentric than FreeBSD's. If I remember correctly, FreeBSD's interface configuration is almost Linux-ish. It has been a while since I installed a fresh FreeBSD system, and after programming for a few hours, my mental faculties are spent.
Looking on the bright side, at least we are not working on HURD's network stack. It was completely foreign from my experience.
from edgevpn.
apologize to get back at you late! I'll try to play with it in the weekend and see. I'm not a *BSD user, so will take a bit from my side, I'll check if at least we can get away from compiler errors
from edgevpn.
Related Issues (20)
- How do I open the home network port?
- Could edgevpn auto routing when one of node be blocked ?
- Trying to run on windows HOT 1
- Documenation info about Desktop GUI and also WebUI and API
- Program terminates after "timeout: no recent network activity" HOT 2
- Can edgevpn be configured to use a different non-routable network for VPN than 10.x.x.x HOT 1
- Example Steps to actually run edgevpn using 3 separate servers HOT 1
- Is it possible to have access levels? HOT 2
- edgevpn Does it support open UDP ports? I want to use edgeVPN to provide PalWorld Server
- poor data transfer speed HOT 1
- EdgeVPN proxy does not work. HOT 1
- Does EdgeVPN work on OpenWRT HOT 1
- Automatic relaying behind NAT for DCUtR HOT 1
- Memory Usage HOT 2
- panic: send on closed channel HOT 1
- system: cannot reserve inbound connection: resource limit exceeded"
- bandwith usage HOT 1
- Feature request - Could EdgeVPN be enabled to give the User the option to save a New VPN config/token as a /path/File and a cmd switch to tell Edgevpn to read its config/token from /path/file HOT 1
- Feature Request - can Edgevpn gain support for routing "subnets" on a host/node? HOT 3
- Dependency Dashboard
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 edgevpn.