Client configuration caused error

Need help configuring your VPN? Just post here and you'll get that help.
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
samraz
OpenVpn Newbie
Posts: 1
Joined: Wed Jan 13, 2021 7:43 am

Client configuration caused error

Post by samraz » Wed Jan 13, 2021 7:54 am

I'm trying to config a client for my openvpn server with follwing command on centos 7:

# 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
Any help would be appreciated.
Last edited by Pippin on Wed Jan 13, 2021 1:06 pm, edited 1 time in total.
Reason: Formatting

Post Reply