Raptor Computing Systems Community Forums (BETA)

Software => Applications and Porting => Topic started by: cchinicz on July 09, 2021, 09:07:41 am

Title: OpenVPN Client for ppc64el
Post by: cchinicz on July 09, 2021, 09:07:41 am
Hi All,

I've been looking for the OpenVPN client for our platform but could not find any build that I can download and install (I have no idea of how to build myself).

I found this link (https://copr.fedorainfracloud.org/coprs/dsommers/openvpn-release/) and tried to follow the instruction and add this repo (dsommers/openvpn-release) but got this error message: "Error: This repository does not have any builds yet so you cannot enable it now."

Anyone knows if there is a build of openvon client?

Thanks
Title: Re: OpenVPN Client for ppc64el
Post by: MPC7500 on July 09, 2021, 07:02:23 pm
I haven't installed Fedora anymore, but OpenVPN should be available (https://koji.fedoraproject.org/koji/buildinfo?buildID=1773548).
Title: Re: OpenVPN Client for ppc64el
Post by: cchinicz on July 11, 2021, 06:23:19 am
Hi,

Actually, openvpn was installed when I stated isearching for the client. What I'm looking for is a ppc64el build of openvpn3 (https://openvpn.net/cloud-docs/openvpn-3-client-for-linux/), which is the client side used in a Connection. The server side in my case is Cloud based.

Thanks Anyway.
Title: Re: OpenVPN Client for ppc64el
Post by: MPC7500 on July 11, 2021, 01:48:20 pm
You could try to build it:
https://github.com/OpenVPN/openvpn3-linux
Title: Re: OpenVPN Client for ppc64el
Post by: cchinicz on July 12, 2021, 08:44:09 am
I've never built before. Is there a link with instructions on how to do that? Thanks
Title: Re: OpenVPN Client for ppc64el
Post by: Borley on July 13, 2021, 05:46:42 pm
They should be right here (https://github.com/OpenVPN/openvpn3-linux#fedora), assuming you are on Fedora.

"Fedora:

    Building with OpenSSL (recommended):

    # yum install openssl-devel

    Building with mbed TLS (alternative):

    # yum install mbedtls-devel

    Generic build requirements:

    # yum install gcc-c++ git autoconf autoconf-archive automake make pkgconfig glib2-devel jsoncpp-devel libuuid-devel libcap-ng-devel selinux-policy-devel lz4-devel zlib-devel libxml2 tinyxml2-devel python3-dbus python3-gobject python3-pyOpenSSL python3-jinja2 python3-docutils python3-dbus bzip2 polkit

    Clone this git repository: git clone git://github.com/OpenVPN/openvpn3-linux
    Enter the openvpn3-linux directory: cd openvpn3-linux
    Run: ./bootstrap.sh
Completing these steps will provide you with a ./configure script.
"
Title: Re: OpenVPN Client for ppc64el
Post by: cchinicz on July 14, 2021, 01:49:34 pm
Thanks Borley, I'll give it a try and update the results here.
Title: Re: OpenVPN Client for ppc64el
Post by: cchinicz on July 16, 2021, 10:12:15 am
They should be right here (https://github.com/OpenVPN/openvpn3-linux#fedora), assuming you are on Fedora.

"Fedora:

    Building with OpenSSL (recommended):

    # yum install openssl-devel

    Building with mbed TLS (alternative):

    # yum install mbedtls-devel

    Generic build requirements:

    # yum install gcc-c++ git autoconf autoconf-archive automake make pkgconfig glib2-devel jsoncpp-devel libuuid-devel libcap-ng-devel selinux-policy-devel lz4-devel zlib-devel libxml2 tinyxml2-devel python3-dbus python3-gobject python3-pyOpenSSL python3-jinja2 python3-docutils python3-dbus bzip2 polkit

    Clone this git repository: git clone git://github.com/OpenVPN/openvpn3-linux
    Enter the openvpn3-linux directory: cd openvpn3-linux
    Run: ./bootstrap.sh
Completing these steps will provide you with a ./configure script.
"

Hey Borley,

I've followed the instructions and built the openvpn3 client, thanks a lot!

Now I have a problem specific to the client, maybe you're familiar with it. After installing the openvpn3 I built, I've downloaded a .ovpn file and tried to use it to connect to my cloud openvpn server but I got an error:

$ openvpn3 session-start --config client.opvn
config-import: ** ERROR ** ERR_PROFILE_GENERIC: cannot open for read: client.opvn

I've researched on the web but could not solve the issue.

Would you have any clue?

Thanks again.

Title: Re: OpenVPN Client for ppc64el
Post by: ClassicHasClass on July 17, 2021, 07:08:48 pm
Stupid question but just checking: is the .ovpn file in the directory you ran that command from?
Title: Re: OpenVPN Client for ppc64el
Post by: cchinicz on July 18, 2021, 05:25:54 am
Stupid question but just checking: is the .ovpn file in the directory you ran that command from?
Hi ClassicHasClass,

Thanks for replying. The issue was that I needed to run the connection as root. Now everything works.

Cheers
Title: Re: OpenVPN Client for ppc64el
Post by: cchinicz on July 18, 2021, 02:24:44 pm
One additional question: how do I keep it updated? Will I have to build again everytime I want to check if there is a new version?

Thanks in advance.
Title: Re: OpenVPN Client for ppc64el
Post by: ClassicHasClass on July 21, 2021, 06:09:29 pm
If you built it yourself, yes, you would need to build updates as well.