Configuring OpenVPN - RMerl/asuswrt-merlin.ng GitHub Wiki

Asuswrt-Merlin's OpenVPN interface tries to reproduce as closely as possible the interface used on the Tomato firmware (which shares the same OpenVPN code). Look around for tutorials written for Tomato, those can easily be applied to this firmware as well.

One such tutorial that is recommended (for configuring the OpenVPN server) can be found here. I strongly recommend doing a TUN setup, as this will be what the vast majority of users will need, and it is much simpler to set up. Only use TAP if you really know the differences between the two, and are ready to deal with it. You only need TUN for remotely accessing your home network.

Custom client config files

Starting with 3.0.0.4.372.31, you can now provide the OpenVPN server with your own custom client configuration (the CCD files). First, make sure you do have JFFS enabled.

Enable the "Manage Client-Specific Options" option under OpenVPN Server. Next, create the following directory (use ccd2 if you are providing config files for the second OpenVPN Server instance):

/jffs/configs/openvpn/ccd1/

In this directory put the client config files you wish to provide your OpenVPN server with, each file being named after the common name of the targeted client.

Restart the OpenVPN server to have the files applied to the configuration.

For more info about CCD files, please see the official OpenVPN documentation.