Installing openvpn on Linux Debian wheezy 7

I have installed openvpn on my Debian system so it’s possible to surf with my winhoos laptop on the amprnet. Work quite nice

In this description I do not give much text and explanation. On the internet there is plenty to find about configuring openvpn.

This is what I use, it’s a simple setup.

Enable Packet Forwarding

Change
#net.ipv4.ip_forward=1
to
net.ipv4.ip_forward=1

Save and exit

Changes to your own needs.

In the same vars file, also edit this one line shown below.

Also changes to your own needs.

Next

Cd to directory easy-rsa

Hit ENTER to accept defined, default values.

Please enter the following ‘extra’ attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:

Press ENTER to pass through each one.

Hit (Y) and enter

Sign the certificate? [y/n]
1 out of 1 certificate requests certified, commit? [y/n]

Generate Certificates and Keys for Clients

Press ENTER to accept the defaults.

Please enter the following ‘extra’ attributes
to be sent with your certificate request
A challenge password []:
An optional company name []:

Hit (Y) enter

Sign the certificate? [y/n]
1 out of 1 certificate requests certified, commit? [y/n]

Copy the the files to the client computer in the c:\certs directory.

pd2lt.crt
pd2lt.key
pd2lt.ovpn
ca.crt

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.