1 .TH "VPNC" "8" "28 Januar 2004" "Debian" "vpnc"
4 vpnc \- client for cisco3000 VPN Concentrator
15 .B ] [ \-\-local\-port
23 .B ] [ \-\-non\-inter ] [ \-\-debug ] [ \-\-no\-detach ] [ \-\-print\-config ]
28 This manual page documents briefly the
29 \fBvpnc\fR, \fBvpnc\-connect\fR and
30 \fBvpnc\-disconnect\fR commands.
33 VPN client for the Cisco 3000 VPN Concentrator, creating a IPSec-like
34 connection as a tunneling network device for the local system. It uses
35 the TUN/TAP driver in Linux kernel 2.4 and above and device tun(4)
36 on BSD. The created connection is presented as a tunneling network
37 device to the local system.
39 The vpnc daemon by it self does not set any routes, the user (or
40 the connect script, see below) has to do it on its own, e.g. for a full
41 tunnel with IP routing under Linux. Further, the user must care about
42 setting a minimal route to the gateway to not cut the essential
45 The command \fBvpnc\-connect\fR (a helper script) will take care of it all: it
46 reads the configuration file (specified as the first argument, see
47 EXAMPLES below), creates a minimalistic host route to the gateway and
48 configures the default gateway configuration of Linux to run over the
51 The \fBvpnc\-disconnect\fR command is used to terminate
52 the connection previously created by \fBvpnc\-connect\fR
53 and restore the previous routing configuration.
56 The daemon reads configuration data from the following places:
58 .IP "- command line options"
59 .IP "- config file(s) specified on the command line"
60 .IP "- /etc/vpnc.conf"
61 .IP "- prompting the user if not found above"
65 The script expects the
67 as the first parameter. This
68 can either be an absolute path or the name
69 of a config file located in
70 .B /etc/vpnc/<filename>.conf.
71 If no config is specified,
75 .B /etc/vpnc/default.conf
80 The program options can be either given as argument (but not all of them
81 for security reasons) or be stored in a configuration file.
83 .IP "\-\-gateway IP-or-hostname"
84 IP address or hostname of the VPN gateway
85 .IP "\-\-id IPSec group Id"
87 .IP "\-\-username name"
90 name of the tun-interface to use
91 .IP "\-\-local\-port port number"
92 use this port for the connection <0-65535>, use 0 for random
93 .IP "\-\-pid\-file filename"
94 store the pid of background process there
95 .IP "\-\-dh IKE DH group"
96 name of the IKE DH Group <dh1/dh2/dh5>
97 .IP "\-\-pfs PFS group"
98 Perfect Forward Secrecy <nopfs/dh1/dh2/dh5>
100 non interactive mode, don't ask any questions
102 set debugging level <0/1/2/3/99>.
103 .B Warning: \-\-debug output of level 99 and greater from later versions cotains (hex-encoded) username and password!
105 do not send daemon to background
106 .IP "\-\-print\-config"
107 prints your configuration; output can be used as vpnc.conf
112 The default configuration file. See
119 The vpnc\-connect will read configuration files in this directory when
120 the config script name (without .conf) is specified on the command line.
125 This is an example vpnc.conf:
131 Perfect Forward Secrecy nopfs
133 IPSec gateway vpn.rwth\-aachen.de
137 IPSec secret mopsWLAN
139 Xauth username abcdef
141 Xauth password 123456
145 The lines begin with a keyword (no leading spaces!).
146 The values start exactly one space after the keywords, and run to the end of
147 line. This lets you put any kind of weird character (except EOL and NUL) in
148 your strings, but it does mean you can't add comments after a string, or spaces
153 option to generate a config file, and the example file in the package
154 documentation directory where more advanced usage is described.
156 Advanced features like manual setting of multiple target routes is
157 documented in the example files of the vpnc package.
160 Re-keying is no implemented yet (default rekey-intervall is 8 hours).
163 This man-page has been written by Eduard Bloch <blade(at)debian.org> and
164 Christian Lackas <delta(at)lackas.net>, based on vpnc README by
165 Maurice Massar <vpnc(at)unix\-ag.uni\-kl.de>.
167 granted to copy, distribute and/or modify this document under
168 the terms of the GNU General Public License, Version 2 any
169 later version published by the Free Software Foundation.
171 On Debian systems, the complete text of the GNU General Public
172 License can be found in /usr/share/common\-licenses/GPL.
177 .BR http://www.unix\-ag.uni\-kl.de/~massar/vpnc/