Skip to content

Commit 794fa87

Browse files
committed
added vpn steps for ubuntu22
1 parent aac9e8f commit 794fa87

File tree

9 files changed

+67
-2
lines changed

9 files changed

+67
-2
lines changed
70.4 KB
Loading
94.4 KB
Loading
208 KB
Loading
225 KB
Loading
342 KB
Loading
35.5 KB
Loading
147 KB
Loading

source/adminguide/networking/remote_access_vpn.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ a network offering that offers the Remote Access VPN service, the
2525
virtual router (based on the System VM) is used to provide the service.
2626
CloudStack provides a L2TP-over-IPsec-based remote access VPN service to
2727
guest virtual networks. Since each network gets its own virtual router,
28-
VPNs are not shared across the networks. VPN clients native to `Windows,
29-
Mac OS X <networking/using_remote_access.html>`_ and iOS can be used to connect to the guest networks. The
28+
VPNs are not shared across the networks. VPN clients native to `Mac OS X <networking/using_remote_access.html#mac-osx>`_,
29+
`Windows <networking/using_remote_access.html#microsoft-windows-8>`_, `Linux-Ubuntu <networking/using_remote_access.html#ubuntu-22-04-lts>`_ and iOS can be used to connect to the guest networks. The
3030
account owner can create and manage users for their VPN. CloudStack does
3131
not use its account database for this purpose but uses a separate table.
3232
The VPN user database is shared across all the VPNs created by the

source/adminguide/networking/using_remote_access.rst

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,68 @@ Following instruction have been perform using Windows 8.1 using Native VPN clien
146146
.. image:: /_static/images/vpn/win14.png
147147
:align: center
148148
:width: 400 px
149+
150+
151+
Ubuntu 22.04 LTS
152+
-------
153+
154+
Ubuntu 22.04 LTS does not provide native IPsec VPN client via Network Manager.
155+
156+
#. Install the following packages to enable L2TP over IPsec VPN support:
157+
158+
```
159+
add-apt-repository universe
160+
apt update
161+
apt install network-manager-l2tp-gnome network-manager-l2tp strongswan xl2tpd
162+
```
163+
164+
#. Restart Network Manager service to load the new plugins:
165+
166+
```
167+
systemctl restart NetworkManager
168+
```
169+
170+
#. Navigate to Settings -> Network
171+
172+
.. image:: /_static/images/vpn/ubuntuvpn1.png
173+
:align: center
174+
:width: 400 px
175+
176+
177+
#. Click "+" button and add a select Layer 2 Tunneling Protocol (L2TP):
178+
179+
180+
.. image:: /_static/images/vpn/ubuntuvpn2.png
181+
:align: center
182+
:width: 400 px
183+
184+
#. Provide the VPN connection information:
185+
186+
.. image:: /_static/images/vpn/ubuntuvpn3.png
187+
:align: center
188+
:width: 400 px
189+
190+
#. Click on IpSec Settings and configure the following:
191+
192+
.. image:: /_static/images/vpn/ubuntuvpn4.png
193+
:align: center
194+
:width: 400 px
195+
196+
#. Click on PPP Settings and select use MPPE encryption:
197+
198+
.. image:: /_static/images/vpn/ubuntuvpn5.png
199+
:align: center
200+
:width: 400 px
201+
202+
#. Connect into VPN
203+
204+
#. Enable the cloudstack vpn connection.
205+
#. verify the connection by checking the ip address assigned on the ppp0 interface
206+
207+
.. image:: /_static/images/vpn/ubuntuvpn6.png
208+
:align: center
209+
:width: 400 px
210+
211+
.. image:: /_static/images/vpn/ubuntuvpn7.png
212+
:align: center
213+
:width: 400 px

0 commit comments

Comments
 (0)