mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/wireguard: allow fqdns in endpoint, fix for init script (#813)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
PLUGIN_NAME= wireguard
|
||||
PLUGIN_VERSION= 0.2
|
||||
PLUGIN_VERSION= 0.3
|
||||
PLUGIN_COMMENT= WireGuard VPN service
|
||||
PLUGIN_DEPENDS= wireguard
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
||||
@@ -38,7 +38,7 @@ wireguard_start()
|
||||
echo "starting wireguard"
|
||||
for STARTER in ${wireguard_config}; do
|
||||
$command up $STARTER
|
||||
ifconfig $STARTER group wireguard
|
||||
ifconfig $STARTER group wg
|
||||
done
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<model>
|
||||
<mount>//OPNsense/wireguard/client</mount>
|
||||
<description>Wireguard Client configuration</description>
|
||||
<version>0.0.2</version>
|
||||
<version>0.0.3</version>
|
||||
<items>
|
||||
<clients>
|
||||
<client type="ArrayField">
|
||||
@@ -24,7 +24,7 @@
|
||||
<Required>Y</Required>
|
||||
<asList>Y</asList>
|
||||
</tunneladdress>
|
||||
<serveraddress type="NetworkField">
|
||||
<serveraddress type="HostnameField">
|
||||
<Required>N</Required>
|
||||
</serveraddress>
|
||||
<serverport type="PortField">
|
||||
|
||||
Reference in New Issue
Block a user