openvpn
We'll connect with the openvpn command followed by the full name of the .ovpn file. We must use sudo, since openvpn requires elevated permissions.
kali@kali:~$ sudo openvpn /path/to/your/configfile.ovpn
2021-06-28 10:20:12 Note: Treating option '--ncp-ciphers' as '--data-ciphers' (renamed in OpenVPN 2.5).
2021-06-28 10:20:12 OpenVPN 2.5.1 x86_64-pc-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on May 14 2021
2021-06-28 10:20:12 DCO version: N/A
2021-06-28 10:20:12 TCP/UDP: Preserving recently used remote address:
...
We must leave this command prompt open. Closing it will disconnect the VPN connection.
Last updated