diff --git a/netbird/Makefile b/netbird/Makefile index f087247..def49dd 100644 --- a/netbird/Makefile +++ b/netbird/Makefile @@ -1,6 +1,6 @@ PORTNAME= netbird DISTVERSIONPREFIX= v -DISTVERSION= 0.60.0 +DISTVERSION= 0.60.2 CATEGORIES= security net net-vpn MAINTAINER= hakan.external@netbird.io diff --git a/pfSense-pkg-NetBird/files/usr/local/pkg/netbird.xml b/pfSense-pkg-NetBird/files/usr/local/pkg/netbird.xml index 71e8c08..c40bea4 100644 --- a/pfSense-pkg-NetBird/files/usr/local/pkg/netbird.xml +++ b/pfSense-pkg-NetBird/files/usr/local/pkg/netbird.xml @@ -132,6 +132,62 @@ checkbox + + Enable Root Login + enablesshroot + + + + checkbox + + + Enable SFTP + enablesshsftp + + + + checkbox + + + Enable Local Port Forwarding + enablesshlocalportfwd + + + + checkbox + + + Enable Remote Port Forwarding + enablesshremoteportfwd + + + + checkbox + + + Enable SSH Authentication + enablesshauth + + + + + + + checkbox + on + DNS diff --git a/pfSense-pkg-NetBird/files/usr/local/pkg/netbird/netbird.inc b/pfSense-pkg-NetBird/files/usr/local/pkg/netbird/netbird.inc index e0720f4..ebd0698 100644 --- a/pfSense-pkg-NetBird/files/usr/local/pkg/netbird/netbird.inc +++ b/pfSense-pkg-NetBird/files/usr/local/pkg/netbird/netbird.inc @@ -45,6 +45,11 @@ function netbird_resync_config() $config_map = [ 'enablessh' => ['ServerSSHAllowed', true], + 'enablesshroot' => ['EnableSSHRoot', true], + 'enablesshsftp' => ['EnableSSHSFTP', true], + 'enablesshlocalportfwd' => ['EnableSSHLocalPortForwarding', true], + 'enablesshremoteportfwd' => ['EnableSSHRemotePortForwarding', true], + 'enablesshauth' => ['DisableSSHAuth', false], 'blockinboundconn' => ['BlockInbound', true], 'allowfirewallconfig' => ['DisableFirewall', false], 'enabledns' => ['DisableDNS', false], @@ -82,6 +87,7 @@ function netbird_validate_input($post, &$input_errors) if (!empty($wireguard_port) && (!ctype_digit($wireguard_port) || !is_port($wireguard_port))){ $input_errors[] = sprintf(gettext('WireGuard port (%s) is not a valid port.'), $wireguard_port); } + } function netbird_is_connected(): bool diff --git a/pfSense-pkg-NetBird/makefile b/pfSense-pkg-NetBird/makefile index 4241520..09cffd9 100644 --- a/pfSense-pkg-NetBird/makefile +++ b/pfSense-pkg-NetBird/makefile @@ -1,5 +1,5 @@ PORTNAME= pfSense-pkg-NetBird -PORTVERSION= 0.1.0 +PORTVERSION= 0.2.0 CATEGORIES= security MASTER_SITES= # empty DISTFILES= # empty