How to install / configure IPv6 openVPN server
1. In the Synology Package Center install "VPN Server"
2. Setup a dyndns name:
- Preferred option via Synology built-in DDNS:
- Open Control Panel, click on External Access, under DDNS tab click on Add
3. Enable DHCPv6 prefix domain
- Open Control Panel, click on Network, under Network Interface select your LAN connection and click Edit
- Under IPv6 tab select IPv6 setup DHCPv6-PD
Remark: With DHCPv6-PD (prefix delegation), a delegating router (e.g. FritzBox) delegates IPv6 prefixes to a requesting router (e.g. Synology VPN Server). The requesting router then uses the prefixes to assign global IP addresses to the devices on the subscriber LAN
Example for Fritzbox 6490:
- In the menu select Home Network, Network
- Under Network Settings tab scroll down to IP Addresses and click on IPv6 Addresses on the right side
- Scroll down to DHCPv6 Server in the Home Network and check Assign DNS server, prefix (IA_PD) and IPv6 address (IA_NA)
4. Configure openVPN
- In Package Center OPEN VPN Server
- In the left menu click on OpenVPN
- Enable OpenVPN Server
- Set Protocol to TCP
- Select Enable IPv6 Server mode
- Optional: Check allow clients to access server’s LAN
- Select the IPv6 prefix you previously set up.
- Click Apply
5. Firewall
Configure your internet router firewall (and the Synology firewall if needed) to allow TCP port 1194