6in4 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. .TH 6IN4 8
  2. .SH NAME
  3. 6in4 - configure and run automatic or manual 6to4 tunnel of IPv6 through IPv4
  4. .SH SYNOPSIS
  5. .B ip/6in4
  6. [
  7. .B -ag
  8. ] [
  9. .B -x
  10. .I netmtpt
  11. ]
  12. .IB local6[ / mask]
  13. [
  14. .I remote4
  15. [
  16. .I remote6
  17. ] ]
  18. .B &
  19. .SH DESCRIPTION
  20. .I 6in4
  21. sets up and maintains a tunnel of IPv6 traffic through an IPv4 connection.
  22. .I Local6
  23. and
  24. .I mask
  25. define the IPv6 address and subnet of the near end of the tunnel
  26. .RI ( mask
  27. defaults to
  28. .L /128
  29. for a single-host
  30. tunnel),
  31. .I remote4
  32. is the IPv4 address of the far end of the tunnel
  33. (must be given explicitly for a configured tunnel, or
  34. defaults to the anycast address 192.88.99.1 for
  35. .IR 6to4 ),
  36. and
  37. .I remote6
  38. is the IPv6 address of the far end of the tunnel
  39. (used as the point-to-point destination for routing, and
  40. defaults to a link-local address constructed from
  41. .IR remote4 ).
  42. .PP
  43. Supply
  44. .B -g
  45. to use the tunnel as the default route for global IPv6 addresses.
  46. .B -x
  47. uses the network mounted at
  48. .I netmtpt
  49. instead of
  50. .LR /net .
  51. .SH EXAMPLES
  52. If your public IPv6 address is
  53. .LR 1.2.3.4,
  54. you can start a 6to4 tunnel simply with
  55. .IP
  56. .EX
  57. 6in4 -g 2002:0102:0304::1/48
  58. .EE
  59. .PP
  60. If you use a tunnel broker at address
  61. .LR 5.6.7.8 , configured to
  62. give you a
  63. .L /64
  64. subnet with address
  65. .LR 2001:1122:3344:5566:: ,
  66. you can start the tunnel with
  67. .IP
  68. .EX
  69. 6in4 -g 2001:1122:3344:5566::/64 5.6.7.8
  70. .EE
  71. .SH FILES
  72. .B /net/ipmux
  73. .SH SEE ALSO
  74. .I ipmux
  75. in
  76. .IR ip (3)
  77. .br
  78. .B /lib/rfc/rfc3056
  79. .br
  80. .B /lib/rfc/rfc3068
  81. .SH BUGS
  82. Needs a kernel with an
  83. .I ipmux
  84. driver.
  85. .PP
  86. The tunnel client filters addresses fairly conservatively in both directions.
  87. However it's not watertight,
  88. and may be flakey in other ways so don't put too much trust in it.