Pritunl as an alternative to classical OpenVPN connections
Local VPN or Cluster
Of course, Pritunl can handle the basic operation modes. For example, you can use the VPN server as a simple gateway if typical network address translation is not an option for some reason. The connection then becomes the default route: All traffic from the Internet and to the Internet is routed via an appropriately encrypted connection in Pritunl – and the solution can handle both IPv4 and IPv6.
That said, a gateway setup of this kind is not very exciting. Typical VPN setups are no problem for Pritunl, though: A user who is connected to Pritunl can use this connection to access all the computers on the private network behind the server. This optionally relies on tunneling or bridging, the difference simply being whether the VPN client directly becomes part of the private network or Pritunl visibly acts as a broker between the two networks. For the technically more elegant bridge mode, you would need an enterprise license.
Neither setup variant offers any notable benefits compared with OpenVPN, but this is not true of the option to connect multiple Pritunl servers. On the one hand, the computers behind the servers then see each other directly, thanks to Pritunl; this more or less creates a large virtual network segment. On the other hand, clients that connect to servers see all other clients in both parts of the network.
This option is very practical for enterprises that have their data distributed across multiple locations. Using the VPN link, all the servers and clients involved can communicate freely. This type of setup requires a MongoDB cluster, however. The individual MongoDB instances thus need to replicate their data autonomously in the background. The local Pritunl instances each connect to their own MongoDB database.
On its website, Pritunl avidly promotes its integrated support for products by Ubiquiti. Under the EdgeMAX brand name, Ubiquiti distributes various routers and switches in the semiprofessional sector. Pritunl comes with an EdgeMAX plugin that installs directly on the devices. After this, the existing Pritunl instances talk directly to the EdgeMAX routers and configure them according to the administrator's specifications.
Scalability and Availability
VPN servers tend to be bottlenecks: If hundreds of users connect to the service at the same time, it can quickly break a sweat. Pritunl prevents this problem by allowing administrators to run various VPN servers in different Pritunl instances on multiple servers. If you need more than one VPN entry point, simply use more than one server.
The Pritunl developers are currently thinking about the topic of high availability. The infrastructure for this is already in place. Thanks to the use of MongoDB and its clustering functionality, the datasets in the cluster are identical for every server. No matter how many Pritunl instances are active – and no matter what hardware they run on – every cluster always knows which partners it has.
Pritunl tackles the topic of high availability in a very effective way: If an instance in the cluster fails, Pritunl automatically restores it on different hardware, and the IP address of the VPN instance migrates with it.
Completely unnoticed by most administrators, Pritunl has its own miniature DNS server. It automatically assigns clients an unofficial DNS name under which the client is accessible in the VPN. The username is based on the pattern <user>.<organization>.vpn
. DNS queries to the .vpn
domain are fielded and responded to by Pritunl.
Free Software?
The Pritunl website advertises the Pritunl client for various operating systems as "Open Source VPN"; however, in the case of the server – and this is without a doubt the more important component – the "Open Source" label is missing. A glance at the server's license file reveals why the authors of Pritunl are more cautious with the label when it comes to their server.
The license lists several things that Pritunl users are not allowed to do, including not passing on Pritunl source code with their own modifications to other users. All told, the Pritunl server license is a document that even less zealous friends of free software are likely to criticize. Free in the sense of the FLOSS definition, the Pritunl server is not. Whether or not this is a problem is something everyone needs to decide for themselves.
« Previous 1 2 3 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.
-
Plasma Desktop Will Soon Ask for Donations
The next iteration of Plasma has reached the soft feature freeze for the 6.2 version and includes a feature that could be divisive.
-
Linux Market Share Hits New High
For the first time, the Linux market share has reached a new high for desktops, and the trend looks like it will continue.
-
LibreOffice 24.8 Delivers New Features
LibreOffice is often considered the de facto standard office suite for the Linux operating system.
-
Deepin 23 Offers Wayland Support and New AI Tool
Deepin has been considered one of the most beautiful desktop operating systems for a long time and the arrival of version 23 has bolstered that reputation.
-
CachyOS Adds Support for System76's COSMIC Desktop
The August 2024 release of CachyOS includes support for the COSMIC desktop as well as some important bits for video.
-
Linux Foundation Adopts OMI to Foster Ethical LLMs
The Open Model Initiative hopes to create community LLMs that rival proprietary models but avoid restrictive licensing that limits usage.
-
Ubuntu 24.10 to Include the Latest Linux Kernel
Ubuntu users have grown accustomed to their favorite distribution shipping with a kernel that's not quite as up-to-date as other distros but that changes with 24.10.