LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-23-2015, 01:19 AM   #1
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 391

Rep: Reputation: 248Reputation: 248Reputation: 248
Problem setting up VPN client with L2TP


I use a commercial VPN account to access blocked websites. In some international regions even popup_ads like google_ads are blocked which makes sites like linuxquestions frustrating while ya wait for them to timeout. It works great under windoze but that is a real pain to reboot to win7, get a file, and reboot then go back to slackware, yada, yada...

I am using Slackware-64-current w/multilib. I have been able to get the PPTP version of the VPN to work fairly decently via networkmanager but PPTP is slower than what I can get done in win7. The VPN server supplier has suggested using L2TP. I am using their android l2tp app and it is snazzy but I am frustrated at not being able to get that result with my slackware.

The networkmanager doesnt provide complete support for l2tp and blows up with a message that networkmanager.l2tp is not installed. The supplier of the VPN server has offered an Ubuntu PPA that apparently would do what networkmanager is not doing, but that is not much use for me in slackware-- there is no source to compile that i can find and no rpm to convert.

I have tried strongswan but find the documentation to quite opaque indeed, and with openswan the documentation seems to be practically nonexistent. I have been reading the basic documentation of l2tp and have some idea about it but a solution evades me.

The networkmanager dialog asks for the same info as the android app for L2TP but fails with the "www.freedesktop.org networkmanager.l2tp is not installed" error.

I need some method to either patch networkmanager for l2tp or some command line or script-based method. Either is ok for me. Meanwhile I will continue to dig for a solution via basic studies, but a shortcut at this point would be helpful, since I came to drain the swamp not fight the alligators.
 
Old 02-23-2015, 01:42 AM   #2
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,450
Blog Entries: 15

Rep: Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031
NetworkManager-ptpp and NetworkManager-l2tp are both available from Slackbuilds.org if you need them.
 
1 members found this post helpful.
Old 02-23-2015, 02:17 AM   #3
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 391

Original Poster
Rep: Reputation: 248Reputation: 248Reputation: 248
I have searched slackbuilds with no avail. I still can't find any slackbuild for networkmanager-l2tp.
 
Old 02-23-2015, 05:13 AM   #4
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,450
Blog Entries: 15

Rep: Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031
There's also OpenL2TP.

The NetworkManager-L2TP plugin can be found here:

https://launchpad.net/~seriy-pr/+arc...k-manager-l2tp

There's no SlackBuild script, but src2pkg should be able to build it.

Last edited by ReaperX7; 02-23-2015 at 05:15 AM.
 
Old 02-23-2015, 07:58 AM   #5
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 391

Original Poster
Rep: Reputation: 248Reputation: 248Reputation: 248
Smile

I had downloaded that launchpad stuff and tried compiling it which didn't get it going. I see that the files are not placed right. I wasgoing to try plugging them in manually but will try src2pkg.

Last edited by Regnad Kcin; 02-23-2015 at 07:59 AM.
 
Old 02-23-2015, 01:36 PM   #6
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 391

Original Poster
Rep: Reputation: 248Reputation: 248Reputation: 248
Smile

I was able to get Sergey's plugin installed by the use of src2pkg.

That fixed the networkmanager problem.

It looks like there is a lot of good info in Sergey's web page but unfortunately it is all in Russian. I will get a machine translation of it.

So while I am greatly encouraged to have gotten networkmanager-l2tp going, i still have
some debugging of the connection to do.
 
Old 02-23-2015, 10:22 PM   #7
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 391

Original Poster
Rep: Reputation: 248Reputation: 248Reputation: 248
I'm going to mark this as Solved even though I have some issues remaining but
I am back on the track to a solution now.

Thanks for the help!
 
Old 02-23-2015, 11:06 PM   #8
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-Current
Posts: 6,450
Blog Entries: 15

Rep: Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031Reputation: 2031
You're welcome.
 
Old 05-13-2016, 07:00 AM   #9
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,140

Rep: Reputation: Disabled
Quote:
Originally Posted by Regnad Kcin View Post
I was able to get Sergey's plugin installed by the use of src2pkg.

That fixed the networkmanager problem.

It looks like there is a lot of good info in Sergey's web page but unfortunately it is all in Russian. I will get a machine translation of it.

So while I am greatly encouraged to have gotten networkmanager-l2tp going, i still have
some debugging of the connection to do.
Was that the only thing you installed. I tried installing the plugin, but none of them worked for me.
 
Old 05-13-2016, 07:45 AM   #10
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 391

Original Poster
Rep: Reputation: 248Reputation: 248Reputation: 248
@problemchyld -

I finally did not succeed in getting my VPN to work in Slackware
despite many hours spent on it.

My solution was to put the VPN info into the router.

I may tackle it again some day. I tried many
different solutions and worked through Jacco's stuff step by step several times

I tried openswan which seemed to get me fairly close, i could connect and get verified but couldnt establish a working connection.

I also tried strongswan but found the documentation to be extremely opaque.

I tried other solutions as well.
 
Old 05-13-2016, 11:01 AM   #11
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,140

Rep: Reputation: Disabled
Thanks, I have been trying for a couple weeks and no cigar.
 
Old 07-18-2019, 08:38 AM   #12
bam80
Member
 
Registered: Nov 2015
Location: Russia
Distribution: Slackware
Posts: 56

Rep: Reputation: Disabled
Quote:
Originally Posted by Regnad Kcin View Post
I finally did not succeed in getting my VPN to work in Slackware
Maybe it's not quite correct to mark it as "SOLVED" then?

Stumbled upon it too.
 
Old 07-18-2019, 02:26 PM   #13
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,140

Rep: Reputation: Disabled
This might help https://github.com/nm-l2tp/NetworkManager-l2tp

It now allows certificates. I built openssl latest version 1.1.x and things broke.

Last edited by PROBLEMCHYLD; 07-18-2019 at 04:14 PM.
 
Old 07-18-2019, 07:30 PM   #14
bam80
Member
 
Registered: Nov 2015
Location: Russia
Distribution: Slackware
Posts: 56

Rep: Reputation: Disabled
Quote:
Originally Posted by PROBLEMCHYLD View Post
Probably we should package it then.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Setting up a L2TP VPN server ratcateme Linux - Networking 5 06-26-2013 07:29 AM
Problem with setting L2TP VPN in kubuntu using strongswan AmirGooran Linux - Networking 0 05-11-2012 03:27 PM
How to configure a l2tp-vpn client? itz2000 Linux - Newbie 0 10-07-2008 07:10 AM
Newbie - L2TP VPN Client? VJgamer Linux - Networking 0 10-02-2008 08:04 PM
L2TP VPN client (Mandrake) Fernanda Linux - Networking 1 01-22-2006 07:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:27 PM.

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