This is an automated email from the ASF dual-hosted git repository.

weizhouapache pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git


The following commit(s) were added to refs/heads/main by this push:
     new 463be392 added vpn steps for ubuntu22 (#606)
463be392 is described below

commit 463be39263a71a58161d6c9533000800f916d317
Author: kiranchavala <[email protected]>
AuthorDate: Tue Sep 1 17:34:04 2026 +0530

    added vpn steps for ubuntu22 (#606)
---
 source/_static/images/vpn/ubuntuvpn1.png           | Bin 0 -> 72089 bytes
 source/_static/images/vpn/ubuntuvpn2.png           | Bin 0 -> 96685 bytes
 source/_static/images/vpn/ubuntuvpn3.png           | Bin 0 -> 212541 bytes
 source/_static/images/vpn/ubuntuvpn4.png           | Bin 0 -> 230329 bytes
 source/_static/images/vpn/ubuntuvpn5.png           | Bin 0 -> 350397 bytes
 source/_static/images/vpn/ubuntuvpn6.png           | Bin 0 -> 36398 bytes
 source/_static/images/vpn/ubuntuvpn7.png           | Bin 0 -> 150964 bytes
 source/adminguide/networking/remote_access_vpn.rst |   4 +-
 .../adminguide/networking/using_remote_access.rst  |  65 +++++++++++++++++++++
 9 files changed, 67 insertions(+), 2 deletions(-)

diff --git a/source/_static/images/vpn/ubuntuvpn1.png 
b/source/_static/images/vpn/ubuntuvpn1.png
new file mode 100644
index 00000000..9d41a7d4
Binary files /dev/null and b/source/_static/images/vpn/ubuntuvpn1.png differ
diff --git a/source/_static/images/vpn/ubuntuvpn2.png 
b/source/_static/images/vpn/ubuntuvpn2.png
new file mode 100644
index 00000000..956c4871
Binary files /dev/null and b/source/_static/images/vpn/ubuntuvpn2.png differ
diff --git a/source/_static/images/vpn/ubuntuvpn3.png 
b/source/_static/images/vpn/ubuntuvpn3.png
new file mode 100644
index 00000000..27724da1
Binary files /dev/null and b/source/_static/images/vpn/ubuntuvpn3.png differ
diff --git a/source/_static/images/vpn/ubuntuvpn4.png 
b/source/_static/images/vpn/ubuntuvpn4.png
new file mode 100644
index 00000000..f99443e4
Binary files /dev/null and b/source/_static/images/vpn/ubuntuvpn4.png differ
diff --git a/source/_static/images/vpn/ubuntuvpn5.png 
b/source/_static/images/vpn/ubuntuvpn5.png
new file mode 100644
index 00000000..b6418348
Binary files /dev/null and b/source/_static/images/vpn/ubuntuvpn5.png differ
diff --git a/source/_static/images/vpn/ubuntuvpn6.png 
b/source/_static/images/vpn/ubuntuvpn6.png
new file mode 100644
index 00000000..32ecf22f
Binary files /dev/null and b/source/_static/images/vpn/ubuntuvpn6.png differ
diff --git a/source/_static/images/vpn/ubuntuvpn7.png 
b/source/_static/images/vpn/ubuntuvpn7.png
new file mode 100644
index 00000000..b320f683
Binary files /dev/null and b/source/_static/images/vpn/ubuntuvpn7.png differ
diff --git a/source/adminguide/networking/remote_access_vpn.rst 
b/source/adminguide/networking/remote_access_vpn.rst
index 95384c27..8a575a63 100644
--- a/source/adminguide/networking/remote_access_vpn.rst
+++ b/source/adminguide/networking/remote_access_vpn.rst
@@ -25,8 +25,8 @@ a network offering that offers the Remote Access VPN service, 
the
 virtual router (based on the System VM) is used to provide the service.
 CloudStack provides a L2TP-over-IPsec-based remote access VPN service to
 guest virtual networks. Since each network gets its own virtual router,
-VPNs are not shared across the networks. VPN clients native to `Windows,
-Mac OS X <networking/using_remote_access.html>`_ and iOS can be used to 
connect to the guest networks. The
+VPNs are not shared across the networks. VPN clients native to `Mac OS X 
<networking/using_remote_access.html#mac-osx>`_,
+`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
 account owner can create and manage users for their VPN. CloudStack does
 not use its account database for this purpose but uses a separate table.
 The VPN user database is shared across all the VPNs created by the
diff --git a/source/adminguide/networking/using_remote_access.rst 
b/source/adminguide/networking/using_remote_access.rst
index 9c30a33e..66191b7b 100644
--- a/source/adminguide/networking/using_remote_access.rst
+++ b/source/adminguide/networking/using_remote_access.rst
@@ -146,3 +146,68 @@ Following instruction have been perform using Windows 8.1 
using Native VPN clien
    .. image:: /_static/images/vpn/win14.png
       :align: center 
       :width: 400 px
+
+
+Ubuntu 22.04 LTS
+-------
+
+Ubuntu 22.04 LTS does not provide native IPsec VPN client via Network Manager.
+
+#. Install the following packages to enable L2TP over IPsec VPN support:
+
+   ```
+   add-apt-repository universe
+   apt update
+   apt install network-manager-l2tp-gnome network-manager-l2tp strongswan 
xl2tpd
+   ```
+
+#. Restart Network Manager service to load the new plugins:
+
+   ```
+   systemctl restart NetworkManager
+   ```
+
+#. Navigate to Settings -> Network
+
+   .. image:: /_static/images/vpn/ubuntuvpn1.png
+      :align: center 
+      :width: 400 px
+
+
+#. Click "+" button and add a select Layer 2 Tunneling Protocol (L2TP):
+
+   
+   .. image:: /_static/images/vpn/ubuntuvpn2.png
+      :align: center 
+      :width: 400 px
+
+#. Provide the VPN connection information:
+
+.. image:: /_static/images/vpn/ubuntuvpn3.png
+      :align: center
+      :width: 400 px
+
+#. Click on IpSec Settings and configure the following:
+
+   .. image:: /_static/images/vpn/ubuntuvpn4.png
+      :align: center
+      :width: 400 px
+
+#. Click on PPP Settings and select use MPPE encryption:
+
+   .. image:: /_static/images/vpn/ubuntuvpn5.png
+      :align: center
+      :width: 400 px 
+
+#. Connect into VPN
+
+   #. Enable the cloudstack vpn connection.
+   #. verify the connection by checking the ip address assigned on the ppp0 
interface
+
+   .. image:: /_static/images/vpn/ubuntuvpn6.png
+      :align: center
+      :width: 400 px 
+
+   .. image:: /_static/images/vpn/ubuntuvpn7.png
+      :align: center
+      :width: 400 px    
\ No newline at end of file

Reply via email to