spksrc icon indicating copy to clipboard operation
spksrc copied to clipboard

[Package Request] Nebula

Open IngwiePhoenix opened this issue 3 years ago • 3 comments

Software Name

Nebula

Brief Description

Nebula is sort-of a VPN but really just a P2P overlay network. It has VPN-like capabilities and would be a great use-case to connect to your NAS from outside without having to open ports. It can also be used to set up a reverse proxy on an outside server to act as a front-end to the NAS.

Website

https://www.defined.net/nebula/

Documentation

No response

Build/Installation documentation

https://github.com/slackhq/nebula#building-nebula-from-source

Source code

https://github.com/slackhq/nebula

OpenSource License

MIT

Other License

No response

IngwiePhoenix avatar Jun 25 '22 22:06 IngwiePhoenix

Additionally: The provided release binaries actually do run already:

admin@DiskStation:~/nebula$ uname -a
Linux DiskStation 2.6.32.12 #25556 Thu Jul 1 14:25:48 CST 2021 armv5tel GNU/Linux synology_88f6282_413j
admin@DiskStation:~/nebula$ ./nebula -config ./config.yml
INFO[0000] Firewall rule added                           firewallRule="map[caName: caSha: direction:outgoing endPort:0 groups:[] host:any ip: proto:0 startPort:0]"
INFO[0000] Firewall rule added                           firewallRule="map[caName: caSha: direction:incoming endPort:0 groups:[] host:any ip: proto:0 startPort:0]"
INFO[0000] Firewall started                              firewallHash=21716b47a7a140e448077fe66c31b4b42f232e996818d7dd1c6c4991e066dbdb
ERRO[0000] Failed to get a tun/tap device                error="no such file or directory"

But as you can see, there is a problem creating the tun/tap device. My guess is that the kernel probably does not have proper modules loaded for that. (Same happens with sudo.)

That said, it looks like it'd run nicely!

IngwiePhoenix avatar Jun 25 '22 22:06 IngwiePhoenix

After enabling the tun kernel module and getting beyond that error message, I was faced with recvmmsg: function not implemented`.

Looking at official documentation for it, it seems that recvmmsg was introduced in kernel 2.6.33; well, I have 2.6.32.

So whilst this might not be usable for me, it might be for someone else! :)

IngwiePhoenix avatar Jun 26 '22 00:06 IngwiePhoenix

Because almost everybody is behind a Nat router it is of course impossible to connect to something behind the router without portforwarding. This is also true for nebula.

BenjV avatar Jun 27 '22 20:06 BenjV