Worked like a charm! Thanks! For those people interested in a short manual:
Note: this is not supported from the GUI, so use this at your own risk:
1) Make sure you're running Gargoyle v1.6.1 or higher
2) Disable the running OpenVPN service if you are already using it and delete all keys (you will be generating new ones later on). The 'delete all keys' button will become visible once you stop the OpenVPN service.
3) Connect to your router using SCP (i.e. WinSCP under Windows) and open the following files:
Code: Select all
/usr/lib/gargoyle/openvpn.sh
/www/openvpn.sh
/usr/lib/easy-rsa/vars
Make a copy of all the files before you alter them, so you have a safenet. Now, find
all '1024' entries and replace them with a value of '2048'. Save the files.
4) At this point, restart your router.
5) Navigate to the OpenVPN page again using the GUI and start the OpenVPN service. If all is well, you're old config parameters should already be filled out. (portnumber, subnet etc.)
You should be prompted to generate new keys/certificates, which will take a while. The warning states 5-10 minutes, but the keys are twice the size, so this may take some more time. On my Netgear WNDR3700v2 this took about 10 min. I guess.
6) Once completed, generate new client config packages to include the new keys/certificates.
7) replace all old OpenVPN config and profile files in your OpenVPN clients, and import the contents of the new config.
8) You're done! Get some coffee
