![]() |
[HOW-TO] OpenVPN on the command line
When browsing the running services with systemctl I noticed that connman-vpn.service was running. So I checked the nemo repository and it contained an openvpn package. Turns out OpenVpn works on the Jolla from the command line! Here's how you can get it working. Note that you need to enable developer mode. This is only for connecting via the command line/terminal.
1) Copy you certificates and OpenVPN profiles to a directory on the phone. Note where that directory is. 2) Install OpenVPN. Code:
$ devel-su Code:
# cp /usr/share/doc/openvpn-2.2.2/contrib/pull-resolv-conf/* /etc/openvpn/. Quote:
Quote:
5) Change to the directory containing the config files and connect. Replace where indicated with your path and config file name. Code:
# cd <your directory path> |
Re: [HOW-TO] OpenVPN on the command line
Sweet!!! Thanks for this!
Had some problems setting up, getting script-security error. Solved by adding "script-security 2" to the .ovpn file and now it works beautifully :-) |
Re: [HOW-TO] OpenVPN on the command line
I always get:
Code:
Sun Jan 5 14:31:56 2014 /sbin/ip route add 0.0.0.0/0 via 192.168.xxxx.xxxx |
Re: [HOW-TO] OpenVPN on the command line
Quote:
It might also be your config or the way it's formatted. Is it confirmed to be working? |
Re: [HOW-TO] OpenVPN on the command line
Yes, my Sailfish is up-to-date and i did a pkcon refresh. The VPN connection works, only the route is not set correctly.
|
Re: [HOW-TO] OpenVPN on the command line
Quote:
|
Re: [HOW-TO] OpenVPN on the command line
Quote:
|
Re: [HOW-TO] OpenVPN on the command line
any idea how to instal openvpn on jolla tablet ? i get this error when trying to install from terminal:
Fatal error: File './core/i486/openvpn-2.3.6-1.4.1.i486.rpm' not found on medium 'https://releases.jolla.com/releases/2.0.1.7/jolla/i486/' |
Re: [HOW-TO] OpenVPN on the command line
The output you show (fatal error) suggests (to me) that openvpn is not available for the tablet, yet...I could be wrong, alternatively have a look here; https://openrepos.net/content/korppi/securefishnet
The developer is offering versions for tablet and from the write up, says it uses/downloads openvpn anyway, so I guess this is a Sailfishy UI for managing/using openvpn. Regards, |
Re: [HOW-TO] OpenVPN on the command line
thanks I'll try that.. but based on the description it also installs openvpn from repository so not really sure if it works
|
All times are GMT. The time now is 01:53. |
vBulletin® Version 3.8.8