Tuesday, May 15, 2012

Client's Acceding of OpenVPN For Debian

Configuration of OpenVPN For Debian

Here we will accustom you how you can authority OpenVPN in Debian ambiance on both, server and appellant systems.

Server's Acceding of OpenVPN For Debian

First of all install the openvpn software on both, server and appellant .

Go to 'OpenVPN' in server's 'etc' calendar by appliance the alley '/etc/openvpn'.

Use the command acclimatized below to get a constant key:

openvpn –genkey –secret static.key

Now classic this key to the appellant accessory calendar on the alley '/etc/openvpn'. Be constant to use a anchored amalgamation like scp or sftp.

Now on the server side, accomplish a config alley on the alley '/etc/openvpn/tun0.conf'

Add the after ambit of blank to it;

dev tun0

ifconfig 10.9.8.1 10.9.8.2

secret /etc/openvpn/static.key

In this code;

Subnetwork = 10.9.8.x

Server IP = 10.9.8.1

client's IP = 10.9.8.2

Client's Acceding of OpenVPN For Debian

Create a affiliated acceding book as on server appliance the alley '/etc/openvpn/tun0.conf'.

Add the blank acclimatized as follows;

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.