Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 16 Oct 2019, 13:50
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
A Simple VPN Implementation
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 5 of 5 [69 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Author Message
festus


Joined: 14 Jan 2015
Posts: 215

PostPosted: Sat 27 Apr 2019, 07:22    Post subject:  

OscarTalks wrote:
Now testing "vpn-onoff" version 0.2
Added DNS handling using openresolv
Version upgrade of OpenVPN to 2.4.7
Update of freevpn.me configuration files to reflect changes and addition of 1 new server.
See first post.

Hello, OscarTalks

I am using and very pleased with version 0.2 of this package.

I tested the DNS for leaks here>
https://ipleak.net/
The results looked fine to me...

Thank you for taking the time to make and share this important piece

bliss,
festus
Back to top
View user's profile Send private message 
fabrice_035


Joined: 28 Apr 2014
Posts: 642
Location: Bretagne / France

PostPosted: Sat 27 Apr 2019, 12:34    Post subject:  

Hello,

I can't run a script when the network is disconnected.
Of course i found option (placed in .ovpn script/file)

Code:

...
up "/root/VPN/connect.sh"
down "/root/VPN/disconnect.sh"
...


but if I disconnect the network cable from my computer I don't receive any alert
'down' work only if i kill openvpn or exit .
Any suggestion ?

Thx

_________________
xenialpup 7.5 / Linux Kernel: 4.4.95 / Window Manager: JWM v2.3.7
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Sun 28 Apr 2019, 04:15    Post subject:  

Hello Festus,
Thanks very much for the report.

Hello Fabrice,
Sorry but I don't have a definite answer. I have been trying to study these functions as there are other things I would like to do including some more notifications. I guess that disconnecting the cable produces a different response within the program when compared to issuing a kill or exit command. You could try running openvpn from terminal and study the output to see if you can use any changes to run a script. That is my only suggestion at the moment.

_________________
Oscar in England

Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Thu 23 May 2019, 04:01    Post subject:  

VPNbook have added 2 new free servers
Canada (CA198) has been added
France (FR8) has been added
CA222 and FR1 remain active, taking the total number of free servers available to 8
Users requiring p2p should use PL or DE (or one of the freevpn.me servers)
See http://vpnbook.com

I have added configuration files for these 2 new servers to my experimental vpn-onoff packages and re-uploaded. Package number remains the same at 0.2
http://smokey01.com/OscarTalks

_________________
Oscar in England

Back to top
View user's profile Send private message 
Mike Walsh


Joined: 28 Jun 2014
Posts: 5476
Location: King's Lynn, UK.

PostPosted: Wed 05 Jun 2019, 06:59    Post subject:  

Hallo, Oscar.

Mate, this works absolutely perfect. I can't thank you enough.....and so simple to use.

I thought it was time I got summat 'sorted' ahead of the forthcoming UK internet censorship law, coming into effect on the the 15th July 2019. Not that I visit very many 'dodgy' sites, if at all - Laughing - but from what some of the tech blog site sites have been reporting, the implementation is going to be so draconian that it'll throw the UK internet completely for a 'curve ball'.....and nothing will be the same going forward.

Even many relatively innocuous sites will be caught in the net.....and I have absolutely no intentions of registering my real name and credit card details, simply to 'prove my age'. Why the hell should any of us have to, come to that?

This article from WIRED.co.uk makes for interesting reading, and is a worrying taste of things to come.....

(Note section 3 in particular. Imagine that getting hacked, and all the possible ensuing blackmail on social media.....not to mention law-enforcement agencies taking it into their heads to conduct huge 'trawling' operations, based on the details within.)

Ouch. Literally.

----------------------------

I tried your early efforts on this, I'll admit, more out of curiosity than owt else. From those early 'manual' efforts this has matured into a beautifully easy-to-use way for any Puppian to use a VPN, newbie and veteran alike. Full marks to you.....and thanks again.

(According to my-ip-address.co, I'm posting this from a small village somewhere in south-eastern France...!!)

Well done, mate. You're a real credit to our community.





Mike. Wink

_________________
MY 'PUPPY' PACKAGES

Back to top
View user's profile Send private message 
Gera

Joined: 21 Sep 2019
Posts: 4

PostPosted: Wed 02 Oct 2019, 14:40    Post subject:  

I can't connect to freevpn servers. Has anyone been able to use FreeVPN in recent days?
Freevpn has this warning :
Quote:
Updated September 2019. Download new certificate bundle below and the latest version of OpenVPN client software for your device.

Certificate bundle looks the same as from April 2019

How to update OpenVPN to latest version ?

And I offer to facilitate storage of passwords as FreeVPN has unique password for each server. Switching between servers requires too much copy-paste and symlink creations.

Opening http://my-ip-address.co/ in browser should be optional or turned off because it makes too much noise if you turning VPN on and off very often.
Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Wed 02 Oct 2019, 16:54    Post subject:  

Hello Gera,

Thanks for the feedback and suggestions.
I am unable to connect to the freevpn servers today. As you say, the .ovpn bundle appears to be the old one from April. Not sure what is happening, maybe they will get it resolved soon.

The OpenVPN in my packages is version 2.4.7 which I believe is the latest. If a more recent one is available and required it will be a case of compiling from source.

This was always intended to be a simple implementation which does the job. I am only a relative novice. Others are welcome to build on it if they have ideas with GUIs and things. With VPNs the user will always have to manually input passwords and such like. In the case of freevpn it is a free service, but the "price" is that you have to spend a few moments changing the password every few days which I don't consider too "expensive". If you have ideas for a method of grabbing and updating those passwords that would be an improvement, but I don't know how to do that and I am not sure what you are offering/requesting/suggesting.

What I have been doing is choosing one server and just changing password as required, so changing of symlinks is hardly ever necessary in my case. Again though, if it needs to be done it only takes a few moments.

If you don't like the opening browser you can always comment that line out or remove it in the scripts. Personally I like to have definitive confirmation of my IP address each time I click in or out. I have NetSurf browser doing that on my systems rather than a big browser. I am sure there are alternative ways of displaying IP address so it is something I will give some thought to.

_________________
Oscar in England

Back to top
View user's profile Send private message 
OscarTalks


Joined: 05 Feb 2012
Posts: 2023
Location: London, England

PostPosted: Sun 06 Oct 2019, 17:40    Post subject:  

The FreeVPN situation is now fixed.
New .ovpn config file bundle is now available dated October 06th 2019
I have updated my packages of "vpn-onoff"
Using TCP port 443 with tweaks to the config files and all 7 servers tested and confirmed working correctly here.
Uninstall, re-download and re-install or extract the new config files and substitute.
http://smokey01.com/OscarTalks

_________________
Oscar in England

Back to top
View user's profile Send private message 
TiredPup


Joined: 16 Jun 2019
Posts: 28
Location: United States

PostPosted: Thu 10 Oct 2019, 08:32    Post subject:  

Hi OscarTalks. Thank you for your work on this. I have downloaded and installed your software on my Bionicpup64 8.0 setup. VPN-Start opens as it should but does not start openvpn. It does open a browser window at my ip and displays the local ip address near my home. Clicking the icon for VPN-Stop yields a message "openvpn not running".

I am able to download the certificate package and run configuration from the command line when these are unzipped. At that point I can use the vpn with no issues.

So what I am I doing wrong when attempting to use VPN on/off?

EDIT: Forget it. I figured it out. Very Happy

I failed to track down the appropriate config file and manually enter the password before starting the software. Embarassed
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 5 of 5 [69 Posts]   Goto page: Previous 1, 2, 3, 4, 5
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0586s ][ Queries: 13 (0.0152s) ][ GZIP on ]