German Spanish French Hungary Italiano Russian Swedish English blank
MenuMenü DocumentationDokumentáció szekció Back to homepageVissza a Honlapra
Követelmények

  • base
    1. working network (wireless card is running and VPN server is reachable for example) (required)
    2. KDE >= 3.3.x (required)
    3. GNU libgcrypt (required)


  • additional tools
    • Cisco VPN
      • vpnc >= 0.2-rm+zomb-pre9 (optional)


    • IPsec
      • FreeS/WAN (IPSec) 1.x or 2.x (2.x recommended) (optional)
        1. Linux 2.4
        2. kernel with FreeS/WAN patches
      • strongSwan (IPSec) (optional)
        1. Linux 2.4
        2. Linux 2.6


      • Openswan (IPSec) (optional)
        1. Linux 2.4
        2. Linux 2.6


      • ipsec-tools (optional)
        1. Linux 2.6/BSD


    • PPTP
      • pptpclient (optional)
        1. pppd
        2. kernel with MPPE support


    • SSL-based
    • L2TP
      • L2TPD 0.69 (used at L2TP over IPSec)
    • Opensc
      • Opensc (for smartcard support)

Installation

  • from source

    Enter the following commands in console:

    tar xvfz kvpnc-<version>.tar.gz

    cd kvpnc-<version>

    make -f admin/Makefile.common

    ./configure

    make

    su

    make install


  • from binary

    If there is a binary package for your distribution, its the easiest way.

    • Debian: su -c dpkg -i <package>
    • rpm based: su -c rpm -i <package>
    • Gentoo: emerge kvpnc



Howto setup KVpnc for use without root password - sudo

  1. install sudo


  2. edit /etc/sudoers: add an command alias
    # Cmnd alias specification

    Cmnd_Alias KVPNC = /usr/bin/kvpnc



    # User privilege specification

    ALL ALL=NOPASSWD:KVPNC
    adjust the path to kvpnc

    1. SuSE: /opt/kde3/bin/kvpnc
    2. Debian, Fedora, Ubuntu: /usr/bin/kvpnc


  3. edit desktop link:adjust the path to kvpnc
    • SuSE: /opt/kde3/share/applnk/Internet/kvpnc.desktop
    • Debian, Fedora, (K)Ubuntu: /usr/share/applnk/Internet/kvpnc.desktop


    replace the folling lines:
    Exec=kvpnc

    X-KDE-SubstituteUID=true
    with:
    Exec=sudo kvpnc

    X-KDE-SubstituteUID=false
    Attention! In (K)ubuntu use the following replaces:
    Exec=xhost + && sudo /usr/bin/kvpnc && xhost -

    X-KDE-SubstituteUID=false