Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save FernandoLoureiroDeAraujo/def7b9cd1d404938d156aeea6867f2fb to your computer and use it in GitHub Desktop.
Save FernandoLoureiroDeAraujo/def7b9cd1d404938d156aeea6867f2fb to your computer and use it in GitHub Desktop.
Configure CheckPoint VPN ArchLinux

Configure CheckPoint VPN ArchLinux

First install this packages:

Yes they have to be 32bits, this is important.

sudo pacman -Sy lib32-pam lib32-libx11 lib32-gcc-libs lib32-nss nss

Then install this package from AUR:

I use trizen as AUR package manager change to your AUR package manager if you use another.

trizen -Sy lib32-libstdc++5

Then download SNX install script:

SNX Script

Change script permission:

sudo chmod +x snx_install_linux30.sh

Install snx:

sudo ./snx_install_linux30.sh

Then connect to your VPN:

snx -s [REPLACE_WITH_YOUR_VPN_IP] -u [REPLACE_WITH_YOUR_USERNAME]

If you don't want type this every time you can create a alias in your .bashrc or .zshrc:

MY_USERNMAE=REPLACE_WITH_YOUR_USERNAME
MY_PASSWORD=REPLACE_WITH_YOUR_PASSWORD

alias checkpoint-vpn='echo $MY_PASSWORD | snx -s [REPLACE_WITH_YOUR_VPN_IP] -u $MY_USERNAME'

For desconect:

snx -d

#vpn #checkpoint #snx #archlinux

@chemparparokke
Copy link

Hey! Thanks for this example!
I've tried to reproduce installation this way, but I have an error after trizen -Sy lib32-libstdc++5 call:

==> Starting build()...
nice: ‘make’: No such file or directory
==> ERROR: A failure occurred in build().
/usr/share/makepkg/util/message.sh: line 51: QUIET: unbound variable
/usr/bin/makepkg: line 131: logpipe: unbound variable
:: Unable to build lib32-libstdc++5 - makepkg exited with code: 1

Have you encountered such a problem?

@FernandoLoureiroDeAraujo
Copy link
Author

That I remember, no.
Try checking: https://aur.archlinux.org/packages/lib32-libstdc++5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment