LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 09-24-2014, 01:53 AM   #1
redwhat
LQ Newbie
 
Registered: Sep 2014
Posts: 21

Rep: Reputation: Disabled
l2tp vs openvpn


hi

i just bought vpn service to my linux machine,
i was use openvpn but every restart to my computer i need to log again
and it long process i need to go to folder select the file enter password and user name,

so i thought about change to l2tp,
what i want to ask is l2tp is secure enough to use if you
in unsecured home network and against man in the middle attack ?
 
Old 09-24-2014, 07:20 AM   #2
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
L2TP has no security at all, it is purely a transport encapsulation protocol. Any security would have to be with something like IPSec.
 
Old 09-24-2014, 07:55 AM   #3
redwhat
LQ Newbie
 
Registered: Sep 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
i want to apply this l2tp steps into my linux machine

https://support.hidemyass.com/hc/en-...etup-on-Fedora

is l2tp can offer similar security like openvpn ?
from protect my from unsafe home network and man in the middle attack ?
 
Old 09-24-2014, 08:24 AM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by redwhat View Post
i want to apply this l2tp steps into my linux machine

https://support.hidemyass.com/hc/en-...etup-on-Fedora

is l2tp can offer similar security like openvpn ?
from protect my from unsafe home network and man in the middle attack ?
Yes. Following that guide it tells you to set up encryption across the point to point link. It is technically not the L2TP protocol which is providing the encryption.

That method you're citing specifies MPPE which is Microsoft Point to Point Encryption, 128 bit encryption.

Openvpn can use 256 bit encryption; therefore a bit stronger. Openvpn also uses SSL and TLS; I'm unsure if MPPE uses those at all. Personally I feell openvpn is more secure.
 
Old 09-24-2014, 08:37 AM   #5
redwhat
LQ Newbie
 
Registered: Sep 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
but do you think l2tp with MPPE can protect me from man in the middle attack ?
i am asking because openvpn require to make the process of connection to the server every time,
in l2tp i just move the on button to enable connection to the server.

Last edited by redwhat; 09-24-2014 at 08:39 AM.
 
Old 09-24-2014, 10:28 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Quote:
Originally Posted by redwhat View Post
but do you think l2tp with MPPE can protect me from man in the middle attack ?
i am asking because openvpn require to make the process of connection to the server every time,
in l2tp i just move the on button to enable connection to the server.
Both of those will work to protect you against those types of attacks. What you're talking about really is "ease of use" because the semantics of setting up a connection and establishing the protection from end to end is still the same and it appears that the L2TP solution you wish to employ just flows easier. Doesn't mean that it isn't still establishing a full connection, but rather the way to control the connection is different between option #1 and option #2.
 
Old 09-24-2014, 06:33 PM   #7
redwhat
LQ Newbie
 
Registered: Sep 2014
Posts: 21

Original Poster
Rep: Reputation: Disabled
ok
thank you for your help
 
  


Reply



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
vpngate.net and L2TP/IPsec or OpenVPN marcelp1 Linux - Networking 1 07-28-2014 12:58 PM
OpenVPN assigning public & static IPs to pcs/devices behind an OpenVPN client dgonzalezh Linux - Networking 6 07-18-2010 09:50 AM
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:43 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