SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Messing around with networking, routing and tunneling has never been my strong suite, and my main workplace recently changed their VPN to an L2TP over IPSEC solution. Obviously I need to reconfigure.
I've been looking at the various projects supporting these protocols, and feel a little overwhelmed. Until now we've used a cheesy PPP connection, and I always battled with the firewall rules and connection parameters to maintain a decent stable connection. I don't quite trust myself to get it right, and the office techs (it being a largely windows shop), can't really help.
Ideally I'd like to be able to run a little shell script to make the new connection, and until it's disabled have all network traffic go via the VPN tunnel, to ensure no data leakage. For now, there is a password, and a shared secret. I will need to access wikis running on linux webservers in-house and available on the office LAN. If I can get a terminal to my office slackware machine, then I can do most things I'll need to do from there.
Any advice / recommendations on the best packages to use, and how best to string together the protocols?
Hi Feanor,
In this example they're using l2tpd but as it's dead project you can use its fork rp-l2tp (it's as simple the original). Just copy the /etc/l2tp/l2tp.conf.example to /etc/l2tp/l2tp.conf and edit it as you wish.
So have you set this up to connect to an L2TP server?
If so, how did you get it working?
Hi rkelsen, I got it working some time ago in a Debian server and it was a simple config without Strongswan then...I didn't try to run openl2tp + Strongswan so.
If you want to take a look I put the results of a simple test that I ran today using Openl2tp in a Slackware64-Current (L2TP server) and Debian (L2TP client).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.