]> git.ipfire.org Git - people/ms/ipfire-2.x.git/commitdiff
core195: Ship WireGuard
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Apr 2025 14:47:33 +0000 (14:47 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 24 Apr 2025 14:47:33 +0000 (14:47 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/core/195/filelists/files
config/rootfiles/core/195/filelists/wireguard-tools [new symlink]
config/rootfiles/core/195/update.sh

index ca8972dd2e3b8b064c4f000da56f09c8bc80d782..c482e0f9c9c9ceb0ecea215de0c4605ba65a0317 100644 (file)
@@ -1,6 +1,22 @@
+etc/fcron.cyclic/wg-dynamic
+etc/rc.d/init.d/firewall
+etc/rc.d/init.d/networking/functions.network
+etc/rc.d/init.d/wireguard
+lib/udev/network-aqm
 opt/pakfire/lib/functions.pl
 srv/web/ipfire/cgi-bin/ddns.cgi
+srv/web/ipfire/cgi-bin/firewall.cgi
+srv/web/ipfire/cgi-bin/fwhosts.cgi
 srv/web/ipfire/cgi-bin/pakfire.cgi
+srv/web/ipfire/cgi-bin/services.cgi
+srv/web/ipfire/cgi-bin/wireguard.cgi
+srv/web/ipfire/html/themes/ipfire/include/css/style.css
+usr/lib/firewall/firewall-lib.pl
+usr/local/bin/wireguardctrl
+usr/sbin/firewall-policy
 var/ipfire/general-functions.pl
+var/ipfire/header.pl
 var/ipfire/http-client-functions.pl
 var/ipfire/ids-functions.pl
+var/ipfire/menu.d/40-services.menu
+var/ipfire/wireguard-functions.pl
diff --git a/config/rootfiles/core/195/filelists/wireguard-tools b/config/rootfiles/core/195/filelists/wireguard-tools
new file mode 120000 (symlink)
index 0000000..412bf8c
--- /dev/null
@@ -0,0 +1 @@
+../../../common/wireguard-tools
\ No newline at end of file
index ee9b534976e48be8f8dce40bc2bbb49b9053ceac..1895513b1f0758f53ad3efcc6b07f3e75e57b239 100644 (file)
@@ -41,6 +41,12 @@ extract_files
 # update linker config
 ldconfig
 
+# Create the Wireguard configuration directory
+if [ ! -d "/var/ipfire/wireguard" ]; then
+       mkdir -pv "/var/ipfire/wireguard"
+       chown nobody:nobody "/var/ipfire/wireguard"
+fi
+
 # Update Language cache
 /usr/local/bin/update-lang-cache
 
@@ -48,6 +54,7 @@ ldconfig
 /usr/local/bin/filesystem-cleanup
 
 # Start services
+/etc/init.d/firewall restart
 
 # This update needs a reboot...
 #touch /var/run/need_reboot