自从他们推出 Pulse Secure 来代替 Network Connect 以来,我一直尝试使用 openconnect 连接到我公司的 vpn。
我似乎能够无错误地运行 openconnect,执行双因素身份验证等,但随后无法访问防火墙后面的 API。
有人知道 openconnect 现在是否对 Pulse Secure 具有原生支持,还是仍处于试验阶段?
如果这完全相关的话,我恰好正在使用 Ubuntu 16.04。
> sudo openconnect --juniper --user=example remote.example.com
WARNING: Juniper Network Connect support is experimental.
It will probably be superseded by Junos Pulse support.
GET https://remote.example.com/
Connected to 123.45.67.89:443
SSL negotiation with remote.example.com
Connected to HTTPS on remote.example.com
Got HTTP response: HTTP/1.1 302 Found
GET https://remote.example.com/example/welcome.cgi
SSL negotiation with remote.example.com
Connected to HTTPS on remote.example.com
frmLogin
realm [Example 1|Example 2]:Example 1
frmLogin
password:
POST https://remote.example.com/example/login.cgi
SSL negotiation with remote.example.com
Connected to HTTPS on remote.example.com
Got HTTP response: HTTP/1.1 302 Moved
GET https://remote.example.com/example/welcome.cgi?p=more-cred&id=state_1234567890
SSL negotiation with remote.example.com
Connected to HTTPS on remote.example.com
frmLogin
user#2:example
password#2:
POST https://remote.example.com/example/login.cgi
SSL negotiation with remote.example.com
Connected to HTTPS on remote.example.com
Got HTTP response: HTTP/1.1 302 Moved
GET https://remote.example.com/example/starter0.cgi?check=yes
SSL negotiation with remote.example.com
Connected to HTTPS on remote.example.com
SSL negotiation with remote.example.com
Connected to HTTPS on remote.example.com
SSL negotiation with remote.example.com
Connected to HTTPS on remote.example.com
Connected as 10.10.10.10, using SSL