Jul 16 2010
How to add openVPN to the Warp
When deploying the PIKA Warp appliance in the field, there is a high probability that the Warp will be behind a firewall. Unless there is a VPN client running on the Warp, the only way to access it is to open the ssh port on the firewall. But the firewall (router) is not necessarily accessible by the Warp’s installers.

This post will go through the steps to incorporate openVPN into an image using PADS.
On your host linux PC, get the PADS version of choice.
Copy the openvpn package from http://svn.pikatech.com/pads/extra_packages/openvpn/ to <PADS directory>/package
Build the image and select that you wish to have the kernel customized
# make menuconfig
Once the ncurse menu is displayed, select
Kernel Configuration (Custom Kernel Options) —>
(X) Custom Kernel Options

Exit and continue the build process
# make
When the linux kernel ncurse menu window is shown, select the vtun device driver
Select Device Drivers —>

Select Network Device support —>

Select <*> Universal TUN/TAP device driver support

Exit from the kernel ncurses menu and continue the build process.
Create the image files
# make image
Burn the images unto the Warp.
Install openVPN (openVPN.net) onto your host PC (Linux or Windows) server that can be reached publicly.
Follow the instruction to create the certificate and configuration files for both the client and server (). Copy the client files onto Warp under /etc/openvpn.
Start openVPN as a server on your host machine. This is usually a service.
Start openVPN as a client on the Warp.
# openvpn /etc/openvpn/client.conf
If you do an ifconfig on the Warp, you should see a tun interface.
