This document describes how to install a OpenVPN server with User/Password authentication with mysql and day control using libpam-mysql. This will be a brief, but a very practical document. Install mysql server Create a mysql user and a database to be used later CREATE DATABASE openvpn; USE openvpn; CREATE USER ‘openvpn’@’localhost’ IDENTIFIED BY ‘lNPg5TAIy82zFpEn’; GRANT … Continue reading How to install a OpenVPN System Based On User/Password Authentication with mysql & Day Control (libpam-mysql) →
This is useful if you are behind a restrictive firewall that uses SPI to block services rather than plain old port blocking. An SPI firewall is able to distinguish between one packet type and another, without just checking the port that is in use. You’ll need root access to the OpenVPN Server, as you have … Continue reading OpenVPN through SSH →
This is a step by step guide for setting up a VPN using pppd and ssh. To accomplish this you will need two Linux boxes, one acting as server and the second one as client. The “server” must have a static IP address or dynamic dns name. The firewall on both boxes must allow traffic on … Continue reading How to setup a VPN using ssh and pppd →
This document describes how to install openvpn with pam-mysql username/password authentication. This procedure was carried out on Debian/Ubuntu Linux, but with minor changes can be used on other Linux distributions too. 1. Install openvpn, mysql and pam-mysql Note: please keep mysql-server password in mind because we are going to use it later (I will refer … Continue reading OpenVPN with pam-mysql username/password authentication →
I can't memorize much, so I take notes!