
{"id":388,"date":"2018-12-30T13:06:14","date_gmt":"2018-12-30T13:06:14","guid":{"rendered":"http:\/\/blog.gordonbuchan.com\/blog\/?p=388"},"modified":"2022-05-17T02:22:37","modified_gmt":"2022-05-17T02:22:37","slug":"connecting-to-a-checkpoint-vpn-from-fedora-29","status":"publish","type":"post","link":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/2018\/12\/30\/connecting-to-a-checkpoint-vpn-from-fedora-29\/","title":{"rendered":"Connecting to a Checkpoint VPN from Fedora 29"},"content":{"rendered":"<p>One of the systems I maintain requires access to a Checkpoint VPN. Until recently, this has meant that I needed a Windows laptop or vm when I traveled. The recipe to connect to the vpn using a command line client called \u201csnx\u201d seems obvious, but is not. Here is how I was able to connect a Fedora 29 Linux machine with version 800007075 of the snx command line client.<\/p>\n<p>Install the Oracle Java JRE<\/p>\n<p>Download Linux x64 RPM:<\/p>\n<p><a href=\"https:\/\/www.java.com\/en\/download\/linux_manual.jsp\">https:\/\/www.java.com\/en\/download\/linux_manual.jsp<\/a><\/p>\n<p>Use rpm at the command line instead of using the software installer gui.<\/p>\n<p>(change version number as needed)<\/p>\n<p>rpm -ivh jre-8u191-linux-x64.rpm<\/p>\n<p>dnf install pkgconf-pkg-config<\/p>\n<p>dnf install libcanberra-gtk2.i686<\/p>\n<p>dnf install \/lib\/ld-linux.so.2 libX11.so.6 libpam.so.0 libstdc++.so.5 libnsl.so.1<\/p>\n<p>According to this link:<\/p>\n<p><a href=\"https:\/\/unix.stackexchange.com\/questions\/450229\/getting-checkpoint-vpn-ssl-network-extender-working-in-the-command-line\">https:\/\/unix.stackexchange.com\/questions\/450229\/getting-checkpoint-vpn-ssl-network-extender-working-in-the-command-line<\/a><\/p>\n<p>versions of the snx command line client &gt; 800007075 are not compatible with recent Linux kernels. So we will obtain a copy of that specific version of the SNX command line client:<\/p>\n<p>[root@server etc]# cd ~desktop\/tmp\/<br \/>\n[root@server tmp]# wget https:\/\/www.fc.up.pt\/ci\/servicos\/acesso\/vpn\/software\/CheckPointVPN_SNX_Linux_800007075.sh -O snx_install.sh<br \/>\n&#8211;2018-12-30 07:34:08&#8211; https:\/\/www.fc.up.pt\/ci\/servicos\/acesso\/vpn\/software\/CheckPointVPN_SNX_Linux_800007075.sh<br \/>\nResolving www.fc.up.pt (www.fc.up.pt)&#8230; 193.137.24.4<br \/>\nConnecting to www.fc.up.pt (www.fc.up.pt)|193.137.24.4|:443&#8230; connected.<br \/>\nHTTP request sent, awaiting response&#8230; 200 OK<br \/>\nLength: 973618 (951K) [application\/x-sh]<br \/>\nSaving to: \u2018snx_install.sh\u2019<\/p>\n<p>snx_install.sh 100%[====================&gt;] 950.80K 378KB\/s in 2.5s<\/p>\n<p>2018-12-30 07:34:26 (378 KB\/s) &#8211; \u2018snx_install.sh\u2019 saved [973618\/973618]<\/p>\n<p>and now we make the script executable:<\/p>\n<p>[root@server tmp]# chmod 755 snx_install.sh<\/p>\n<p>run the installation script:<\/p>\n<p>[root@server tmp]# .\/snx_install.sh<br \/>\nInstallation successful<\/p>\n<p>test a command line connection (use values appropriate for your username and vpnservername)<\/p>\n<p>[root@server tmp]# snx -s vpnservername -u username@domain.com<br \/>\nCheck Point&#8217;s Linux SNX<br \/>\nbuild 800007075<br \/>\nPlease enter your password:<br \/>\nSNX authentication:<br \/>\nPlease confirm the connection to gateway: *.domain.com<br \/>\nRoot CA fingerprint: XXX XXX XXXX XXX XXX XXXX XXXX XXX XXX XXXX<br \/>\nDo you accept? [y]es\/[N]o:<br \/>\ny<br \/>\nSNX &#8211; connected.<\/p>\n<p>Session parameters:<br \/>\n===================<br \/>\nOffice Mode IP : x.x.x.x<br \/>\nDNS Server : x.x.x.x<br \/>\nSecondary DNS Server: x.x.x.x<br \/>\nDNS Suffix : domain.com<br \/>\nTimeout : 12 hours<\/p>\n<p>Some useful links:<\/p>\n<p><a href=\"https:\/\/www.java.com\/en\/download\/linux_manual.jsp\">https:\/\/www.java.com\/en\/download\/linux_manual.jsp<\/a><\/p>\n<p>https:\/\/kenfallon.com\/checkpoint-snx-install-instructions-for-major-linux-distributions\/<\/p>\n<p>https:\/\/kenfallon.com\/installing-snx-on-fedora-28\/<\/p>\n<p><a href=\"https:\/\/unix.stackexchange.com\/questions\/450229\/getting-checkpoint-vpn-ssl-network-extender-working-in-the-command-line\">https:\/\/unix.stackexchange.com\/questions\/450229\/getting-checkpoint-vpn-ssl-network-extender-working-in-the-command-line<\/a><\/p>\n<p><a href=\"https:\/\/www.fc.up.pt\/ci\/servicos\/acesso\/vpn\/software\/CheckPointVPN_SNX_Linux_800007075.sh\">https:\/\/www.fc.up.pt\/ci\/servicos\/acesso\/vpn\/software\/CheckPointVPN_SNX_Linux_800007075.sh -O snx_install.sh<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of the systems I maintain requires access to a Checkpoint VPN. Until recently, this has meant that I needed a Windows laptop or vm when I traveled. The recipe to connect to the vpn using a command line client called \u201csnx\u201d seems obvious, but is not. Here is how I was able to connect &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/2018\/12\/30\/connecting-to-a-checkpoint-vpn-from-fedora-29\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Connecting to a Checkpoint VPN from Fedora 29&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-388","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/388","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=388"}],"version-history":[{"count":4,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/388\/revisions"}],"predecessor-version":[{"id":393,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/388\/revisions\/393"}],"wp:attachment":[{"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=388"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=388"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.gordonbuchan.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=388"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}