Skip to content

Commit

Permalink
Add openvpn3 for ubuntu 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
mahdihasnat committed Nov 9, 2024
1 parent 8b94956 commit 86e5c83
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions scripts/openvpn3.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 86e5c83

Please sign in to comment.