How to Set Up OpenVPN Client on NETGEAR R9000 with Voxel's Firmware

OpenVPN on R9000 with Voxel's Firmware
One of the most popular reasons to use open source firmware is to run an OpenVPN client on the main router in the home. This enables users to easily route all traffic on the network, wireless or wired, through a secure VPN connection. This can help to increase security as well as protect a user's online privacy.
Firmwares such as DD-WRT and Tomato, in many versions, have an OpenVPN client built in -- and many VPN providers include instructions on how to utilize these clients to connect to their services.
Voxel's recent firmware build for the R9000, however, does things just a bit differently, and is in some ways easier to work with! It does require a small bit of tweaking, a handy USB stick, and an .OVPN configuration file from the provider. These are the steps to follow after you have flashed Voxel's firmware and performed basic setup (and preferably a reboot as well)
First, format the USB stick to FAT32 format, and create a folder named "/openvpn-client" (without quotes)
Next, grab a copy of your VPN provider's .OVPN configuration file. Make sure that this file contains all the settings you need, including the CA, CERT, and KEY provided by your VPN. (See Voxel's readme for more information.)
If the provider does not include your username and password in the configuration file, this may need to be added. The configuration may look something like this:
Auth User Pass
To add authentication to the file, change the "auth-user-pass" line to read "auth-user-pass /etc/openvpn/config/client/auth.txt" (without quotes) Then, create a text file with two lines -- the username on the first and credentials for the account on the second. (More comprehensive instructions can be found on Voxel's readme file if other portions are missing.)
Place both the files into the directory on the USB drive, but don't plug it into the R9000 just yet
Go into the Internet settings and manually input the DNS servers used by your VPN, if needed. Confirm the change and reboot the router. Once the router fully boots, insert the USB drive and wait. In our tests, this caused the router to lose connectivity. We rebooted the R9000 with the USB drive still inserted, and upon this reboot the VPN client began functioning as intended. Check to make sure you have no DNS leaks or other security issues, and that your IP is correct.
Did these instructions work for you? Let us know in the forums!
Zircon - This is a contributing Drupal Theme
Design by WeebPal.