WatchGuard正式只有Windows和Mac客户端。 但是我看到它在内部使用openvpn。 我无法从Linux连接到工作组。
有人真的得到这个工作吗? 怎么样?
以下是我在WatchGuard / Firebox SSL VPN Ubuntu 11.10上所做的工作:
您将需要以下文件:
您将需要访问可以安装其客户端的窗口计算机。
C:\Documents and Settings\{Username}\Application Data\WatchGuard\Mobile VPN\ C:\Users\{Username}\AppData\Roaming\WatchGuard\Mobile VPN\ 这是来自Watchguard网站。 我没有直接尝试这些说明,但看起来很合理。
http://customers.watchguard.com/articles/Article/2870?retURL=/apex/knowledgeHome&popup=false
从他们的文件:
你将需要安装一些软件包来从Ubuntu连接(这里假定桌面版本,对于服务器版本来说可能不同)。
sudo apt-get install openvpn sudo apt-get install network-manager-openvpn sudo apt-get install network-manager-openvpn-gnome 您可以从命令行testing连接是否正在工作。 你不必这样做,但它可以使事情变得更容易。
从您复制config / crt文件的目录中:
sudo openvpn --config client.ovpn
networkingpipe理器是顶部面板栏中的图标(当前是上/下箭头)。 您将需要client.ovpn文件中的一些行,以便在编辑器中打开以供参考。
这是一个例子client.ovpn :
dev tun client proto tcp-client ca ca.crt cert client.crt key client.pem tls-remote "/O=WatchGuard_Technologies/OU=Fireware/CN=Fireware_SSLVPN_Server" remote-cert-eku "TLS Web Server Authentication" remote 1.2.3.4 1000 persist-key persist-tun verb 3 mute 20 keepalive 10 60 cipher AES-256-CBC auth SHA1 float 1 reneg-sec 3660 nobind mute-replay-warnings auth-user-pass
cert行) ca行开始) key线) Password with Certificates (TLS) (来自auth-user-pass行)。 Gateway来自remote线路。 您需要复制服务器名称或IP地址。 在这个例子中“1.2.3.4” 其余设置位于高级区域(底部的高级button)。 在“常规”选项卡中:
Use custom gateway port使用remote行的最后一个号码。 在这个例子中“1000” Use TCP connection来自proto线的Use TCP connection 。 在这种情况下,TCP客户端。 在安全选项卡下:
Cipher来自cipher线。 (在这个例子中AES-256-CBC) auth行。 (在这个例子中SHA1) 在TLS身份validation选项卡下:
Subject Match来自`tls-remote'行。 (在这个例子中/ O = WatchGuard_Technologies / OU = Fireware / CN = Fireware_SSLVPN_Server) 我还需要在“路由…”button下的“IPv4设置”选项卡下检查“仅为其networking上的资源使用此连接”。
根据Firebox SSL的设置情况,可能需要更多的东西来安装,但希望这可以作为一个起点。 你也可能想要看系统日志,如果你有问题(tail -fn0 / var / log / syslog)
sudo apt-get install network-manager-openvpn-gnome
或为极简主义者:
sudo apt-get install openvpn
对于运行11.8以上的WatchGuard XTM设备
看来现在用来提取Windows客户端的https://yourrouter.tld/sslvpn.html页面还包括一个通用的ovpnconfiguration下载,在解决方法中保存了这些步骤。 只需login并进入该目录即可获取configuration文件。 恭喜你的窗户和mac朋友平等。
跳到“创build新的VPN连接”步骤。
对于运行11.7或更低版本的WatchGuard XTM设备
这些可以直接从防火墙检索(用自己的服务器replace):
https://watchguard_server and authenticate to the firewall 。 https://watchguard_server:4100/?action=sslvpn_download&filename=client.wgssl 或者(我相信这是不太安全的,因为密码是在请求中发送的)(replace服务器,用户和传递你自己的):
https://watchguard_server:4100/?action=sslvpn_download&filename=client.wgssl&username=youruser&password=yourpass
将client.wgssl移动到您想要存储configuration和证书的位置,可能是/ etc / openvpn。 这将焦油炸弹你,所以你会想创build文件夹,以提取。
运行tar zxvf client.wgssl
打开networking连接并添加新的。 对于types,在VPN下,select“导入保存的VPNconfiguration…”浏览您提取client.wgssl的文件夹中的client.ovpn文件。
编辑新创build的连接以包含用户名和密码,或将密码设置为“总是询问”。
警告:密码保存在可以反转的encryption中。
如果您不希望VPN接pipe所有stream量,则只有去往远程位置的stream量进入“IPv4设置”选项卡 – >“路由”,然后选中“仅将此连接用于其networking上的资源”
按照这些说明 – http://customers.watchguard.com/articles/Article/2870?returL=/apex/knowledgeHome&popup=falsetestingUbuntu 11和Fedora 15与XTM 11.x
谢谢大家,我刚刚尝试了一个在Watchguard网站上描述的程序( http://customers.watchguard.com/articles/Article/2870?retURL=/apex/knowledgeHome&popup=false )
我写了一个脚本来启动连接,它工作得很好。