LinuxQuestions.org
Visit Jeremy's Blog.
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 09-07-2016, 11:32 PM   #16
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 192

Rep: Reputation: 125Reputation: 125

I do indeed hope that this matter with l2tp/ipsec can somehow be resolved. It is a sticky mess and is about the only reason that I ever use win7, because I can't seem to figure out how to make my vpn work with slackware. the documentation for strongswan is opaque and non-helpful and most of the other documentation available is obsolete or non-applicable.

If anyone has any suggestions about the basic documentation for setting up a vpn with slackware it would be very helpful indeed.
 
Old 09-11-2016, 08:56 AM   #17
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 730

Original Poster
Rep: Reputation: Disabled
This seems to be the only issue I have with Slackware. I hope someone could help me fix the errors posted above. http://www.linuxquestions.org/questi...7/#post5600173 I noticed Slackware only has a few options regarding L2TP/IPsec, which none of them worked for me.

Last edited by PROBLEMCHYLD; 09-11-2016 at 09:00 AM.
 
Old 10-17-2016, 11:45 AM   #18
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 730

Original Poster
Rep: Reputation: Disabled
Finally got it working, now all I need to do is configure my network

Last edited by PROBLEMCHYLD; 12-28-2016 at 05:40 PM.
 
Old 10-17-2016, 02:34 PM   #19
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.2 64bit
Posts: 915
Blog Entries: 5

Rep: Reputation: 145Reputation: 145
Congratulations

You reported many issues before making it work for you. Would you mind sharing the solution you found?

Thanks.

Last edited by gegechris99; 10-17-2016 at 02:35 PM.
 
Old 10-17-2016, 02:44 PM   #20
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 730

Original Poster
Rep: Reputation: Disabled
Will post in 15 min, gotta pack for vacation.
 
Old 10-17-2016, 03:18 PM   #21
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 730

Original Poster
Rep: Reputation: Disabled
I not sure what others have on their systems, but this is what I did step by step.

For starters I'm using MLED/Microlinux with updated Kernel 4.4.23.

I always do a clean install because it easier to track issues.

1. Clean install

2. Updated Kernel to version 4.4.23

3. Setup/configure/connect to the internet/home network etc....

4. Install MLED, I prefer to use the scripts by gegechris99 (makes life easier for me and testing)

5. Download these files l2tp-ipsec-vpn-daemon_n.n.n.tar.gz and l2tp-ipsec-vpn_n.n.n.tar.gz from here http://wiki.l2tpipsecvpn.tuxfamily.o...ec_VPN_Manager

6. Not sure if necessary, but I did it anyway. Converted the above downloaded packages using src2pkg

7. Download the packages from https://slackonly.com/pub/packages/ or build them yourself. No need to re-invent the wheel so I used the packages. Install the 3 packages below first and reboot.

ctemplate-2.3
gksu-2.0.2
libgksu-2.0.12

8. Install l2tp-ipsec-vpn-daemon_n.n.n.tar.gz + l2tp-ipsec-vpn_n.n.n.tar.gz and reboot in that order.

This is as far as I got. I will be away from my computer Wednesday to Saturday. I can test until then.

Last edited by PROBLEMCHYLD; 10-17-2016 at 03:34 PM.
 
2 members found this post helpful.
Old 11-13-2016, 05:27 AM   #22
douglask
LQ Newbie
 
Registered: Nov 2016
Posts: 1

Rep: Reputation: Disabled
The 32bit NetworkManager-l2tp issue was fixed several months ago with https://github.com/nm-l2tp/network-m...-l2tp/issues/9

The 32bit issue was unintentionally overlooked on other linux distributions because the NetworkManager-l2tp 1.2.2 packages were successfully being built with the following configure argument :

--enable-more-warnings=yes



NetworkManager-l2tp 1.2.4 which has the fix will be released in the next few days.
 
1 members found this post helpful.
Old 11-13-2016, 09:29 AM   #23
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 730

Original Poster
Rep: Reputation: Disabled
Thanks, I will give it a try.
 
Old 11-18-2016, 01:39 AM   #24
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 730

Original Poster
Rep: Reputation: Disabled
Updated instructions

1. Clean install

2. Updated Kernel to version 4.4.29

3. Setup/configure/connect to the internet/home network etc....

4. Install MLED, I prefer to use the scripts by gegechris99 (makes life easier for me and testing)

5. Download these files l2tp-ipsec-vpn-daemon_n.n.n.tar.gz and l2tp-ipsec-vpn_n.n.n.tar.gz from here http://wiki.l2tpipsecvpn.tuxfamily.o...ec_VPN_Manager

6. Not sure if necessary, but I did it anyway. Converted the above downloaded packages using src2pkg

7. Download the packages from https://slackonly.com/pub/packages/ or build them yourself. No need to re-invent the wheel so I used the packages. Install the 3 packages below first and reboot.

ctemplate-2.3
gksu-2.0.2
libgksu-2.0.12

8. Install l2tp-ipsec-vpn-daemon_n.n.n.tar.gz + l2tp-ipsec-vpn_n.n.n.tar.gz and reboot in that order.

9. run command to auto start
Code:
/usr/lib/l2tp-ipsec-vpn-daemon/L2tpIPsecVpnControlDaemon start
10. you will need to setup gksu with root password

11. run command
Code:
L2tpIPsecVpn
and then right click icon and edit connections. This should allow you to configure your L2TP network.

Now I would like to try and automate the process if possible. But I'm gonna need some help.
I'm still testing but this should get you guys going.

Last edited by PROBLEMCHYLD; 11-18-2016 at 01:42 AM.
 
Old 11-18-2016, 02:36 AM   #25
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 192

Rep: Reputation: 125Reputation: 125
This is sounding great.

I have a lot of respect for Niki Kovacs,
but do I really need to install MLED to make this work?

If I can do it without MLED I will spare the new level of complexity for a later time.
If MLED is a "dependency", well, then, I will learn MLED for awhile...
 
Old 11-18-2016, 09:05 AM   #26
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 730

Original Poster
Rep: Reputation: Disabled
Give me a couple days and I will test without MLED and report back.
 
Old 11-23-2016, 11:48 AM   #27
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 730

Original Poster
Rep: Reputation: Disabled
ctemplate-2.3
gksu-2.0.2
libgksu-2.0.12
libgtop-2.34.0
l2tp-ipsec-vpn-daemon_n.n.n.tar.gz
l2tp-ipsec-vpn_n.n.n.tar.gz
openswan 2.6.49
xl2tpd 1.3.8

Are the only files needed on a clean install without MLED Microlinux. The only issue is, you need to configure everything in the root account. I'm assuming since I don't have any updates this is the cause, because I used to be able to configure the L2TP accounts with any user.

Last edited by PROBLEMCHYLD; 12-03-2016 at 11:36 AM.
 
Old 11-23-2016, 05:57 PM   #28
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 192

Rep: Reputation: 125Reputation: 125
ok.

will try it some day soon.

thanks
 
Old 11-24-2016, 03:04 PM   #29
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 730

Original Poster
Rep: Reputation: Disabled
I got the NetworkManager L2TP plugin working as well. Not sure what dependencies are needed, but I did install it on a fully updated MLED/Microlinux. Thanks for all the help, I can now move forward, because this was a pain in the @$$.

Download the latest version here
https://github.com/nm-l2tp/network-m...-l2tp/releases

Use src2pkg and run the command

src2pkg -e='--sysconfdir=/etc' -A network-manager-l2tp-1.2.4.tar.gz

install it and reboot. That's it, that's all.

I wish these options would end up on slackbuilds. I'm still new but getting the hang of it. When I want something, I'm going to get it by any means necessary.

Happy Thanksgiving

Last edited by PROBLEMCHYLD; 12-28-2016 at 05:40 PM.
 
Old 12-03-2016, 11:27 AM   #30
PROBLEMCHYLD
Member
 
Registered: Apr 2015
Posts: 730

Original Poster
Rep: Reputation: Disabled
After some investigating, the l2tp-ipsec-vpn client needs openswan and xl2tpd. What I need now, is a list of all parameters for openswan ipsec.conf file so I can adjust it to accept pk12 certificates. Anyone has a full list of the parameters? So far, all I've read is about PSK. My server uses certificates.

Last edited by PROBLEMCHYLD; 12-03-2016 at 11:30 AM.
 
  


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
[SOLVED] l2tp vs openvpn redwhat Linux - Security 6 09-24-2014 06:33 PM
[SOLVED] Learning L2TP/IPSEC certificate-based VPN - "syntax error in private key file"?? psycroptic Linux - Server 1 06-11-2014 11:17 PM
vpn l2tp aminbaik Linux - Networking 4 04-17-2012 09:21 AM
What is L2TP passthrough aparna8419 Linux - Networking 3 04-05-2007 12:41 PM
L2tp brabraa Linux - Networking 1 02-22-2002 01:20 AM

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

All times are GMT -5. The time now is 04:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration