summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-03-31 20:35:02 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2016-03-31 20:35:02 +0200
commit137533bd69847030d716658e1772c6320f9282bb (patch)
tree10ec546011363c1e31bec733d091dd00bd1b4faf /sys/man
parenteed13a5c22662fe4c77b8587e7a53c9b1ae96acb (diff)
6in4: allow setting the local IPv4 address with -i flag (thanks k0ga)
Diffstat (limited to 'sys/man')
-rw-r--r--sys/man/8/6in49
1 files changed, 9 insertions, 0 deletions
diff --git a/sys/man/8/6in4 b/sys/man/8/6in4
index 004beac2b..6e44d2a96 100644
--- a/sys/man/8/6in4
+++ b/sys/man/8/6in4
@@ -11,6 +11,9 @@
] [
.B -o
.I outnetmtpt
+] [
+.B -i
+.I local4
] [
.IB local6 [ /mask ]
[
@@ -92,6 +95,12 @@ for
permit any remote IPv4 address as the far end of a tunnel.
This is likely to be useful for the server side of a tunnel.
.TP
+.B -i
+for
+.IR 6in4 ,
+define what is the local IPv4 address, otherwise it takes the first
+non-loopback address of the outside IP stack.
+.TP
.B -g
use the tunnel as the default route for global IPv6 addresses
.TP