Surprise! The latest version 1.2-2425 of the VPN server of Synology offers a new feature which allows you to configure the OpenVPN port directly from DSM. Thanks Synology.
Category: How-To
Configuring OpenVPN on a Synology to a non-standard port
Synology also offers a VPN package for their NAS systems offering PPTP, L2TP and OpenVPN connections. The last one is very useful because it can be configured to use TCP or UDP and typically passed firewall gateways without having to configure anything beyond the port unblocking. I.e. you can configure OpenVPN to use standard ports… Continue reading Configuring OpenVPN on a Synology to a non-standard port
Restarting OpenVPN on a Synology
Ok…after fiddling around some time…To restart OpenVPN on a Synology (VPN Center) use the following: /var/packages/VPNCenter/target/scripts/openvpn.sh {start|stop|restart}
Converting a PFX container to PEM
openssl pkcs12 -in <file>.pfx -out <file>.pem
Creating a PFX container
Windows systems seems to be unable to use certificates that are encrypted with 3des. Therefore the “-descert” option is used. openssl pkcs12 -export -des -descert -in <file>.pem -out <file>.pfx