From ca14339764db6410264d74a6e57b518a8b1900ec Mon Sep 17 00:00:00 2001 From: DL6ER Date: Thu, 26 Jan 2017 16:28:16 +0100 Subject: [PATCH] Note: This section is work in progress --- OpenVPN-server:-IPv6.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 OpenVPN-server:-IPv6.md diff --git a/OpenVPN-server:-IPv6.md b/OpenVPN-server:-IPv6.md new file mode 100644 index 0000000..624c0c7 --- /dev/null +++ b/OpenVPN-server:-IPv6.md @@ -0,0 +1,31 @@ +Full article: https://github.com/pi-hole/pi-hole/wiki/Pi-hole---OpenVPN-server + +This optional section walks through providing IPv6 connectivity outside and inside the tunnel. + +### Optional: IPv6 outside the tunnel + +To connect to your server over ipv6 (ipv6 transport) use this on both sides, e.g. +``` +proto udp6 +``` + +### Optional: IPv6 inside the tunnel + +In this document, we'll assume you have the following from the OpenVPN server's viewpoint: + +- The OpenVPN server has an IPv6 IP of `2001:db8:0:abc::100/64` on its LAN interface +- The following block is routed to the OpenVPN server host: `2001:db8:0:123::/64` + +**Note: This section is work in progress** + +Add the following to a functioning OpenVPN config: +``` +server-ipv6 2001:db8:0:123::/64 +``` + +Pushing routes over the tunnel works much like it does in IPv4, but you use `push "route-ipv6 NETWORK/CIDR"`. + +To redirect all Internet-bound traffic, use the current allocated public IP space like this: +``` +push "route-ipv6 2000::/3" +``` \ No newline at end of file