forked from pool/nebula
4612244716
* Support UDP dialing with gVisor * Make some Nebula state programmatically available via control object * Switch internal representation of IPs to netip, to prepare for IPv6 support * Various dependency updates * Fix a bug on big endian hosts, like mips * Fix a rare panic if a local index collision happens * Fix integer wraparound in the calculation of handshake timeouts on 32-bit - build the binaries non statically - remove enable-pie.patch as it's not needed anymore, since we build the binaries manually, not using the Makefile anymore OBS-URL: https://build.opensuse.org/package/show/network:vpn/nebula?expand=0&rev=11
31 lines
803 B
Desktop File
31 lines
803 B
Desktop File
[Unit]
|
|
Description=Nebula overlay networking tool
|
|
Wants=basic.target network-online.target nss-lookup.target time-sync.target
|
|
After=basic.target network.target network-online.target
|
|
Before=sshd.service
|
|
AssertDirectoryNotEmpty=/etc/nebula
|
|
|
|
[Service]
|
|
Type=notify
|
|
NotifyAccess=main
|
|
SyslogIdentifier=nebula
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
ExecStart=/usr/sbin/nebula -config /etc/nebula/config.yml
|
|
Restart=always
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
PrivateDevices=true
|
|
ProtectClock=true
|
|
ProtectControlGroups=true
|
|
ProtectHome=true
|
|
ProtectHostname=true
|
|
ProtectKernelLogs=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelTunables=true
|
|
RestrictRealtime=true
|
|
# give permission to TUN
|
|
BindPaths=/dev/net/tun
|
|
DeviceAllow=/dev/net/tun rw
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|