From c1ce4524b4fb143edf770ed09aba0b057e16aa65 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Mon, 24 Feb 2014 17:07:11 +0000 Subject: added examples for rail mode --- doc/uanytun.8 | 27 +++++++++++++++++++++++++-- doc/uanytun.8.txt | 17 +++++++++++++++++ 2 files changed, 42 insertions(+), 2 deletions(-) diff --git a/doc/uanytun.8 b/doc/uanytun.8 index c02198a..fe7855f 100644 --- a/doc/uanytun.8 +++ b/doc/uanytun.8 @@ -2,12 +2,12 @@ .\" Title: uanytun .\" Author: [see the "AUTHORS" section] .\" Generator: DocBook XSL Stylesheets v1.78.1 -.\" Date: 02/10/2014 +.\" Date: 02/24/2014 .\" Manual: \ \& .\" Source: \ \& .\" Language: English .\" -.TH "UANYTUN" "8" "02/10/2014" "\ \&" "\ \&" +.TH "UANYTUN" "8" "02/24/2014" "\ \&" "\ \&" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- @@ -435,6 +435,29 @@ uanytun \-r anycast\&.anytun\&.org \-d anytun0 \-t tun \-n 192\&.0\&.2\&.2/30 \- .sp As \fBuAnytun\fR can\(cqt work as an anycast endpoint it can\(cqt be used for this purpose\&. You have to use \fBAnytun\fR for that job\&. .RE +.SS "Rail Setup for 3 links:" +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fBClient:\fR +.RS 4 +.sp +uanytun \-t tun \-n 192\&.168\&.42\&.2/30 \-c aes\-ctr\-256 \-k aes\-ctr\-256 \-E rail_MODE_is_VERY_cool \-e client \-w 64 \-Y \-r rail\&.example\&.com \-o 4440:4442 +.RE +.sp +.it 1 an-trap +.nr an-no-space-flag 1 +.nr an-break-flag 1 +.br +.ps +1 +\fBServer:\fR +.RS 4 +.sp +uanytun \-t tun \-n 192\&.168\&.42\&.1/30 \-c aes\-ctr\-256 \-k aes\-ctr\-256 \-E rail_MODE_is_VERY_cool \-e server \-w 64 \-Y \-p 4440:4442 +.RE .SH "BUGS" .sp Most likely there are some bugs in \fBuAnytun\fR\&. If you find a bug, please let the developers know at uanytun@anytun\&.org\&. Of course, patches are preferred\&. diff --git a/doc/uanytun.8.txt b/doc/uanytun.8.txt index 2a47318..a3af139 100644 --- a/doc/uanytun.8.txt +++ b/doc/uanytun.8.txt @@ -290,6 +290,7 @@ Host B: uanytun -r hosta.example.com -t tun -n 192.168.123.2/30 -c aes-ctr-256 -k aes-ctr-256 -E have_a_very_safe_and_productive_day -e right + One unicast and one anycast tunnel endpoint: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -304,8 +305,24 @@ As *uAnytun* can't work as an anycast endpoint it can't be used for this purpose have to use *Anytun* for that job. +Rail Setup for 3 links: +~~~~~~~~~~~~~~~~~~~~~~~ + +Client: +^^^^^^^ + +uanytun -t tun -n 192.168.42.2/30 -c aes-ctr-256 -k aes-ctr-256 -E rail_MODE_is_VERY_cool + -e client -w 64 -Y -r rail.example.com -o 4440:4442 + +Server: +^^^^^^^ +uanytun -t tun -n 192.168.42.1/30 -c aes-ctr-256 -k aes-ctr-256 -E rail_MODE_is_VERY_cool + -e server -w 64 -Y -p 4440:4442 + + BUGS ---- + Most likely there are some bugs in *uAnytun*. If you find a bug, please let the developers know at uanytun@anytun.org. Of course, patches are preferred. -- cgit v1.2.3