Created
March 9, 2022 14:43
-
-
Save serefyarar/5995dedc64406cc3b1da2f3aad1cd733 to your computer and use it in GitHub Desktop.
Openconnect m1 mac install script
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
git clone https://gitlab.com/openconnect/openconnect.git | |
cd openconnect | |
brew install autoconf automake libtool pkg-config gettext openssl | |
./autogen.sh | |
sudo mkdir /etc/vpnc | |
sudo curl https://gitlab.com/openconnect/vpnc-scripts/raw/master/vpnc-script --output /etc/vpnc/vpnc-script | |
sudo chmod +x /etc/vpnc/vpnc-script | |
export LDFLAGS="-L/opt/homebrew/opt/openssl@3/lib" | |
export CPPFLAGS="-I/opt/homebrew/opt/openssl@3/include" | |
./configure | |
make | |
sudo make install | |
echo 'export PATH="/usr/local/sbin:$PATH"' >> ~/.zshrc | |
brew install vpn-slice |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment