​how to connect vpn in Linux

Download and unpack
ftp://ftp.bgu.ac.il/pub/linux/vpn/

cd Downloads
tar xf vpn.tar
cd VPN
________________________________________
Prerequisites installation
Fedora 25
dnf install compat-libstdc++-33.x86_64 compat-libstdc++-33.i686 audit-libs.i686 pam.i686

Ubuntu 16.04
dpkg --add-architecture i386
apt-get update
apt-get -f install
dpkg -i libstdc++5_3.3.6-25ubuntu1_i386.deb
 
Ubuntu 16.10 
​dpkg --add-architecture i386
apt-get update
apt-get -f install
dpkg -i --force-overwrite libstdc++5_3.3.6-28ubuntu1_i386.deb libpam0g_1.1.8-3.2ubuntu2_i386.deb

Ubuntu 18.04

dpkg --add-architecture i386
apt-get install libx11-6:i386
apt-get install libstdc++5:i386 libpam0g:i386
________________________________________
VPN Installation 

bash snx_install.sh​​​
--------------------------------------------------------------

Ubuntu 20.04

dpkg --add-architecture i386
apt-get update
apt-get upgrade
apt-get install libc6-i386 libx11-6:i386 libstdc++5:i386 libpam0g:i386

________________________________________
VPN Installation 

bash snx_install.sh
________________________________________
Logging

snx -s vpn.bgu.ac.il -u username@vpn 

The password is 6 digit token.
________________________________________
Disconnect

snx -d