Ask / Submit
4

How can I find the log of VPN connections?

asked 2018-03-24 12:47:13 +0300

jsommer gravatar image

I booked the service of a VPN provider. Unfortunately, the OpenVPN script of the provider fails. Other VPNs like form NordVPN are working in SailfishOS 2.1.4.14. Now the provider asked me for a log to find the bug. How can I find the log?

edit retag flag offensive close delete

1 Answer

Sort by » oldest newest most voted
3

answered 2018-03-26 13:48:35 +0300

PizzaProgram gravatar image

updated 2018-03-26 13:49:08 +0300

For me the only way to see what's happening "under the hood" is to:
1.) Go to Terminal >
2.) type: devel-su
3.) add your password (set it at Settings > Developer... > remote connection)
4.) go to the folder where your .ovpn config file (use ls to list the directories, and cd ... to step into one)
5.) type: openvpn --config MYconfig.ovpn --verb 11
6.) press: Ctrl + C on the keyboard to stop the running text, if it's starting over and over...
or if there are any WARNINGS and the end is not 'inicialization complete'.
(The keyboard is behind the text still working, sadly same color, hard to see...)

7.) but you can not copy or export the text... or I could not find ANY way to do it. :(
(... you may take some pictures with an other phone or camera)

... anyway I can not use the Built-in OpenVPN GUI at all either. It's not working. Only this "consol typing" solution runs.
PS: you can put all the 5 files (.crt , .key) etc into ONE .opvpn file. See how: https://serverfault.com/a/483967

edit flag offensive delete publish link more

Comments

Thanks for your guide. I tried to establish an OpenVPN connection of 4YTF with the terminal command and sent the log to the support of the provider. Do you also know where the build in OpenVPN log is stored?

jsommer ( 2018-04-02 07:16:39 +0300 )edit

@jsommer OpenVPN log storage location seem to be a mystery. Searched everywhere (on the phone and on all kinds of forums). The GUI version still not working after many tries, but I've installed SecureFishnet > and that APP did it! Now I can start/stop VPN easily.

PizzaProgram ( 2018-04-02 20:25:44 +0300 )edit

@PizzaProgram. I can successfully connect to NordVPN and TorVPN. Because of the option to by a subscription with cryptocurrency I have booked the first one. Unfortunately I have problems with 4YTF, a former kickstarter project with a life long access right for me.

One recommendation: You should try the OpenVPN script for TCP, not UPD. The last one seems not to work with the build in VPN management.

jsommer ( 2018-04-03 10:17:39 +0300 )edit

@jsommer Thanks for the info, but I need to connect to our OWN VPN server to reach our clients a secure way. So it's a bit different from "reaching the net securely" subscribers. Our problem is, the SecureFishnet APP is turning on VPN gateway as default, and can not turn it OFF. So internet tries to go through that >> unsuccessfull >> net stops working at ALL apps.

PizzaProgram ( 2018-04-03 16:16:23 +0300 )edit
Login/Signup to Answer

Question tools

Follow
4 followers

Stats

Asked: 2018-03-24 12:47:13 +0300

Seen: 233 times

Last updated: Mar 26 '18