Set Pre Shared Key (PSK) with vpncmd on Ubuntu
Posted: Thu Feb 12, 2015 12:22 pm
Hi,
I'm an Ubuntu user and I need to connect to a Softether VPN Server.
The Server uses L2TP/IPSec.
It requires Username/Password (taken from an Active Directory) and a Pre Shared Key.
All tutorials were prepared to Windows Users.
I have no windows PCs at home so I managed to install softheter's ubunut package from PPA.
$ sudo add-apt-repository ppa:dajhorn/softether
$ uname -a
Linux berilio 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
VPN Client>version
VersionGet command - Get Version Information of VPN Client Service
Item |Value
-------------------+--------------------------------------------
Product Name |SoftEther VPN Client
Version Information|Version 4.08 Build 9449 (English)
Build Information |Compiled 2014/06/08 14:08:09 by yagi at pc25
Process ID |0
OS Type |Linux
The command completed successfully.
I configured the vpnclient creating a Nic and account.
I could not find a way to input the Pre Shared Key while creating the connection. Also I cannot find a command to do that.
I started dhclient on the new interface.
It looked like could connect to the Softether's VPN Server.
I checked with the server admin and he can see my connection.
I can ping to the VPN gw and also I can ping to other connected clients.
I added the routes needed to access the networks behind the VPN, but cannot go beyond VPN gw.
My questions are:
1) Is it possible to my cilent to connect to the vpn even when I have not set the PSK?
2) Not having the PSK set could be the reason why I'm not able to pass through VPN gw?
3) How can I set the PSK using vpncmd only? I have no windows host to run the Client Manager UI.
I'm an Ubuntu user and I need to connect to a Softether VPN Server.
The Server uses L2TP/IPSec.
It requires Username/Password (taken from an Active Directory) and a Pre Shared Key.
All tutorials were prepared to Windows Users.
I have no windows PCs at home so I managed to install softheter's ubunut package from PPA.
$ sudo add-apt-repository ppa:dajhorn/softether
$ uname -a
Linux berilio 3.13.0-45-generic #74-Ubuntu SMP Tue Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
VPN Client>version
VersionGet command - Get Version Information of VPN Client Service
Item |Value
-------------------+--------------------------------------------
Product Name |SoftEther VPN Client
Version Information|Version 4.08 Build 9449 (English)
Build Information |Compiled 2014/06/08 14:08:09 by yagi at pc25
Process ID |0
OS Type |Linux
The command completed successfully.
I configured the vpnclient creating a Nic and account.
I could not find a way to input the Pre Shared Key while creating the connection. Also I cannot find a command to do that.
I started dhclient on the new interface.
It looked like could connect to the Softether's VPN Server.
I checked with the server admin and he can see my connection.
I can ping to the VPN gw and also I can ping to other connected clients.
I added the routes needed to access the networks behind the VPN, but cannot go beyond VPN gw.
My questions are:
1) Is it possible to my cilent to connect to the vpn even when I have not set the PSK?
2) Not having the PSK set could be the reason why I'm not able to pass through VPN gw?
3) How can I set the PSK using vpncmd only? I have no windows host to run the Client Manager UI.