OpenVPN basic - DH parameters problem

Hi,

i am trying to install openvpn server and following this guide:
https://openwrt.org/docs/guide-user/services/vpn/openvpn/basic

my router reboots during this process:
easyrsa --batch gen-dh

any idea why my router Netgear Nighthawk X4S R7800 with LuCI openwrt-18.06 is failing on that?
Thanks

You might be running out of memory. Try generating you keys and dh parameters on your normal computer- faster and more efficient. Just transfer via scp when you’re done.

3 Likes

DH params can take many hours to compute even on a high-end x86_64 / AMD64.

Self-calculated DH params may not be as secure as some of the pre-generated ones. Read https://wiki.mozilla.org/Security/Server_Side_TLS#DHE_handshake_and_dhparam and make a decision that meets your own needs.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.