Using Openconnect from the commandline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi there,

I'm using OpenConnect successfully in combination with NetworkManager
but am wondering how I can achieve the same from the commandline. The
command I'm using is:

echo -n "<passwd>" | openconnect --user=<user> --servercert <cert>
--syslog --passwd-on-stdin --cookie="<cookie>" --verbose
--script=/etc/vpnc/vpnc-script <ip>:443

which produces the following result in syslog:

Sep 24 18:10:32 l1 openconnect[11184]: Attempting to connect to
59.167.225.30:443
Sep 24 18:10:32 l1 openconnect[11184]: SSL negotiation with 59.167.225.30
Sep 24 18:10:32 l1 openconnect[11184]: Connected to HTTPS on 59.167.225.30
Sep 24 18:10:32 l1 openconnect[11184]: Got CONNECT response: HTTP/1.1 200 OK
Sep 24 18:10:32 l1 openconnect[11184]: No IP address received. Aborting

The vpnc-script is the standard unmodified vpnc-script (and is executable).

Any suggestions what I'm missing here?

kind regards,
Jan


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3701 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20130924/9f908006/attachment.p7s>


[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux