From 86e5c83caf341599e3c1eee8cc9555c5a78f04ba Mon Sep 17 00:00:00 2001 From: Mahdi Hasnat Siyam Date: Sat, 9 Nov 2024 13:20:34 +0600 Subject: [PATCH] Add openvpn3 for ubuntu 24.04 --- scripts/openvpn3.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 scripts/openvpn3.sh diff --git a/scripts/openvpn3.sh b/scripts/openvpn3.sh new file mode 100755 index 0000000..a65e358 --- /dev/null +++ b/scripts/openvpn3.sh @@ -0,0 +1,13 @@ +#!/bin/bash +set -eux + +# install openvpn3 + +apt install apt-transport-https curl + +mkdir -p /etc/apt/keyrings ### This might not exist in all distributions +curl -sSfL https://packages.openvpn.net/packages-repo.gpg >/etc/apt/keyrings/openvpn.asc + +echo "deb [signed-by=/etc/apt/keyrings/openvpn.asc] https://packages.openvpn.net/openvpn3/debian noble main" >/etc/apt/sources.list.d/openvpn3.list +apt update +apt install openvpn3