How to use vpn with puppy linux? (Solved)

New to Puppy and have questions? Start here

Moderator: Forum moderators

Post Reply
User avatar
lizardidi
Posts: 72
Joined: Sat Jul 18, 2020 9:42 am
Has thanked: 20 times
Been thanked: 12 times

How to use vpn with puppy linux? (Solved)

Post by lizardidi »

I never figured out how to use the vpn tools come along with many puppies, ie the "Gpptp PPTP VPN Client".

Questions:

1. Is this tool still usable in 2020?
2. Is there any easy to use vpn that able to run in puppy linux to recommend to me, other than this GPPTP VPN?
Last edited by lizardidi on Wed Jul 29, 2020 9:44 am, edited 1 time in total.
eduardoecp
Posts: 5
Joined: Mon Jul 27, 2020 4:50 pm

Re: How to use vpn with puppy linux?

Post by eduardoecp »

I also wonder that. Is there an openvpn app to Puppy?
Puppy Linux Bionic 64. :thumbup2:
User avatar
OscarTalks
Posts: 619
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 243 times

Re: How to use vpn with puppy linux?

Post by OscarTalks »

GPPTP should work.
You need to make sure that in /etc/ppp/options.pptp the line require-mppe-128 is uncommented though, so edit it if necessary.
I have been experimenting with a simple VPN implementation which uses openvpn (included). I named it vpn-onoff. It is designed mainly for use with a couple of free VPN's but can be adapted to work with some paid VPN's. You are always going to have to do a bit of manual configuring though.
Packages can be downloaded from:-
http://smokey01.com/OscarTalks
User avatar
lizardidi
Posts: 72
Joined: Sat Jul 18, 2020 9:42 am
Has thanked: 20 times
Been thanked: 12 times

Re: How to use vpn with puppy linux?

Post by lizardidi »

OscarTalks wrote: Tue Jul 28, 2020 7:55 pm GPPTP should work.
You need to make sure that in /etc/ppp/options.pptp the line require-mppe-128 is uncommented though, so edit it if necessary.
I have been experimenting with a simple VPN implementation which uses openvpn (included). I named it vpn-onoff. It is designed mainly for use with a couple of free VPN's but can be adapted to work with some paid VPN's. You are always going to have to do a bit of manual configuring though.
Packages can be downloaded from:-
http://smokey01.com/OscarTalks

Thanks [mention]OscarTalks[/mention] !!!
I tried the vpn-onoff tools recommended by you. It's very simple to use, and worked very well.
I will paste the instructions in etc/vpn-onoff/READMEvpn-onoff.txt for other users reading this post and interested to use vpn under puppy, as there are currently none any instructions in this new puppy forum that explain how to use this tool. Currently i use the .ovpn provided by VpnBook and successfully change my ip location to France.

Below are the instructions, you can also find it in etc/vpn-onoff/READMEvpn-onoff.txt.
Disclaimer: All credit goes to [mention]OscarTalks[/mention] as he is the one create this tools
ABOUT
This is a simple VPN implementation
using OpenVPN and some scripts and other files
intended for use with some free VPN providers
but it can also be adapted for use with other (paid-for) VPN providers

Examples of free providers are:-
vpnbook.com
freevpn.me
cryptostorm.is/cryptofree

CONFIGURATION
OpenVPN config files go in this directory
/etc/vpn-onoff
these usually have the extension .ovpn
You can add your own here,
but make sure you have edited them as necessary
Usually this will involve adding the path to the passfile, eg:-
auth-user-pass /etc/vpn-onoff/vpnpass

The passfile is a simple text file
with the username on the first line
and the password on the second line
nothing else
Always make sure these are correct for the server you want to connect to
You may want to add other passfiles with different names for different servers
with the path to each passfile set in the corresponding .ovpn file

To select the .ovpn config file you want to use
delete the symlink named vpnconfig
right-click the desired .ovpn file
choose the "Link.." option
create this relative link and give it the name vpnconfig when the dialog asks you

USE
So you have set the login details
and selected your server
Now from Menu>Network>VPN-Start
Launch the program - be prepared to wait 30 seconds or so
You should see some information pop up and the tray icon should appear
To disconnect from VPN server
use Menu>Network>VPN-Stop or right-click the tray icon
Note: Remember to replace the vpnconfig file and replace with the new one in order to work.

Thanks OscarTalk for this useful tool. Maybe this tool should be added in Additional Software section? (In our new puppy forum)
eduardoecp
Posts: 5
Joined: Mon Jul 27, 2020 4:50 pm

Re: How to use vpn with puppy linux? (Solved)

Post by eduardoecp »

@OscarTalks 's solution worked very well. Thank you!

I used it to setup a paid VPN.
Puppy Linux Bionic 64. :thumbup2:
SIMBIOSIS
Posts: 1
Joined: Thu May 27, 2021 1:56 am

Re: How to use vpn with puppy linux? (Solved)

Post by SIMBIOSIS »

I have tried this tool on a remastered xenial pup and I always get the same error

Code: Select all

sh-4.3# vpn-start
/usr/bin/vpn-start: line 14: /usr/sbin/openvpn: cannot execute binary file: Exec format error
EXIT="Exit on timeout"
sh-4.3# /usr/bin/vpn-start: line 19: /usr/sbin/yad-vpn: cannot execute binary file: Exec format error
/usr/bin/netinfo.yad: line 36: /usr/sbin/yad-vpn: cannot execute binary file: Exec format error

Does someone know what it's going on here and lend me a hand?

User avatar
OscarTalks
Posts: 619
Joined: Tue Jul 14, 2020 10:11 pm
Location: London UK
Has thanked: 2 times
Been thanked: 243 times

Re: How to use vpn with puppy linux? (Solved)

Post by OscarTalks »

I have not seen that error before but it relates to the binary files so I wonder if you are using the package with the right architecture. You should be using i686 for 32bit Xenial or x86_64 for 64bit Xenial. You didn't say which one yours is.

Post Reply

Return to “Beginners Help”