VPN Client Configuration Guide
VPN Client Configuration Guide
VPN RIS
VPN Client Configuration
SPMS Manuals
Index
2
VPN Client Configuration
SPMS Manuals
In order to enable the automatic installation of the VPN on the Windows 10 operating system, it is
necessary:
3
VPN Client Configuration
SPMS Manuals
d) After execution, a box will appear, similar to the one in the image above, in
you need to click on the box More Information.
e) Afterwards, you must select the option Run Anyway, as one can
check the image immediately above.
4
VPN Client Configuration
SPMS Manuals
f) Then, one must accept the terms of use by checking the box
selecting and choosing the option Install.
5
VPN Client Configuration
SPMS Manuals
Note: After restarting the machine, you must follow the steps described inConnect one
VPN.
6
VPN Client Configuration
SPMS Manuals
Manual configuration
a) Connection configuration
Before you can connect to the RIS VPN, it is necessary to create a VPN Connection on the Workstation.
The manual creation of a VPN Connection is carried out by following the instructions listed below:
a) Select the Start button and then select Settings > Rede and
Internet > VPN > Add a VPN connection.
b) When adding a VPN connection, do the following:
7
VPN Client Configuration
SPMS Manuals
m) In the Security tab, enable the exclusive option Allow these protocols, and
Next, check if the option MS-CHAP v2 (Microsoft CHAP Version 2) is active.
n) In the network operation separator, select the item IPv4 Protocol
(TCP/IPv4), and select Properties.
o) In the new Properties window, select Advanced.
In the new Advanced window, disable the option Use default gateway on the network
remote, and disable the automatic metric option by filling in the text box
Interface metric with a value below 25, for situations where access
The Internet is provided via a network cable.
Note: For internet access via Wi-Fi, there is no need to change this option.
8
VPN Client Configuration
SPMS Manuals
Select OK.
r) Select OK.
b) Record editing
a) For the VPN connection to work correctly, it is necessary to proceed to
additional settings in the Registry Editor, so it is suggested that they be
executed the instructions listed below:
b) Select the Start button, then search for the command regedit.
Note: The operations presented below must be carried out by personnel
qualified, with administrative privileges.
Note 2: Before performing this operation, it is wise to make a backup for the Editor.
of registration.
9
VPN Client Configuration
SPMS Manuals
ProhibitIpSec
sure.
e) Proceed to amend the records in accordance with the following table:
f) It must restart the workstation, and as soon as it starts, it is ready to
establish VPN connection.
10
VPN Client Configuration
SPMS Manuals
Turn on a VPN
When you have a VPN connection created, you will be ready to establish the connection.
a) On the far right of the taskbar, select the Network icon (or ).
b) Select the VPNVPN-RISe connection, then perform one of the following
procedures, according to what happens when selecting the VPN connection:
If the Connect button appears below the VPN connection, select Connect.
d) If the VPN section in Settings is open, select the VPN connection there and,
Next, select Call.
e) Enter the username and password (credentials) previously
provided.
f) When the connection is established, the word Connected will be displayed.
name of the VPN connection. To see if you are connected to the VPN while performing others
activities at the Workstation, select the Network icon (or) in
right end of the taskbar and check if the name of the VPN connection
presents the stateOn.
11
VPN Client Configuration
SPMS Manuals
Before you can connect to the RIS VPN, it is necessary to create a VPN Connection on the Workstation.
Manual creation of a VPN connection is done by following the instructions listed below:
a) On the Mac, select the Apple menu > System Preferences, and then
selecionarRede.
b) Select Additional list on the left, and do the following in the new window:
c) For Interface, choose VPN.
d) For VPN Type, choose L2TP via IPSec.
e) In the Service box, enter the text: VPN-RIS, and then select Create.
12
VPN Client Configuration
SPMS Manuals
13
VPN Client Configuration
SPMS Manuals
Connect a VPN
When you have a VPN connection created, you will be ready to establish the connection.
a) Click on the VPN symbol in the top right corner and select the Connect option
VPN-RIS
14
VPN Client Configuration
SPMS Manuals
15
VPN Client Configuration
SPMS Manuals
git clone[Link]
cd network-manager-l2tp
autoreconf -fi
intltoolize
here you must choose the configuration for your distribution (you should only use one)
Debian >= 10 and Ubuntu >= 18.04 (AMD64, i.e. x86-64) * version used in this tutorial
./configure \
--disable-static --prefix=/usr \
--sysconfdir=/etc --libdir=/usr/lib/x86_64-linux-gnu \
--libexecdir=/usr/lib/NetworkManager \
--localstatedir=/var \
--with-pppd-plugin-dir=/usr/lib/pppd/2.4.7
./configure \
--disable-static --prefix=/usr \
--sysconfdir=/etc --libdir=/usr/lib64 \
--localstatedir=/var \
--with-pppd-plugin-dir=/usr/lib64/pppd/2.4.7
16
VPN Client Configuration
SPMS Manuals
openSUSE (x86-64)
./configure \
--disable-static --prefix=/usr \
--sysconfdir=/etc --libdir=/usr/lib64 \
--libexecdir=/usr/lib \
--localstatedir=/var \
--with-pppd-plugin-dir=/usr/lib64/pppd/2.4.7
b) After the configuration, the following commands must be executed in the folder:
make
c) On Linux, select the icon Show Applications > Settings, and then
selectNetwork.
d) Select Additional list on the left, and do the following in the new window:
17
VPN Client Configuration
SPMS Manuals
18
VPN Client Configuration
SPMS Manuals
19
VPN Client Configuration
SPMS Manuals
p) Select Save.
q) Check if there is only one gateway (route -n); if there is more than one, it will have to
remove the one that is extra (the one that is extra will be the one added after turning on)
the machine. After this verification, you can execute the following command to have
route for all networks in the RIS: sudo ip route add [Link]/8 dev ppp0
20
VPN Client Configuration
SPMS Manuals
Turn on a VPN
When you have a VPN connection created, you will be ready to establish the connection.
a) On Linux, select the Show Applications icon > Settings, and then,
selectNetwork.
b) Select the VPN-RIS service from the list on the left.
c) Select Connect.
21
VPN Client Configuration
SPMS Manuals
22
VPN Client Configuration
SPMS Manuals
c) After opening the new screen, proceed to create the new VPN connection. To do this
select the option
d) On the next screen, fill in the fields according to the following information:
In the boxName, enter the text: VPN-RIS
b. In the boxType, select the option: L2TP/IPSec PSK.
c. In the Server Address box, enter the text: [Link]-
[Link]
In the pre-shared IPSec key box, enter the text: VPN_SPMS
e. Select the boxShow Advanced Options
In the Routing Forwarding box, enter the text [Link]/8
In the Username and Password box, enter the credentials
received for the use of the VPN.
23
VPN Client Configuration
SPMS Manuals
e) After entering the previous fields, it can be verified that the VPN has been created.
according to the following image.
f) To make the connection, select the VPN-RIS option, created previously, and
SelectConnect. For cybersecurity reasons, it is recommended to disable the
option: Save account information, requiring input of the
VPN credentials whenever the VPN connection starts.
24
VPN Client Configuration
SPMS Manuals
25
VPN Client Configuration
SPMS Manuals
d) After opening the new screen, proceed to create the new VPN connection. To do this
select Add VPN configuration
e) On the next screen, fill in the fields according to the following information:
a. In the boxType, choose the option: L2TP
b. In the Description box, enter the text: VPN-RIS
In the Server box, enter the text: [Link]
d. In the Secret box, enter the text: VPN_SPMS
e. In the Account box and Password, Enter the credentials received to
the use of the VPN.
f. In the box Send all traffic, disable the option.
26
VPN Client Configuration
SPMS Manuals
g) After entering the previous fields, it can be verified that the VPN has been created,
according to the following image. To make the connection, select the VPN option.
RIS.
27
VPN Client Configuration
SPMS Manuals
6. Problem Solving
Step 2: Confirm that the changes have been applied in the Registry Editor
Check if the Windows Registry Editor has been altered from point 7 of step Add a
VPN connection on Windows 10.
28
VPN Client Configuration
SPMS Manuals
a) Confirm that there is only one active VPN connection, since the addressing
IP used in the RIS VPN may conflict with the addressing used.
other VPNs, thus making it impossible to use the VPN.
a) Select the Start button, then search for the command cmd
In the new window, enter the text: route print
c) Check if the Metric of the interface 10.200.x.x is lower than the Metric
from the local network interface. If a higher value is being presented, by
please review point 5b of the step Add a VPN connection in Windows 10.
a) Confirm that there are no entries in the hosts file that are in conflict
with the resolution of names of servers or applications of the RIS.
29
VPN Client Configuration
SPMS Manuals
Linux /etc/hosts
a) Confirm that the applications installed locally on the Workstation do not have
they are blocking access to servers or RIS applications when they
found published with non-standard ports.
30