Page 1 of 1
l2tp, Open Swan / strong Swan and Similar programs
Posted: Fri Mar 05, 2021 1:15 am
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.
Re: l2tp, Open Swan / strong Swan and Similar programs
Posted: Fri Mar 05, 2021 4:24 am
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
Re: l2tp, Open Swan / strong Swan and Similar programs
Posted: Fri Mar 05, 2021 6:50 pm
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:
fails because the busybox variant does not recognize the 'l2tp' command.
Therefore the standard Gpptp app only supports pptp, and not l2tp.
Re: l2tp, Open Swan / strong Swan and Similar programs
Posted: Sat Mar 06, 2021 12:24 am
by mikeslr
What Puppy? Always tell us what Puppy.
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.
Re: l2tp, Open Swan / strong Swan and Similar programs
Posted: Sat Mar 06, 2021 3:31 pm
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.