-
-
Save MartinN3/d513505687f5fe999caaab2ac3043357 to your computer and use it in GitHub Desktop.
install openvpn3 and dependencies on Kali Linux in ARM64 image
This file contains hidden or 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-04-17 | |
# PM me if broken and I will update | |
# Thanks to the following for bug reports / additions | |
# asingh-lp, Pyr0technicien | |
# update packages | |
sudo apt update | |
# too slow for our usecase of fast installation | |
# 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 ARM64 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_arm64.deb | |
wget http://ftp.us.debian.org/debian/pool/main/t/tinyxml2/libtinyxml2-8_8.0.0+dfsg-2_arm64.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_arm64.deb | |
# install dependencies | |
sudo dpkg -i libtinyxml2-8_8.0.0+dfsg-2_arm64.deb libjsoncpp24_1.9.4-4_arm64.deb libssl1.1_1.1.1w-0+deb11u1_arm64.deb | |
# update packagelist and install openvpn3 | |
sudo apt update | |
sudo apt install openvpn3 |
gist updated, and it helped me to reveal bug where i was downloading amd64 but installing arm64. thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
btw, i just updated the version of libssl1.1 to the current one (w) on the gist that you forked this from. You may wish to do the same