User Tools

Site Tools


user:thakes3:portfolio:summerfun:openvpn

Table of Contents

Openvpn

Overview

We've all been there before, you want to get on 4chan at the college but you get that blasted sonic wall. Or, your mom calls you from your cell phone and says that her computer wont print or something whatever. That's where virtual private networking comes in.

So your network at home allows you to communicate between your inter-circle of computers before even hitting the internet. Virtual private networking tricks the router into thinking that your computer is actually on the network (you tricky mother-fucker you).

So this tutorial is going to basically show you how to create a system that will allow you to VPN that sexy looking laptop of yours back home to do onto as you wish.

Setup

This tutorial assumes a few things. The ports on your router must have the port 1194 enabled and forwarded to the server you're using.

This tutorial also assumes you are using a GNU/linux operating system and are plugged into the network.

Also the got daym computer should be on.

Procedure

Installation

You'll want to get the following packages: openvpn

for debian based distributions (ubuntu, mint, crunchbang, debian) you'll use:

sudo apt-get install openvpn

for red hat derivatives (fedora, centos, RHEL, yellow dog) you'll need to enable the EPEL repository, and the command you'll need:

sudo yum install openvpn

and for everything else you'll need to compile from source, but i'm not even going through that here. If someone really needs it they can ask me on irc.

Preparation

as a root user, you'll want to move the example directory into your openvpn directory ( /etc/openvpn/ )

satan@home:~> sudo bash
root@home:~> cp /usr/share/doc/packages/openvpn/* /etc/openvpn/
root@home:~>
user/thakes3/portfolio/summerfun/openvpn.txt · Last modified: 2013/06/18 04:02 by thakes3