X-Git-Url: https://git.syn-net.org/?p=debian%2Fuanytun.git;a=blobdiff_plain;f=doc%2Fuanytun.8.txt;h=6fde9d2848819bf6bd2bf91cf9f17b5da97bc1a0;hp=1ed21cabcb1e2cc3f770f746140091c543ebfd89;hb=4d61c93845abce1e45c4a41562ecb3fa4e3bdcc3;hpb=062bd1b2d8cd74c1965229043dc5bbbbd8cbf50a diff --git a/doc/uanytun.8.txt b/doc/uanytun.8.txt index 1ed21ca..6fde9d2 100644 --- a/doc/uanytun.8.txt +++ b/doc/uanytun.8.txt @@ -19,6 +19,7 @@ uanytun [ -C|--chroot ] [ -P|--write-pid ] [ -L|--log :[,[,[..]]] ] + [ -U|--debug ] [ -i|--interface ] [ -p|--port ] [ -r|--remote-host ] @@ -67,15 +68,15 @@ passed to the daemon: This option instructs *uAnytun* to run in foreground instead of becoming a daemon which is the default. -*-u, --username *:: +*-u, --username ''*:: run as this user. If no group is specified (*-g*) the default group of the user is used. The default is to not drop privileges. -*-g, --groupname *:: +*-g, --groupname ''*:: run as this group. If no username is specified (*-u*) this gets ignored. The default is to not drop privileges. -*-C, --chroot *:: +*-C, --chroot ''*:: Instruct *uAnytun* to run in a chroot jail. The default is to not run in chroot. @@ -83,39 +84,45 @@ passed to the daemon: Instruct *uAnytun* to write it's pid to this file. The default is to not create a pid file. -*-L, --log :[,[,[..]]]*:: +*-L, --log ':[,[,[..]]]'*:: add log target to logging system. This can be invoked several times in order to log to different targets at the same time. Every target hast its own log level which is a number between 0 and 5. Where 0 means disabling log and 5 means debug messages are enabled. + The file target can be used more the once with different levels. If no target is provided at the command line a single target with the - config *syslog:3,uanytun,daemon* is added. + + config 'syslog:3,uanytun,daemon' is added. + The following targets are supported: - *syslog*;; log to syslog daemon, parameters [,[,]] - *file*;; log to file, parameters [,] - *stdout*;; log to standard output, parameters - *stderr*;; log to standard error, parameters + 'syslog';; log to syslog daemon, parameters [,[,]] + 'file';; log to file, parameters [,] + 'stdout';; log to standard output, parameters + 'stderr';; log to standard error, parameters -*-i, --interface *:: +*-U, --debug*:: + This option instructs *uAnytun* to run in debug mode. It implicits *-D* + (don't daemonize) and adds a log target with the configuration + 'stdout:5' (logging with maximum level). In future releases there might + be additional output when this option is supplied. + +*-i, --interface ''*:: This IP address is used as the sender address for outgoing packets. The default is to not use a special inteface and just bind on all interfaces. -*-p, --port *:: +*-p, --port ''*:: The local UDP port that is used to send and receive the payload data. The two tunnel endpoints can use different ports. default: 4444 -*-r, --remote-host *:: +*-r, --remote-host ''*:: This option can be used to specify the remote tunnel endpoint. In case of anycast tunnel endpoints, the anycast IP address has to be used. If you do not specify an address, it is automatically determined after receiving the first data packet. -*-o, --remote-port *:: +*-o, --remote-port ''*:: The UDP port used for payload data by the remote host (specified with -p on the remote host). If you do not specify a port, it is automatically determined after receiving @@ -129,40 +136,40 @@ passed to the daemon: Resolv to IPv6 addresses only. The default is to resolv both IPv4 and IPv6 addresses. -*-d, --dev *:: +*-d, --dev ''*:: device name + By default, tapN is used for Ethernet tunnel interfaces, and tunN for IP tunnels, respectively. This option can be used to manually override these defaults. -*-t, --type *:: +*-t, --type ''*:: device type + Type of the tunnels to create. Use tap for Ethernet tunnels, tun for IP tunnels. -*-n, --ifconfig /*:: +*-n, --ifconfig '/'*:: The local IP address and prefix length. The remote tunnel endpoint has to use a different IP address in the same subnet. - **;; the local IP address for the tun/tap device - **;; the prefix length of the network + '';; the local IP address for the tun/tap device + '';; the prefix length of the network -*-x, --post-up-script