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