IPv6 via OpenVPN

September 18th, 2022

The installation script:

wget https://git.io/vpn -O openvpn-install.sh

assumes private IPv6 addresses (fc00::/7, specifically fddd:1194:1194:1194::/64) for VPN clients. In order to make use of IPv6 address-space available to the OpenVPN-server:

IPv6 Range

Choose an IPv6 range that will be made available to VPN clients. It will be referred to as YOUR_VPN_IPv6_RANGE below.

If, for instance, you have been assigned an address space of 2a01:aaaa:bbbb:cccc::/64, you may split it and use one block on the host-level (e.g. 2a01:aaaa:bbbb:cccc::/65) and another one on the VPN-level (e.g. 2a01:aaaa:bbbb:cccc:8000::/65).

OpenVPN Server

In the file /etc/openvpn/server/server.conf:


Previous: Secure DNS service

Main Menu