mirror of
https://github.com/pi-hole/pi-hole.git
synced 2025-04-03 14:10:15 +00:00
Note: This section is work in progress
parent
10a642098a
commit
ca14339764
1 changed files with 31 additions and 0 deletions
31
OpenVPN-server:-IPv6.md
Normal file
31
OpenVPN-server:-IPv6.md
Normal file
|
@ -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"
|
||||
```
|
Loading…
Add table
Reference in a new issue