Skip to content

Instantly share code, notes, and snippets.

@serefyarar
Created March 9, 2022 14:43
Show Gist options
  • Save serefyarar/5995dedc64406cc3b1da2f3aad1cd733 to your computer and use it in GitHub Desktop.
Save serefyarar/5995dedc64406cc3b1da2f3aad1cd733 to your computer and use it in GitHub Desktop.
Openconnect m1 mac install script
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