Posts tagged with: linux

How to Setup OpenVPN ~ Part 2

For you who haven’t read the part 1 of this post click here.

OK, in the previous post i had explained the server side configuration on how to setup the OpenVPN on CentOS. In this post I’ll try to explain on how to setup the client and test the VPN if it is working or not.
Lets get started then..

1. Make a new user for the vpn client.

useradd [username]

then give it a password. (note. password is always invisible when entered to the terminal)

passwd [username]


2. Next, we need to download the ca.crt file from the server. I’ll use WinSCP to download the file.
open your winscp and enter the needed credentials

the left window is our local files, and the right window is the server files. Point the right window to /etc/openvpn/easy-rsa/2.0/keys Continue Reading

How to Setup OpenVPN ~ Part 1

So, got a brand new VPS and want to create a VPN server in it? Then you are in a right place. In this post I’ll try to explain how to create a VPN Server with OpenVPN on a VPS with CentOS 6.x 32 bit installed.

1. Remote your vps using putty(windows) or terminal(linux) with the ip-address, username and password provided by your vps seller.

2. Install epel and remi , use command below

## Remi Dependency on CentOS 6 and Red Hat (RHEL) 6 ##
rpm -Uvh

## CentOS 6 and Red Hat (RHEL) 6 ##
rpm -Uvh


3. Check if tun/tap is active by issuing this command

cat /dev/net/tun

If tun is active then you should see this:

cat: /dev/net/tun: File descriptor in bad state


4. Make sure you have these packages installed: Continue Reading

Backtrack’s Linux Header

Anyone got problem make or make install a software package on Backtrack?

If that happened, maybe you not yet installed Linux Header or Kernel Header.

Linux headers are the header files used by Linux system to compile the kernel and othe applications which depend on the symbol or structures defined in these header files, or we can say in other word linux header is like kernel modules.
An example can be wlan card drivers. If the driver does not have a binary matching with the running kernel, the driver needs to be compiled with the header file.

To configure Linux-header in order to enable us make and make install a package in Backtrack just follow these simple step.
Continue Reading