X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=doc%2Fclient.texi;fp=doc%2Fclient.texi;h=3cb89279101cdf747ae8ceac08daf3e513b7bb6f;hb=1f0e56f6a94ab99ef3b46eb1b07f65c802f508c0;hp=52f6429888f5071121a0b17a298fab72fb4ee22e;hpb=7adeb6905467448e57e7bf1f01561fc573248879;p=govpn.git diff --git a/doc/client.texi b/doc/client.texi index 52f6429..3cb8927 100644 --- a/doc/client.texi +++ b/doc/client.texi @@ -1,24 +1,43 @@ @node Client part @section Client part -Except for common @code{-mtu}, @code{-noncediff}, @code{-timeout}, -@code{-stats}, @code{-noise} options client has the following ones: +Except for common @code{-mtu}, @code{-stats}, options client has the +following ones: @table @code + @item -remote Address (@code{host:port} format) of remote server we need to connect to. + @item -iface TAP interface name. + @item -id Our client's identification (hexadecimal string). + @item -key Path to the file with the PSK key. + +@item -timeout +@ref{Timeout} setting in seconds. + +@item -noncediff +Allowable @ref{Nonce difference}. + +@item -noise +Enable @ref{Noise}. + +@item -cpr +Enable @ref{CPR} in KiB/sec. + @item -up Optional path to script that will be executed after connection is established. Interface name will be given to it as a first argument. + @item -down Same as @code{-up} above, but it is executed when connection is lost, when we exit. + @end table Example up-script that calls DHCP client and IPv6 advertisement