Instructions for connecting to the SFLC VPN

possibledisastrousΑσφάλεια

9 Δεκ 2013 (πριν από 3 χρόνια και 6 μήνες)

93 εμφανίσεις

Instructions for connecting to the SFLC VPN
1.
These are applicable for Ubuntu 10.04, but should work on other Ubuntu versions close

to that, and similarly on other operating systems using Gnome.
2.
Install the packages,
openvpn, network-manager-openvpn, network-manager-
openvpn-gnome
. You can either do this from the package manager (Main Menu ->

System -> Administration -> Synaptic Package Manager),
or open a terminal

(
Main Menu -> Accessories -> Terminal
), and type:

sudo aptitude install openvpn network-manager-openvpn-gnome
network-manager-openvpn
will automatically be installed. Enter your user

password, when prompted.
3.
I will be providing you a set of files that will be needed for setting up the VPN. For

reasons of security, I cannot email them, but will leave a copy with Prasanth. These

will be in a folder
sflcin
, and you should copy the folder to your home directory. There

will be four files in there:
ca.crt, client.crt, client.key, and ta.key.
4.
Set up the VPN. Right-click on the network manager (the item in the panel
showing your network connections), and choose
Edit Connections...
This
will bring up a window like this:
Choose the VPN tab at the top, and click on Add (you will probably have no entries in

the left-hand pane). This will bring up a second window like the one below (again, the

fields on your computer will not initially be populated, but should end up looking

something like this:
(a)
The “
Connection Name
” can be anything
(b)
The
Gateway
and
Type
fields should be chosen as shown
(c)
The three fields below the
Type
are file-browse fields. When you click on any one, it

allows you to choose a file from your computer. Browse to the
sflcin
directory

described in step 3, and pick the files for each field as shown above.
(d)
A password is not set for your private key, so just leave the password field blank.
(e)
You will not need to make any changes in the second tab,
Ipv4 settings
, so just leave it

looking as below:
(f)
In the
VPN
tab, click on the
Advanced
button to the bottom right. This brings

up the advanced dialog box that looks like the one below. Check the box shown.
(g)
Leave the
Security
tab of the advanced dialog, unchanged, i.e., like this.
(h)
The
TLS Authentication
tab should look like the one below. Thus, check the

Use additional TLS authentication
, for the
Key File
field, browse to the
sflcin

folder, and choose the
ta.key
file, and choose 1 for the Key
Direction
.
That's it. You are done. Now, once the network is connected you can click on the

network manager, follow VPN Connections, and choose the VPN that you just set up (it

will show the name SFLC, or whatever you chose for the Connection Name in step 4).,

It will show an animation while it is in the process of connecting, and once connected,

a lock icon will show on top of the network manager.
The setup of OpenVPN on Windows should be similar.