Last active
January 26, 2025 11:18
-
-
Save stuartw1/25d6ecf5b1d8f65e09010e93d5510e80 to your computer and use it in GitHub Desktop.
install openvpn3 and dependencies on Kali Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# The following commands should install openvpn3 successfully on Kali Linux as of 2023-10-11 | |
# Please check libssl1.1 version is newest at https://packages.debian.org/bullseye/amd64/libssl1.1 | |
# PM me if broken and I will update | |
# Thanks to the following for bug reports / additions | |
# asingh-lp, Pyr0technicien | |
# update packages | |
sudo apt update | |
sudo apt full-upgrade | |
# install secure apt transport over https | |
sudo apt install apt-transport-https | |
# add sources.list, get the repo key for openvpn3 and install key | |
sudo wget -O /etc/apt/sources.list.d/openvpn3.list https://swupdate.openvpn.net/community/openvpn3/repos/openvpn3-bullseye.list | |
wget https://swupdate.openvpn.net/repos/openvpn-repo-pkg-key.pub | |
sudo apt-key add openvpn-repo-pkg-key.pub | |
# get Debian Bullseye dependencies which are not in Kali from Debian repos | |
wget http://ftp.us.debian.org/debian/pool/main/libj/libjsoncpp/libjsoncpp24_1.9.4-4_amd64.deb | |
wget http://ftp.us.debian.org/debian/pool/main/t/tinyxml2/libtinyxml2-8_8.0.0+dfsg-2_amd64.deb | |
#Check this is the newest available libssl1.1 when you install - updated 2023-10-11 | |
wget http://ftp.us.debian.org/debian/pool/main/o/openssl/libssl1.1_1.1.1w-0+deb11u1_amd64.deb | |
# install dependencies | |
sudo dpkg -i libtinyxml2-8_8.0.0+dfsg-2_amd64.deb libjsoncpp24_1.9.4-4_amd64.deb libssl1.1_1.1.1w-0+deb11u1_amd64.deb | |
# update packagelist and install openvpn3 | |
sudo apt update | |
sudo apt install openvpn3 |
Thanks - will add later and credit you both - have been away
…On Friday, 2 June 2023, Pyr0technicien ***@***.***> wrote:
***@***.**** commented on this gist.
------------------------------
had to add this to the script :
wget http://snapshot.debian.org/archive/debian/
20220507T034236Z/pool/main/o/openssl/libssl1.1_1.1.1o-1_amd64.deb
dpkg -install [libssl1.1_1.1.1o-1_amd64.deb]
—
Reply to this email directly, view it on GitHub
<https://gist.github.com/stuartw1/25d6ecf5b1d8f65e09010e93d5510e80#gistcomment-4587509>
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AANK3KNWA5QX5I42K6SHOFLXJHMA3BFKMF2HI4TJMJ2XIZLTSKBKK5TBNR2WLJDHNFZXJJDOMFWWLK3UNBZGKYLEL52HS4DFQKSXMYLMOVS2I5DSOVS2I3TBNVS3W5DIOJSWCZC7OBQXE5DJMNUXAYLOORPWCY3UNF3GS5DZVRZXKYTKMVRXIX3UPFYGLK2HNFZXIQ3PNVWWK3TUUZ2G64DJMNZZDAVEOR4XAZNEM5UXG5FFOZQWY5LFVEYTEMJZGY3TONJXU52HE2LHM5SXFJTDOJSWC5DF>
.
You are receiving this email because you authored the thread.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>
.
Updated - thanks again
Thanks guys! I have made fork for arm64 just in case anyone want's to run it on for example raspberry (64bit only!).
Life safer B!!! Thanks :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
had to add this to the script :
wget http://snapshot.debian.org/archive/debian/20220507T034236Z/pool/main/o/openssl/libssl1.1_1.1.1o-1_amd64.deb
dpkg -install [libssl1.1_1.1.1o-1_amd64.deb]