Author Topic: OpenVPN Client for ppc64el  (Read 3188 times)

cchinicz

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
OpenVPN Client for ppc64el
« 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

MPC7500

  • Hero Member
  • *****
  • Posts: 572
  • Karma: +40/-1
    • View Profile
    • Twitter
Re: OpenVPN Client for ppc64el
« Reply #1 on: July 09, 2021, 07:02:23 pm »
I haven't installed Fedora anymore, but OpenVPN should be available.

cchinicz

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
Re: OpenVPN Client for ppc64el
« Reply #2 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.

MPC7500

  • Hero Member
  • *****
  • Posts: 572
  • Karma: +40/-1
    • View Profile
    • Twitter
Re: OpenVPN Client for ppc64el
« Reply #3 on: July 11, 2021, 01:48:20 pm »

cchinicz

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
Re: OpenVPN Client for ppc64el
« Reply #4 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

Borley

  • Full Member
  • ***
  • Posts: 165
  • Karma: +14/-0
    • View Profile
Re: OpenVPN Client for ppc64el
« Reply #5 on: July 13, 2021, 05:46:42 pm »
They should be right here, 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.
"
Blackbird C1P9S01, CPU 02CY650, 2x 8GB 2666 RAM, 1024GB M.2 SSD, AMD RX 560X, 2U heatsink, 500W SFX PSU, Debian 11

cchinicz

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
Re: OpenVPN Client for ppc64el
« Reply #6 on: July 14, 2021, 01:49:34 pm »
Thanks Borley, I'll give it a try and update the results here.

cchinicz

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
Re: OpenVPN Client for ppc64el
« Reply #7 on: July 16, 2021, 10:12:15 am »
They should be right here, 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.


ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 443
  • Karma: +34/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: OpenVPN Client for ppc64el
« Reply #8 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?

cchinicz

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
Re: OpenVPN Client for ppc64el
« Reply #9 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
« Last Edit: July 18, 2021, 10:10:24 am by cchinicz »

cchinicz

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
Re: OpenVPN Client for ppc64el
« Reply #10 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.
« Last Edit: July 18, 2021, 02:28:05 pm by cchinicz »

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 443
  • Karma: +34/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: OpenVPN Client for ppc64el
« Reply #11 on: July 21, 2021, 06:09:29 pm »
If you built it yourself, yes, you would need to build updates as well.