summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-04 14:54:00 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-04 14:54:00 +0000
commit60daaf7aaf2894bff28c7420b462232adedac854 (patch)
tree62b6493b476b334014625c5231751108c1fef9f7
parentnot sending packet when remote addr is unkown (diff)
updated manpage
-rw-r--r--doc/uanytun.8.txt26
1 files changed, 8 insertions, 18 deletions
diff --git a/doc/uanytun.8.txt b/doc/uanytun.8.txt
index 319a206..23c6e70 100644
--- a/doc/uanytun.8.txt
+++ b/doc/uanytun.8.txt
@@ -22,7 +22,7 @@ SYNOPSIS
[ *-o|--remote-port* <port> ]
[ *-d|--dev* <name> ]
[ *-t|--type* <tun|tap> ]
-[ *-n|--ifconfig* <local> <remote|netmask> ]
+[ *-n|--ifconfig* <local>/<prefix> ]
[ *-x|--post-up-script* <script> ]
[ *-m|--mux* <mux-id> ]
[ *-w|--window-size* <window size> ]
@@ -102,11 +102,12 @@ ports. default: 4444
-s|--sender-id <sender id>
~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Each anycast tunnel endpoint needs a uniqe sender id
+Each anycast tunnel endpoint needs a unique sender id
(1, 2, 3, ...). It is needed to distinguish the senders
in case of replay attacks. As *uAnytun* does not support
synchronisation it can't be used as an anycast endpoint therefore
-this option is quite useless. default: 0
+this option is quite useless but implemented for compability
+reasons. default: 0
-r|--remote-host <hostname|ip>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -146,27 +147,16 @@ device type
Type of the tunnels to create. Use tap for Ethernet
tunnels, tun for IP tunnels.
--n|--ifconfig <local> <remote|netmask>
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+-n|--ifconfig <local>/<prefix>
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
*<local>* the local IP address for the tun/tap device
-*<remote|netmask>* the remote IP address (tun) or netmask (tap)
-
-In tap/Ethernet tunnel mode:
-^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+*<prefix>* the prefix length of the network
-The local IP address and subnet mask of the tunnel
-interface, in ifconfig style. The remote tunnel endpoint
+The local IP address and prefix length. The remote tunnel endpoint
has to use a different IP address in the same subnet.
-In tun/IP tunnel mode:
-^^^^^^^^^^^^^^^^^^^^^^
-
-The local IP address of the tunnel interface and the
-IP address of the tunnel interface on the remote tunnel
-endpoint.
-
-x|--post-up-script <script>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~