Using OpenVPN client on Ubuntu 18.04 works as well:
TLDR;
- File:
client.ovpn
- File:
user-pass.txt
- Command:
sudo openvpn --config client.ovpn --auth-user-pass user-pass.txt
Full details below:
Step 1:
Downloaded the file client.ovpn
following this [1] page. Select third option after Windows and Mac to download this file.
Step 2:
Created a plain text file called user-pass.txt
which contains username in first line and password on second line.
Step 3:
And then:
$ sudo openvpn --config client.ovpn --auth-user-pass user-pass.txt
OpenVPN 2.4.4 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Sep 5 2018
library versions: OpenSSL 1.1.0g 2 Nov 2017, LZO 2.08
Validating certificate extended key usage
VERIFY EKU OK
[Fireware SSLVPN Server] Peer Connection Initiated with [AF_INET]
SENT CONTROL [Fireware SSLVPN Server]: 'PUSH_REQUEST' (status=1)
PUSH: Received control message: 'PUSH_REPLY,...
...
Outgoing Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
Incoming Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
TUN/TAP device tun0 opened
TUN/TAP TX queue length set to 100
do_ifconfig, tt->did_ifconfig_ipv6_setup=0
/sbin/ip link set dev tun0 up mtu 1500
/sbin/ip addr add dev tun0 ...
/sbin/ip route add ...
Initialization Sequence Completed
This works from CLI now.