README.IPv6 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. Since 2.3.0, OpenVPN officially supports IPv6, and all widely used
  2. patches floating around for older versions have been integrated.
  3. IPv6 payload support
  4. --------------------
  5. This is for "IPv6 inside OpenVPN", with server-pushed IPv6 configuration
  6. on the client, and support for IPv6 configuration on the tun/tap interface
  7. from within the openvpn config.
  8. The code in 2.3.0 supersedes the IPv6 payload patches from Gert Doering,
  9. formerly located at http://www.greenie.net/ipv6/openvpn.html
  10. The following options have been added to handle IPv6 configuration,
  11. analogous to their IPv4 counterparts (--server <-> --server-ipv6, etc.)
  12. - server-ipv6
  13. - ifconfig-ipv6
  14. - ifconfig-ipv6-pool
  15. - ifconfig-ipv6-push
  16. - route-ipv6
  17. - iroute-ipv6
  18. see "man openvpn" for details how they are used.
  19. IPv6 transport support
  20. ----------------------
  21. This is to enable OpenVPN peers or client/servers to talk to each other
  22. over an IPv6 network ("OpenVPN over IPv6").
  23. The code in 2.3.0 supersedes the IPv6 transport patches from JuanJo Ciarlante,
  24. formerly located at http://github.com/jjo/openvpn-ipv6
  25. OpenVPN 2.4.0 includes a big overhaul of the IPv6 transport patches
  26. originally implemented for the Android client (ics-openvpn)
  27. IPv4/IPv6 transport is automatically is selected when resolving addresses.
  28. Use a 6 or 4 suffix to force IPv6/IPv4:
  29. --proto udp6
  30. --proto tcp4
  31. --proto tcp6-client
  32. --proto tcp4-server
  33. --proto tcp6 --client / --proto tcp6 --server
  34. On systems that allow IPv4 connections on IPv6 sockets
  35. (all systems supporting IPV6_V6ONLY setsockopt), an OpenVPN server can
  36. handle IPv4 connections on the IPv6 socket as well, making it a true
  37. dual-stacked server. Use bind ipv6only to disable this behaviour.
  38. On other systems, as of 2.3.0, you need to run separate server instances
  39. for IPv4 and IPv6.