# sudo openvpn --remote 149.28.160.112 --proto tcp --dev tun --auth-user-pass --ca ca.crt --client
As it shows I need username and password authentication for my client. But, running the command above results to following messages repeatedly:
Code: Select all
# Wed Jan 13 07:34:20 2021 OpenVPN 2.4.10 x86_64-redhat-linux-gnu [Fedora EPEL patched] [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [PKCS11] [MH/PKTINFO] [AEAD] built on Dec 9 2020
# Wed Jan 13 07:34:20 2021 library versions: OpenSSL 1.0.2k-fips 26 Jan 2017, LZO 2.06
# Enter Auth Username: 123
# Enter Auth Password: ***
# Wed Jan 13 07:34:26 2021 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
# Wed Jan 13 07:34:26 2021 TCP/UDP: Preserving recently used remote address: [AF_INET]149.28.160.112:1194
# Wed Jan 13 07:34:26 2021 Attempting to establish TCP connection with [AF_INET]149.28.160.112:1194 [nonblock]
# Wed Jan 13 07:34:26 2021 TCP connection established with [AF_INET]149.28.160.112:1194
# Wed Jan 13 07:34:26 2021 TCP_CLIENT link local: (not bound)
# Wed Jan 13 07:34:26 2021 TCP_CLIENT link remote: [AF_INET]149.28.160.112:1194
# Wed Jan 13 07:34:27 2021 Connection reset, restarting [0]
# Wed Jan 13 07:34:27 2021 SIGUSR1[soft,connection-reset] received, process restarting