merge
[oweals/gnunet.git] / doc / man / gnunet-vpn.1
1 .TH GNUNET\-VPN 1 "February 25, 2012" "GNUnet"
2 .SH NAME
3 gnunet\-vpn \- manually setup a GNUnet VPN tunnel
4 .SH SYNOPSIS
5 .B gnunet\-vpn
6 .RI [ options ]
7 .br
8 .SH DESCRIPTION
9 \fBgnunet\-vpn\fP can be used to manually setup a VPN tunnel via the
10 GNUnet network.
11 There are two main types of tunnels.
12 Tunnels to an exit node which routes the traffic to the global
13 Internet, and tunnels to a node that runs a service only within
14 GNUnet.
15 Depending on the type of tunnel, gnunet\-vpn takes different options.
16 The "\-i" option is required for tunnels to an exit node, whereas the
17 "\-p" and "\-s" options in conjunction with either "\-u" or "\-t" are
18 required for tunnels to services.
19 For exit tunnels, both UDP and TCP traffic will be redirected.
20 For service tunnels, either UDP ("\-u") or TCP ("\-t") traffic will
21 be redirected.
22 The tool will display the IP address for this end of the tunnel.
23 The address can be displayed as soon as it has been allocated, or only
24 after ("\-a") the tunnel has been created.
25 .SH OPTIONS
26 .B
27 .IP "\-4, \-\-ipv4"
28 Desired IP address on this end of the tunnel should be an IPv4 address.
29 .B
30 .IP "\-6, \-\-ipv6"
31 Desired IP address on this end of the tunnel should be an IPv6 address.
32 .B
33 .IP "\-c FILENAME,  \-\-config=FILENAME"
34 Use the configuration file FILENAME.
35 .B
36 .IP "\-d TIME, \-\-duration TIME"
37 The mapping should be established for TIME.
38 The value given must be a number followed by a space and a time unit,
39 for example "500 ms".
40 Note that the quotes are required on the shell.
41 Default is 5 minutes.
42 .B
43 .IP "\-h, \-\-help"
44 Print short help on options.
45 .B
46 .IP "\-i IP, \-\-ip IP"
47 Tunnel should be to an exit node and connect to the given IPv4 or IPv6
48 IP address.
49 Note that you can specify an IPv6 address as the target here, even in
50 combination with "\-4" (4to6) and similarly you can specify an IPv4
51 address in combination with "\-6" (6to4).
52 .B
53 .IP "\-L LOGLEVEL, \-\-loglevel=LOGLEVEL"
54 Use LOGLEVEL for logging.
55 Valid values are DEBUG, INFO, WARNING and ERROR.
56 .B
57 .IP "\-p PEERID,  \-\-peer=PEERID"
58 Name of the peer offering the service to connect to.
59 Cannot be used in conjunction with "\-i", requires "\-s".
60 .B
61 .IP "\-s NAME,  \-\-service=NAME"
62 Name of the service running on the target peer.
63 Cannot be used in conjunction with "\-i", requires "\-p".
64 .B
65 .IP "\-t, \-\-tcp"
66 Service runs TCP.
67 Either "\-t" or "\-u" must be specified when using "\-s".
68 .B
69 .IP "\-u, \-\-udp"
70 Service runs UDP.
71 Either "\-t" or "\-u" must be specified when using "\-s".
72 .B
73 .IP "\-V, \-\-verbose"
74 Be verbose.
75 .B
76 .IP "\-v, \-\-version"
77 Print GNUnet version number.
78 .SH BUGS
79 Report bugs by using Mantis <https://bugs.gnunet.org/> or by sending
80 electronic mail to <gnunet\-developers@gnu.org>
81 .SH SEE ALSO
82 gnunet\-setup(1)
83 The full documentation for
84 .B gnunet
85 is maintained as a Texinfo manual.  If the
86 .B info
87 and
88 .B gnunet
89 programs are properly installed at your site, the command
90 .IP
91 .B info gnunet
92 .PP
93 should give you access to the complete handbook,
94 .IP
95 .B info gnunet-c-tutorial
96 .PP
97 will give you access to a tutorial for developers.
98 .PP
99 Depending on your installation, this information is also
100 available in
101 \fBgnunet\fP(7) and \fBgnunet-c-tutorial\fP(7).