LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-07-2024, 11:35 AM   #1
JASlinux
Member
 
Registered: Oct 2020
Posts: 380

Rep: Reputation: Disabled
Question OpenVPN in Ubuntu?


Ubuntu supports PPTP builtin, but OpenVPN installation instructions look formidable. Is there any easy way to install Ubuntu OpenVPN?

https://ubuntu.com/server/docs/service-openvpn
 
Old 04-08-2024, 03:55 AM   #2
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,313
Blog Entries: 3

Rep: Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723
Quote:
Originally Posted by JASlinux View Post
Ubuntu supports PPTP builtin, ...
(I would have expected much better from them. PPTP is almost worse than nothing, or maybe it actually is worse.)

OpenVPN is doable, but as you see there are more steps than with Wireguard,

https://ubuntu.com/server/docs/wireg...n-introduction

https://www.digitalocean.com/communi...n-ubuntu-20-04

Many would also say that Wireguard is an improvement over OpenVPN. So I would recommend considering Wiregaurd instead of OpenVPN, if you have no pressing reasons to use OpenVPN.

There is also StrongSwan.

What are your general goals with a VPN? What kind of networks are you planning on connecting?
 
Old 04-08-2024, 07:21 AM   #3
JASlinux
Member
 
Registered: Oct 2020
Posts: 380

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Turbocapitalist View Post
Many would also say that Wireguard is an improvement over OpenVPN.
Can you put your understanding in general terms?

Quote:
What are your general goals with a VPN? What kind of networks are you planning on connecting?
To spare Ubuntu, I think PPTP-only builtin is the same with Microsoft & I know it is in Android.

Esoteric is the reason why later alternatives are safer.

So, as I user I was convinced OpenVPN is significantly more secure. I seek it when available. I can use it installed in another distro but I am leaning more on Ubuntu now.

OpenVPN is more common than Wireguard & StrongSwan but good to know what's out there.

Perhaps I should look for a distro with it builtin, but common utilities should be available everywhere.

I basically need user-oriented XFCE & not too bloated.

I am connecting to networks supporting PPTP or OpenVPN.
 
Old 04-09-2024, 01:21 AM   #4
Turbocapitalist
LQ Guru
 
Registered: Apr 2005
Distribution: Linux Mint, Devuan, OpenBSD
Posts: 7,313
Blog Entries: 3

Rep: Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723Reputation: 3723
Quote:
Originally Posted by JASlinux View Post
Can you put your understanding in general terms?
Wireguard has a much, much smaller code base. Thus all even if all other factors were equal, that is an advantage because if code is not there it cannot break. There is even an implementation baked into OpenBSD base, which speaks a lot to the auditability and clarity. There are ports for Android and MacOS too.

Last I checked, Wireguard has defaulted to stronger algorithms. In the case of proprietary competition, last I checked, most did not even offer those stronger algorithms as an option.

On the usage side, setup is much simpler, as you can see from the guides.

The connection process is apparently simpler, thus faster and less error prone.

Apparently it transfers data faster than the others.

Don't take my word for it though. Unlike m$ products, it is allowed to evaluate and benchmark this software so you can find many reviews and guides out there.


Quote:
Originally Posted by JASlinux View Post
Can you put your understanding in general terms?
To spare Ubuntu, I think PPTP-only builtin is the same with Microsoft & I know it is in Android.

Esoteric is the reason why later alternatives are safer.
PPTP, like other m$ services, insecure by design:

https://www.schneier.com/academic/ar..._of_mic_1.html
https://www.schneier.com/academic/ar...is_of_mic.html

Notice those posts are from the 1990s. L2TP is basically just a name change and just about as burdened with security hole.
 
Old 04-09-2024, 01:58 AM   #5
JASlinux
Member
 
Registered: Oct 2020
Posts: 380

Original Poster
Rep: Reputation: Disabled
There is a Ubuntu repository package called network-manager-openvpn I have installed, but I am not seeing the OpenVPN option in settings, still just PPTP.

two versions for Xubuntu:

network-manager-openvpn
network-manager-openvpn-gnome

I assumed the first is the right one.
 
Old 04-09-2024, 02:34 AM   #6
JASlinux
Member
 
Registered: Oct 2020
Posts: 380

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Turbocapitalist View Post

On the usage side, setup is much simpler, as you can see from the guides.
Simpler is definitely a plus. It is always simpler to use PPTP than OpenVPN, but the extra work involved is logical.
 
Old 04-09-2024, 03:14 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,867

Rep: Reputation: 7312Reputation: 7312Reputation: 7312Reputation: 7312Reputation: 7312Reputation: 7312Reputation: 7312Reputation: 7312Reputation: 7312Reputation: 7312Reputation: 7312
Quote:
Originally Posted by JASlinux View Post
Simpler is definitely a plus. It is always simpler to use PPTP than OpenVPN, but the extra work involved is logical.
You misunderstood. Wireguard is much simpler than OpenVPN.
PPTP is deprecated.
 
  


Reply

Tags
openvpn, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to allow OpenVPN (W10) client to use DNS server (BIND9) that resides on (Ubuntu 16.04) OpenVPN server? grigory Linux - Networking 13 09-17-2019 10:54 PM
OpenVPN client has not default gateway when connect to OpenVPN server sailershen Linux - Security 3 03-04-2010 02:20 AM
How does OpenVPN Linux server issues IP and netmask to OpenVPN clients on Windows XP pssompura Linux - Networking 0 12-24-2009 02:42 AM
Error When converting Routing OpenVPN to bridge mode openvpn danmartinj Linux - Software 0 11-06-2009 09:23 AM
OpenVPN Question : connecting 5-6 comps with OpenVPN duryodhan Linux - Networking 7 02-15-2007 10:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration