From 8b933bf541a545652d0d925937f2393cb36ada9b Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 8 Nov 2009 13:18:06 +0000 Subject: manpage cleanups --- doc/uanytun.8.txt | 429 ++++++++++++++++++++++-------------------------------- 1 file changed, 176 insertions(+), 253 deletions(-) (limited to 'doc') diff --git a/doc/uanytun.8.txt b/doc/uanytun.8.txt index 7cd4f52..0b58650 100644 --- a/doc/uanytun.8.txt +++ b/doc/uanytun.8.txt @@ -57,260 +57,183 @@ OPTIONS no difference between client and server. The following options can be passed to the daemon: --D|--nodaemonize -~~~~~~~~~~~~~~~~ +*-D, --nodaemonize*:: + This option instructs *uAnytun* to run in foreground + instead of becoming a daemon which is the default. + +*-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 *:: + run as this group. If no username is specified (*-u*) this gets ignored. + The default is to not drop privileges. + +*-C, --chroot *:: + Instruct *uAnytun* to run in a chroot jail. The default is + to not run in chroot. + +*-P, --write-pid *:: + Instruct *uAnytun* to write it's pid to this file. The default is + to not create a pid file. + +*-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. + + 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 + +*-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 *:: + 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 *:: + 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 *:: + 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 + the first data packet. + +*-4, --ipv4-only*:: + Resolv to IPv4 addresses only. The default is to resolv both + IPv4 and IPv6 addresses. + +*-6, --ipv6-only*:: + Resolv to IPv6 addresses only. The default is to resolv both + IPv4 and IPv6 addresses. + +*-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 *:: + device type + Type of the tunnels to create. Use tap for Ethernet + tunnels, tun for IP tunnels. + +*-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 + +*-x, --post-up-script