Check point VPN 连接

来源:互联网 发布:广州网络布线 编辑:程序博客网 时间:2024/05/13 07:52

公司使用Check point 作为自己的VPN web服务。

可惜在使用Ubuntu为客户端的时候,一直都不能连接成功。

试了各种方案,在Chrome上安装Java插件,不听话啊。然后在Firefox上安装Java插件,倒是可以了。就是报Initialize failed.

然后发现需要安装几个库:

apt-get install icedtea-pluginapt-get install libstdc++5


同时还要通过root启动firefox,登陆时不再报Initialize failed错误。但是就是终端出现一堆错误。

最后通过这篇文章的最后一节找到灵感:

http://themanfrey.blogspot.com/2011/12/configuring-check-point-ssl-extender-on.html

其实关键是SNX这个程序。从公司check point vpn服务器上下载snx安装后。

编辑/root/.snxrc文件:

server connectchn.mycompany.comusername myuser_namedebug yesreauth yes


这里注意,server的值不要加上https:// 否则连接失败。

现在连接成功了。而且不需要什么Firefox,在Linux中,命令行转成脚本是最佳方式。

连接成功的输出是:

root@chenshu-yangzhou-home:~/Downloads# snxCheck Point's Linux SNXbuild 800006210Please enter your password:SNX authentication:Please confirm the connection to gateway: China_FW VPN CertificateRoot CA fingerprint: GLAD RUIN WRY TEAM LORD BITS GOUT RARE RITE ILL TEET TIEDo you accept? [y]es/[N]o:ySNX - connected.

我家里的是Ubuntu12.04 32bit, 12.04 64bit的我还没有试过。