[vpn-help] Start Shrew Soft VPN Client from command-line

cmlitguy at gmail.com cmlitguy at gmail.com
Mon Mar 19 09:52:24 CDT 2012


Guys, thank you for reply.
I compiled 2.2.0-beta-2, but with some issues:

= Installations =

yum  install  cmake  libedit-devel  flex  openldap-develqt-devel
cd  /usr/local/src
wget  http://www.shrew.net/download/ike/ike-2.2.0-beta-2.tgz
tar  -zxvf  ike-2.2.0-beta-2.tgz

cd  /usr/local/src/ike
cmake  -DDEBUG=YES  -DQTGUI=YES  -DNATT=YES  -DLDAP=YES  -LIBDIR=/usr/lib64  -LIBDIR=/usr/lib64

"# cmake -DDEBUG=YES -DQTGUI=YES -DNATT=YES -DLDAP=YES -LIBDIR=/usr/lib64
CMake Error: The source directory "/usr/local/src/ike/-LIBDIR=/usr/lib64" does not exist.
Specify --help for usage, or press the help button on the CMake GUI."

cmake -DDEBUG=YES -DQTGUI=YES -DNATT=YES -DLDAP=YES -LIBDIR=/usr/lib64
make
make  install

ls  -la  /usr/local/lib  |  grep  "so"  |  awk  '{print  "ln -s /usr/local/lib/"  $9  " /usr/lib64/"  $9  }'
#
ln  -s  /usr/local/lib/libss_idb.so  /usr/lib64/libss_idb.so
ln  -s  /usr/local/lib/libss_idb.so.2.2.0  /usr/lib64/libss_idb.so.2.2.0
ln  -s  /usr/local/lib/libss_ike.so  /usr/lib64/libss_ike.so
ln  -s  /usr/local/lib/libss_ike.so.2.2.0  /usr/lib64/libss_ike.so.2.2.0
ln  -s  /usr/local/lib/libss_ip.so  /usr/lib64/libss_ip.so
ln  -s  /usr/local/lib/libss_ip.so.2.2.0  /usr/lib64/libss_ip.so.2.2.0
ln  -s  /usr/local/lib/libss_ith.so  /usr/lib64/libss_ith.so
ln  -s  /usr/local/lib/libss_ith.so.2.2.0  /usr/lib64/libss_ith.so.2.2.0
ln  -s  /usr/local/lib/libss_log.so  /usr/lib64/libss_log.so
ln  -s  /usr/local/lib/libss_log.so.2.2.0  /usr/lib64/libss_log.so.2.2.0
ln  -s  /usr/local/lib/libss_pfk.so  /usr/lib64/libss_pfk.so
ln  -s  /usr/local/lib/libss_pfk.so.2.2.0  /usr/lib64/libss_pfk.so.2.2.0

Finaly I run ikec

ii : ## : VPN Connect, ver 2.2.0
## : Copyright 2009 Shrew Soft Inc.
## : press the<h>  key for help
!! : invalid parameters specified ...
>>  : ikec -r "name" [ -u<user>  ][ -p<pass>  ][ -a ]
  -r     site configuration path
  -u     connection user name
  -p     connection user password
  -a     auto connect


It is possible to import Cisco PCF via CLI ?


On 3/18/2012 7:08 PM, lestoilfante wrote:
> You should disable the gui on compiling time. then run iked and ikec 
> -r configfilename -u username -p password -a
>
>
> On Tue, Mar 13, 2012 at 9:42 AM, cmlitguy at gmail.com 
> <mailto:cmlitguy at gmail.com> <cmlitguy at gmail.com 
> <mailto:cmlitguy at gmail.com>> wrote:
>
>     Hello,
>     I want to ask if someone know how I can start Shrew VPN Client
>     from command-line on Linux.
>     I found same questions in mailing-list
>     http://lists.shrew.net/pipermail/vpn-help/2011-April/003636.html,
>     but with no clear response.
>     Also I tried to find help starting the programs:
>     # ikea --help
>     ikea: cannot connect to X server
>
>     # ikec --help
>     ikec: cannot connect to X server
>
>     # iked --help
>     !! : socket bind failed
>     daemon network configuration failed
>      ( line 9, col 15 )
>
>     Cant someone ask if is possible to establish a VPN tunnel using
>     Shrew Soft VPN Client from command-line ?
>     Now we are using vpnc + simple php script with apache to make a
>     connection via Web Browser:
>
>     Thanks in advance.
>     _______________________________________________
>     vpn-help mailing list
>     vpn-help at lists.shrew.net <mailto:vpn-help at lists.shrew.net>
>     http://lists.shrew.net/mailman/listinfo/vpn-help
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.shrew.net/pipermail/vpn-help/attachments/20120319/58a441cb/attachment-0001.html>


More information about the vpn-help mailing list