Vpn client

=OPENVPN CLIENT HOWTO=

Our vpn is accessible from the wireless DMZ. Which means in order to connect you have to be logged in to our local wireless network.

In this HOWTO I will cover what you will need to get connected to our vpn, which is simpler then one would think!

Installing the proper software
on a debian system this is as easy as install openvpn, and it's dependencies. We will also intall openssl, something apt doesn't install when installing openvpn. So on a debian based system type:

apt-get install openvpn openssl

and it's done.

on gentoo: echo "net-misc/openvpn ssl examples" >> /etc/portage/package.keywords/common then install with: emerge openvpn

Setting up the Service
We are using a routed vpn, which requires use to use the TUN kernel device, which allows use simulate a network layer device. must distributions that ship a packaged kernel come with this support. To build it in the kernel you have to make sure that it is enabled either built-in or as a module.

A command that you could check this with is:

grep CONFIG_TUN /usr/src/linux/.config

please take the to add kernel support for this by recompiling your kernel, or installing it otherwise.