l2tp, Open Swan / strong Swan and Similar programs

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
Linux_newb
Posts: 7
Joined: Tue Feb 16, 2021 12:46 am
Been thanked: 1 time

l2tp, Open Swan / strong Swan and Similar programs

Post by Linux_newb »

Almost three weeks ago i tried to resolve an issue with an internet connection. I have got an issue, because i'm hooked to l2tp (layer two transfer protocol)
Test eth0 usually finds the live network, auto DHCP also works; easyPeasy showes an IP address, and sometimes i can even see my MAC address, but Gpptp vpn 2.0 is always failing to connect...
And i started thinking about Linux implementations that address my issue. I found an article https://www.bestvpnz.com/tutorials/how- ... trongswan/ on open swan and strong swan. The problem is that a network manager on puppy os is a little bit different than on Cint. Is it worth trying to install those packages manually, without proper internet connection? Any suggestions how to unpack and install open swan /strong swan manually? I mean is it worth trying to use roxfiler or find executable bits in my case with .sh extenstion. I'm confused because the article says that "Since you are going to want the NetworkManager plugin, select the package network-manager-strongSwan which will install the strongSwan libraries an required plugins as a dependencies."

There are similar programs like VPNIndonesia and i'm not sure if any program is a match for Puppy OS https://sourceforge.net/directory/os:wi ... l2tp+linux; for instance, Vpnppt is meant to work with Magic OS, but who knows may be some program is compatible with Puppy. Any suggestions?

Thanks to everyone in this community.

mistfire
Posts: 718
Joined: Thu Jul 16, 2020 2:16 am
Location: CALABARZON, PH
Has thanked: 3 times
Been thanked: 173 times

Re: l2tp, Open Swan / strong Swan and Similar programs

Post by mistfire »

Linux_newb wrote: Fri Mar 05, 2021 1:15 am

Almost three weeks ago i tried to resolve an issue with an internet connection. I have got an issue, because i'm hooked to l2tp (layer two transfer protocol)
Test eth0 usually finds the live network, auto DHCP also works; easyPeasy showes an IP address, and sometimes i can even see my MAC address, but Gpptp vpn 2.0 is always failing to connect...
And i started thinking about Linux implementations that address my issue. I found an article https://www.bestvpnz.com/tutorials/how- ... trongswan/ on open swan and strong swan. The problem is that a network manager on puppy os is a little bit different than on Cint. Is it worth trying to install those packages manually, without proper internet connection? Any suggestions how to unpack and install open swan /strong swan manually? I mean is it worth trying to use roxfiler or find executable bits in my case with .sh extenstion. I'm confused because the article says that "Since you are going to want the NetworkManager plugin, select the package network-manager-strongSwan which will install the strongSwan libraries an required plugins as a dependencies."

There are similar programs like VPNIndonesia and i'm not sure if any program is a match for Puppy OS https://sourceforge.net/directory/os:wi ... l2tp+linux; for instance, Vpnppt is meant to work with Magic OS, but who knows may be some program is compatible with Puppy. Any suggestions?

Thanks to everyone in this community.

Try to use QuickPup instead
viewtopic.php?f=33&t=1743

User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: l2tp, Open Swan / strong Swan and Similar programs

Post by Jafadmin »

The reason the Puppy Linux doesn't natively do L2TP is that puppy uses "busybox" which contains the 'ip' command. The "busybox" variants of common commands are usually truncated in the number of options and commands they support.

So the command:

Code: Select all

 ip l2tp tunnel add ...

fails because the busybox variant does not recognize the 'l2tp' command.

Therefore the standard Gpptp app only supports pptp, and not l2tp.

User avatar
mikeslr
Posts: 2955
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 178 times
Been thanked: 910 times

Re: l2tp, Open Swan / strong Swan and Similar programs

Post by mikeslr »

What Puppy? :? Always tell us what Puppy. :x
You're involved with technicalities above my pay-grade. But jafadmin having suggested that you've run into a dead-end trying to do what you want, perhaps an exploration of OscarTalks's work with OpenVPN can provide a pathway out of it. Read this thread, http://murga-linux.com/puppy/viewtopic.php?t=113004 and visit http://smokey01.com/OscarTalks/ for the openvpn pets he created for various Puppys. Also explore d4rkn1ght's VPN Switch http://www.murga-linux.com/puppy/viewto ... 76#1049476 simple GTKDialog front end for OscarTalks VPN-ONOFF Implementation script which has vpn-start and vpn-stop, password changing, config files in a single place and jafadmin great Geolocation script.

User avatar
Jafadmin
Posts: 385
Joined: Tue Aug 04, 2020 4:51 pm
Has thanked: 68 times
Been thanked: 85 times

Re: l2tp, Open Swan / strong Swan and Similar programs

Post by Jafadmin »

If I very seriously needed to run L2TP on a puppy, I would probably download and compile the 'iproute2' standalone package which has the full blown 'ip' command that supports L2TP: https://mirrors.edge.kernel.org/pub/lin ... /iproute2/
You will need the devx sfs for this.

I would then put a symlink to the new version in /bin. Now you can do command line l2tp connections.

Post Reply

Return to “Beginners Help”