kvpnc

Network

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

4
6 .3
Description:

KVpnc is a KDE Desktop Environment frontend for various vpn clients. It supports Cisco VPN (vpnc, vpnclient (proritary client from cisco)), IPSec (FreeS/WAN, OpenS/WAN, stronGswan, racoon), PPTP (pptpclient),L2TP, OpenVPN, VTun and OpenSSH.

Packages for various distros can be downloaded from download page: http://home.gna.org/kvpnc/en/download.html

You need libgcrypt (http://www.g10code.com/p-libgcrypt.html). Crypto++ is now obsolete. One of them is additional needed: vpnc, freeswan, openswan, strongswan, ipsec-tools, pptpclient, l2tpd, xl2tpd, openl2tp, openvpn, vtun, openssh.

Do you want to help to make kvpnc better? Go to http://home.gna.org/kvpnc/en/report.html
Last changelog:

10 years ago

This is release 0.9.6a
This release fixes a critical bug in KDE4 version and some other bugs. It also adds some new features. 0.9.6a fixes only the installation of ping_check.sh at KDE4 version.

* bugfixes:
- if no profile was imported at kvpnc profile import keep profile name at profile selector fixed
- remote id toggle at newprofilewizard at *swan use fixed
- remote id options at newprofilewizard at *swan use fixed
- local id options at newprofilewizard at *swan use fixed
- split specific options at preferencesdialog in multiple tabs (*swan, racoon, pptp, openvpn) for reducing preferencesdialog size (kde3: #13610, kde4: #219556)
- vpnc config options if ca cert or ca dir empty for use hybrid mode fixed (thanks to Todd Kennedy)
- enable psk options at hybrid mode fixed (vpnc)
- selecting profile selects not right profile fixed [kde4]
- openvpn specific options toggle fixed [kde4]
- crash at p12 certificate import fixed [kde4]
- p12 import at openvpn profile import fixed [kde4]
- crash at generate openvpn key fixed (#224507) [kde4]
- remote network netmask at newprofilewizard at *swan use fixed [kde4]
- use udp label text at newprofilewizard at *swan use fixed [kde4]

*features:
- check if profile already exists at kvpnc profile import added
- toggle all/none profiles at kvpnc profile import added
- user defined import prefix at kvpnc profile import added
- kde4 translation updated

rgfree

14 years ago

On the positive side of things:
* Best usability under Linux for getting a PPTP connection
* Quality of this app noticeably improving from version to version
* Now sufficiently easy to get a PPTP connection.
* Has never crashed during a running connection here.

Still problematic though:
* No option to immediately start to system tray.
* Can be started twice
* Sometimes just refuses to be closed, sometimes still crashes during start/close/configuration.
* If crashes or forced to close with "Ctrl+Alt+Esc" I dont have an Internet connection anymore until I restart my PC. I cant say for sure but perhaps this is due to route reconfiguration

My proposals for improvement:
- Restarting the application should have a recovery mode detecting a previous crash and recover routing.
- Introduce an option to start to system tray
- I needed this script to start with sudo:

#/bin/sh
xhost +local:local
sudo kvpnc

This script should be included with kvpnc and there should be an option within the application to automatically create a desktop icon and perhaps even edit sudo or at least give a hint how to do it.

Report

robbeh

14 years ago

Hi,

for the sudo-problem see FAQ on Kvpnc website.

greets robbeh

Report

rgfree

13 years ago

Huh? Which problem?
Did you read my comment at all?

Report

tnt

14 years ago

hi, i got some problems to get kvpnc working, I have already imported an autoconfiguration file and added the certificate in 3 places of the config, but I still need a (pgp?)-personal key. but the network i'd tried to connect didn't have another encryption and also no keyfile. using openvnc --config file.ovpn seems to work, but i have to add a proxyserver and it would be nice to connect with one click in kde. can i disable the question for the key?

Report

C

crissi

12 years ago

Implemented in svn. Try that.

Report

C

crissi

13 years ago

did you are using certificates or PSk?

Report

C

crissi

13 years ago

cert you hat written, so this question is obsolete.

Report

arandamandi

14 years ago

http://www.mytux.org/content/viewslackpackage.php?id=10

Report

arandamandi

13 years ago

Updated

Report

arandamandi

13 years ago

Updated

Report

mukl

14 years ago

hi, first of all i like this tool, but i got a question:
is it possible to add a route on eth0 after connecting to a VPN?
i tried to put

route add default gw router

in the "execute command after connect" box, but it doesnt seem to work.

Report

C

crissi

14 years ago

You can set additional routes at:
Profile manager - network - routes :)

Report

mukl

14 years ago

in the vpnc-script there is a $TARGET_NETWORKS variable, which has the exact functionality i want to use.

Report

mukl

14 years ago

i know. ;)
but these routes are related to the tunnel device not to eth0. i want (need?) this, coz not all the traffic should use the VPN.

Report

rgfree

14 years ago

I found some minor glitches:
At some point when using a wrong password I got this:

2006-03-06 14:21:30 Debug: Es wird versucht, zu Server "**.**.**" mit User "****" zu verbinden...

2006-03-06 14:21:30 Info: [pppd]anon fatal[get_ip_address:pptp.c:357]: gethostbyname '**.**.**': name server error
Couldn't get channel number: Input/output error

2006-03-06 14:21:39 Fehler: Ein-/Aushgabefehler

(I deleted sensitive info before posting)
After that all my profiles where wiped out. So I recommend saving .kde/share/config/kvpncrc
somewhere in case you need it.

Futher problem:
When I try to close there is a message box saying that KVPNC doesnt close but minimize to the system tray. But even if I check "Do not show again" the box is shown every time.

Report

C

crissi

14 years ago

> At some point when using a wrong password I got this:
>
> 2006-03-06 14:21:30 Debug: Es wird versucht, zu Server "**.**.**" mit User "****" zu verbinden...
>
> 2006-03-06 14:21:30 Info: [pppd]anon fatal[get_ip_address:pptp.c:357]: >gethostbyname '**.**.**': name server error
> Couldn't get channel number: >Input/output error
>
> 2006-03-06 14:21:39 Fehler: Ein-/Aushgabefehler
I'll have a look over it.

> After that all my profiles where wiped out. So I recommend saving .kde/share/config/kvpncrc somewhere in case you need it.
I'll look for it.

> Futher problem:
> When I try to close there is a message box saying that KVPNC doesnt close but minimize to the system tray. But even if I check "Do not show again" the box is shown every time.
Fixed in cvs.

It would be nice if you visit me at #kvpnc on irc.freenode.net

Report

rgfree

14 years ago

I wonder if it is theoretically possible one day to support being on two networks at once (I'm no expert, so sorry if this is a dumb question).
I'm at home and have a PPTP connection to my work and to a relocation center. The one is on subnet 192.168.168.0/24 - the other on 192.168.2.0/24. I want to be connected to both at the same time.

Report

C

crissi

14 years ago

Currently you can add additional routes.

Support for multiple vpn connections is planned but not implemented yet.

Report

cornelinux

14 years ago

Hello,
since version 2 beta x openvpn is able to support smartcards via pkcs11.
These are just about 5 options in the config file.

There will be a password prompt at the command line, to enter the PIN of the smartcard.

When will kvpnc support this?

Kind regards
Cornelius

Report

C

crissi

14 years ago

Hello,

> since version 2 beta x openvpn is able to support smartcards via pkcs11.
These are just about 5 options in the config file.
Give me an exmaple for it ;)

> There will be a password prompt at the command line, to enter the PIN of the smartcard.
>
> When will kvpnc support this?
I have no hardware for this but I think its not hard to do. So it can be done in next release (cvs/0.8.4)

I'm currently on Linuxtag at Chemnitz, if you there, you can find my at the KDE place.

Report

alonbl

14 years ago

Hi!

The implementation of PKCS#11 requires the GUI to use the OpenVPN management interface in order to interact with the smartcard.

It is requires since using smartcards requires input from the user at different stages, such as token not available, token removed-insert, token PIN expiration.

I will be happy to work with you in order to make it work with OpenVPN.

You can refer to http://alon.barlev.googlepages.com/openvpn-pkcs11 and find a simple perl script that performs the user interaction, it should not be complicated to use it in your component.

Best Regards,
Alon Bar-Lev.

Report

cornelinux

14 years ago

I can give you an example.

Unfortunately I am not on the Linuxtag. But I am on the Cebit at the aladdin booth (somewhere in Hall 7) all the time. ...you know: smartcards.
If you are there, too, just drop by!

I got a running openvpn config there to show. When I got some time again, I will forward you this example...

True: It might be a bit tricky with the PIN for the smartcard, that is supposed to be entered at the command line.

Report

jffhn

14 years ago

I have OpenVPN working perfectly well when launched from a shell, but would like to use KVPNC as a gui front end. After numerous attempts and many variations, I cannot launch OpenVPN using KVPNC. What is the trick? There must be some setting that is being overlooked. Is there an example configuration someone can share? Nothing comes up in web searches. Thanks.

Report

C

crissi

14 years ago

Use 0.8.5.1

Report

rgfree

14 years ago

Does anyone know where I can
get older versions. This app
used to work great but since
I've switched to Kubuntu I got
a new version. All the new
versions dont work with PPTP.
The version coming with Kubuntu
(0.8) did crash consistently - on
config, on exit, on nearly every
occasion. Then I compiled 0.8.1.
Still crashes. Then I compiled the
current version. This one doesnt
work with the ppp coming with
Kubuntu anymore. It uses an
option "mppe" which doesnt
seem to exist. I dont want to
recompile ppp. So, I just want
the old kvpnc back - I dont
need any of the new features.

Report

10 years ago

This is release 0.9.6a
This release fixes a critical bug in KDE4 version and some other bugs. It also adds some new features. 0.9.6a fixes only the installation of ping_check.sh at KDE4 version.

* bugfixes:
- if no profile was imported at kvpnc profile import keep profile name at profile selector fixed
- remote id toggle at newprofilewizard at *swan use fixed
- remote id options at newprofilewizard at *swan use fixed
- local id options at newprofilewizard at *swan use fixed
- split specific options at preferencesdialog in multiple tabs (*swan, racoon, pptp, openvpn) for reducing preferencesdialog size (kde3: #13610, kde4: #219556)
- vpnc config options if ca cert or ca dir empty for use hybrid mode fixed (thanks to Todd Kennedy)
- enable psk options at hybrid mode fixed (vpnc)
- selecting profile selects not right profile fixed [kde4]
- openvpn specific options toggle fixed [kde4]
- crash at p12 certificate import fixed [kde4]
- p12 import at openvpn profile import fixed [kde4]
- crash at generate openvpn key fixed (#224507) [kde4]
- remote network netmask at newprofilewizard at *swan use fixed [kde4]
- use udp label text at newprofilewizard at *swan use fixed [kde4]

*features:
- check if profile already exists at kvpnc profile import added
- toggle all/none profiles at kvpnc profile import added
- user defined import prefix at kvpnc profile import added
- kde4 translation updated

12345678910
2
product-maker marcomaniac Jan 21 2011 9 excellent
product-maker bugmenot1234 Oct 23 2010 9 excellent
Be the first to comment
marcomaniac
Jan 21 2011
bugmenot1234
May 26 2010
jalpaka
Aug 12 2009
Frank
Dec 24 2008
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.9.6
updated May 25 2010
added May 11 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 7
System Tags app software