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

triptol

15 years ago

Had some problems with the ebuild (running KDE without arts), so I changed it. Here's the new one:

# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /cvs/kvpnc.homepage/kvpnc/kvpnc-cvs-0.1.ebuild,v 1.1 2005/02/03 10:56:49 crissi Exp $

inherit kde cvs

ECVS_USER="anonymous"
ECVS_SERVER="cvs.gna.org:/cvs/kvpnc"
#ECVS_AUTH="ext"
#ECVS_SSH_HOST_KEY=""
#CVS_RSH="ssh"
ECVS_MODULE="kvpnc"
ECVS_TOP_DIR="${DISTDIR}/cvs-src/${PN}"
S=${WORKDIR}/${ECVS_MODULE}

DESCRIPTION="kvpnc - a KDE-VPN connection utility."
SRC_URI=""
HOMEPAGE="http://home.gna.org/${PN}/"
LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc"
IUSE=""
SLOT="0"

DEPEND=">=net-misc/vpnc-0.2"
need-kde 3.2

src_compile(){
PREFIX="`kde-config --prefix`"
myconf="`use_with arts` `use_with gstreamer` `use_with opengl` `use_with xine`"

kde_src_compile myconf configure
kde_src_compile make
}

src_install() {

kde_src_install
}

HOWTO: make a directory called kvpnc-cvs in your portage overlay directory (check /etc/make.conf). Mine is called /usr/local/portage. Copy the ebuild file in the new directory as kvpnc-cvs-01.1.ebuild. Now cd to that directory and execute (as root):

ebuild kvpnc-cvs-0.1.ebuild digest.

Now emerge kvpnc-cvs.

Report

C

crissi

15 years ago

I made kvpnc-cvs-0.2.ebuild with your contents and change the link to it.

Report

triptol

15 years ago

Small annoyance in the ebuild though... the gstreamer, xine and opengl references should be removed.

Not that it breaks anything or so, it just complains about it ;-)

Report

Borszczuk

15 years ago

Please remove all the *.ex and ex.* file in debian/ subdir ;)

Report

C

crissi

15 years ago

thx for the info!

Report

dgaar

15 years ago

Hi,

it is possible to add support for the Cisco native Vpnclient Binaries ?

I know, Cisco it's not free like vpnc, but it would be fine to have a GUI for a existing solution and it might be not that effort becouse you just have to execute the Cisco Binarie with an Vpn-Profile extension...


regards,
Dietmar

Report

Khan

15 years ago

crissi,
I'm getting this error when trying to connect to the Cisco vpn at work:

VpncScript: /root/.kde3.3/share/apps/kvpnc/vpnc-script.CryptoCard
Using userdefinied local port "10000".
Using userdefinied IKE group "dh2".
Trying to connect to server "xxx.xxx.xxx.xxx" with user "blank" and IPSec ID "CryptoCard"...
vpnc started.
Enter password for abcdef@131.246.118.240:
/usr/sbin/vpnc: can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun!!!): No such file or directory
/usr/sbin/vpnc: can't initialise tunnel interface: No such file or directory

Any idea how I can fix this?

Report

C

crissi

15 years ago

>abcdef@131.246.118.240: /usr/sbin/vpnc: >can't open /dev/net/tun, check that it is either device char 10 200 or (with DevFS) a symlink to ../misc/net/tun (not misc/net/tun!!!): No such file or directory
>/usr/sbin/vpnc: can't initialise >tunnel interface: No such file or directory
> Any idea how I can fix this?
It means that the tunnel interface cant be initalized. you need to create the device file:
mkdir -p /dev/net
mknod /dev/net/tun c 10 200

and then load the module:
modprobe tun

I

Report

Khan

15 years ago

Ok, i'm getting this now:

# modprobe tun
FATAL: Module tun not found.

What settings in the kernel do I need to make sure are checked to build the tun module? I thought I had enabled tunneling but obviously, I missed something. Thanks.

Report

C

crissi

15 years ago

> # modprobe tun
> FATAL: Module tun not found.
You need kernel 2.6 or a patched 2.4. kernel.

> What settings in the kernel do I need to make sure are checked to build the tun module?
Device drivers - Networking support - Universal TUN/TAP device driver support


> I thought I had enabled tunneling but obviously, I missed something.
Yes :)

Report

Khan

15 years ago

Man, I finally got this thing to work! Thanks for the info. Now, here's the #1 feature request I'd like to ask:

Please add the "Xauth Interactive" option to the profile configuration. My job uses a challenge system and it would be nice to input the password in a dialog box instead of in the Profile and then having to save it. Thanks.

Report

C

crissi

15 years ago

>Man, I finally got this thing to work! Thanks for the info. Now, here's the #1 feature request I'd like to ask:

> Please add the "Xauth Interactive" option to the profile configuration. My job uses a challenge system and it would be nice to input the password in a dialog box instead of in the Profile and then having to save it. Thanks.

The CVS version will now popup a dialog if the password(s) not stored for entering it. The next release will contain it ;)

Report

fwells

16 years ago

Currently kvpnc gives a warning that you're still connected when you click quit. It would be nice instead to provide the user with the option to disconnect on quit.

Report

C

crissi

15 years ago

Now implemented in cvs. That means the next release will provide this option.

bugs/wishes should be added at:
https://gna.org/bugs/?group=kvpnc

Report

triptol

15 years ago

Guess I got a 'first post' there ;-)

Report

nmshah

16 years ago

Thanks for this app - very useful. Anybody know how to make NIS work wtih this app? I use SuSE 9.1 and I run kvpnc after I login and then I try to restart ypbind, it doesn't find ypserver by IP address, even though I can telnet to it. Also, how to get X exported to my vpnc session? I don't seem to be getting an IP address that I can export display from the host I connect to through VPN

Report

C

crissi

16 years ago

hello,
first you should get a IP via DHCP or set it manually for your wlan device (like wlan0).
from this IP you should be able to reach your VPN server, then you can connect. after successful connect you get a new device (tun0) which is the tunnel interface and has a own IP and the default route (0.0.0.0) points to it. this IP should be IP you should be used for external communication.

Report

nmshah

16 years ago

hello,

thanks for replying. I am doing exactly the same thing
1) I connect to internet through my ISP - I get an IP address through DHCP and I'm able to browse internet
2) I connect to the VPN server successfully using kvpnc and I see a tun0 interface with an IP address getting created. - I am able to telnet to the servers inside my work network

The problem seems to be that the tun0 IP address is not pingable/reachable by any servers in my network. Am I missing some configuration?
thanks for your help. I couldn't find any documentation anywhere.

Report

kbeaumont

16 years ago

You then need to allow for packet forwarding so that your linux box will route packets it recieves. In Redhat or Fedora you add the line folowing line to /etc/sysconfig/network :

FORWARD_IPV4="yes"

Don't forget to restart the network service after that. Then you add a route to the routing table of your all the clients you want to be a gateway for. This will then cause all packets with a destination to the other network routed through your gateways vpn connection.
It's best to read up on the various HOWTO's for routing and vpn, because getting the routing working the first time can be very frustrating.

Report

C

crissi

16 years ago

do you are using a firewall?

Report

nmshah

16 years ago

I never configured SuSE 9.1 firewall. I checked no iptables process running

Report

newyen2

16 years ago

Will this work with Checkpoint VPN? thanks!

Report

C

crissi

16 years ago

Sorry i dont know if the orginal cisco client can be used.
If the original cisco vpnclient works then kvpnc can be used.
kvpnc use vpnc which is a replacement for the original cisco client.
i dont have checkpoint hardware.
But i think if its diffrent from cisco client ask the author of vpnc if he can made support for checkpoint.
If there is a console client for checkpoint, tell me that. then i also need more infos about output, command line parameters, etc.

Report

nomar

16 years ago

Could you add an option to save the group password but not the user password? That would be very useful for me and people using similar networks where the group password ist public, but the user password is too safety-critical to be saved to disk.
Otherwise, great tool.

Report

C

crissi

16 years ago

> Could you add an option to save the
> group password but not the user
> password? That would be very useful
> for me and people using similar
> networks where the group password is
> public, but the user password is too
> safety-critical to be saved to disk.
I will add it.

> Otherwise, great tool.
thx.

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