Openvpn tcp connect failed unknown error

Hi!

Hi!

When I try to enter the server from the client (in Windows) I get the following error «TCP: connect to[AF_INET]xxx. xxx. xxx. xxx. xxx: 44344 failed: Unknown error».

I leave here the configuration of the server and the client (the make it with the file that is in «/usr/share/doc/openvpn/examples/sample-config-files».

SERVER

Code: Select all

#################################################
# Sample OpenVPN 2.0 config file for            #
# multi-client server.                          #
#                                               #
# This file is for the server side              #
# of a many-clients <-> one-server              #
# OpenVPN configuration.                        #
#                                               #
# OpenVPN also supports                         #
# single-machine <-> single-machine             #
# configurations (See the Examples page         #
# on the web site for more info).               #
#                                               #
# This config should work on Windows            #
# or Linux/BSD systems.  Remember on            #
# Windows to quote pathnames and use            #
# double backslashes, e.g.:                     #
# "C:\Program Files\OpenVPN\config\foo.key" #
#                                               #
# Comments are preceded with '#' or ';'         #
#################################################

# Which local IP address should OpenVPN
# listen on? (optional)
;local a.b.c.d

# Which TCP/UDP port should OpenVPN listen on?
# If you want to run multiple OpenVPN instances
# on the same machine, use a different port
# number for each one.  You will need to
# open up this port on your firewall.
port 44344

# TCP or UDP server?
proto tcp
;proto udp

# "dev tun" will create a routed IP tunnel,
# "dev tap" will create an ethernet tunnel.
# Use "dev tap0" if you are ethernet bridging
# and have precreated a tap0 virtual interface
# and bridged it with your ethernet interface.
# If you want to control access policies
# over the VPN, you must create firewall
# rules for the the TUN/TAP interface.
# On non-Windows systems, you can give
# an explicit unit number, such as tun0.
# On Windows, use "dev-node" for this.
# On most systems, the VPN will not function
# unless you partially or fully disable
# the firewall for the TUN/TAP interface.
;dev tap
dev tun

# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel if you
# have more than one.  On XP SP2 or higher,
# you may need to selectively disable the
# Windows firewall for the TAP adapter.
# Non-Windows systems usually don't need this.
;dev-node MyTap

# SSL/TLS root certificate (ca), certificate
# (cert), and private key (key).  Each client
# and the server must have their own cert and
# key file.  The server and all clients will
# use the same ca file.
#
# See the "easy-rsa" directory for a series
# of scripts for generating RSA certificates
# and private keys.  Remember to use
# a unique Common Name for the server
# and each of the client certificates.
#
# Any X509 key management system can be used.
# OpenVPN can also use a PKCS #12 formatted key file
# (see "pkcs12" directive in man page).
ca ca.crt
cert vpxxxxx.crt
key vpxxxxx.key  # This file should be kept secret

# Diffie hellman parameters.
# Generate your own with:
#   openssl dhparam -out dh2048.pem 2048
dh dh2048.pem

# Network topology
# Should be subnet (addressing via IP)
# unless Windows clients v2.0.9 and lower have to
# be supported (then net30, i.e. a /30 per client)
# Defaults to net30 (not recommended)
;topology subnet

# Configure server mode and supply a VPN subnet
# for OpenVPN to draw client addresses from.
# The server will take 10.8.0.1 for itself,
# the rest will be made available to clients.
# Each client will be able to reach the server
# on 10.8.0.1. Comment this line out if you are
# ethernet bridging. See the man page for more info.
server 10.8.0.0 255.255.255.0

# Maintain a record of client <-> virtual IP address
# associations in this file.  If OpenVPN goes down or
# is restarted, reconnecting clients can be assigned
# the same virtual IP address from the pool that was
# previously assigned.
ifconfig-pool-persist ipp.txt

# Configure server mode for ethernet bridging.
# You must first use your OS's bridging capability
# to bridge the TAP interface with the ethernet
# NIC interface.  Then you must manually set the
# IP/netmask on the bridge interface, here we
# assume 10.8.0.4/255.255.255.0.  Finally we
# must set aside an IP range in this subnet
# (start=10.8.0.50 end=10.8.0.100) to allocate
# to connecting clients.  Leave this line commented
# out unless you are ethernet bridging.
;server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100

# Configure server mode for ethernet bridging
# using a DHCP-proxy, where clients talk
# to the OpenVPN server-side DHCP server
# to receive their IP address allocation
# and DNS server addresses.  You must first use
# your OS's bridging capability to bridge the TAP
# interface with the ethernet NIC interface.
# Note: this mode only works on clients (such as
# Windows), where the client-side TAP adapter is
# bound to a DHCP client.
;server-bridge

# Push routes to the client to allow it
# to reach other private subnets behind
# the server.  Remember that these
# private subnets will also need
# to know to route the OpenVPN client
# address pool (10.8.0.0/255.255.255.0)
# back to the OpenVPN server.
push "route 192.168.0.0 255.255.255.0"
;push "route 192.168.20.0 255.255.255.0"

# To assign specific IP addresses to specific
# clients or if a connecting client has a private
# subnet behind it that should also have VPN access,
# use the subdirectory "ccd" for client-specific
# configuration files (see man page for more info).

# EXAMPLE: Suppose the client
# having the certificate common name "Thelonious"
# also has a small subnet behind his connecting
# machine, such as 192.168.40.128/255.255.255.248.
# First, uncomment out these lines:
;client-config-dir ccd
;route 192.168.40.128 255.255.255.248
# Then create a file ccd/Thelonious with this line:
#   iroute 192.168.40.128 255.255.255.248
# This will allow Thelonious' private subnet to
# access the VPN.  This example will only work
# if you are routing, not bridging, i.e. you are
# using "dev tun" and "server" directives.

# EXAMPLE: Suppose you want to give
# Thelonious a fixed VPN IP address of 10.9.0.1.
# First uncomment out these lines:
;client-config-dir ccd
;route 10.9.0.0 255.255.255.252
# Then add this line to ccd/Thelonious:
#   ifconfig-push 10.9.0.1 10.9.0.2

# Suppose that you want to enable different
# firewall access policies for different groups
# of clients.  There are two methods:
# (1) Run multiple OpenVPN daemons, one for each
#     group, and firewall the TUN/TAP interface
#     for each group/daemon appropriately.
# (2) (Advanced) Create a script to dynamically
#     modify the firewall in response to access
#     from different clients.  See man
#     page for more info on learn-address script.
;learn-address ./script

# If enabled, this directive will configure
# all clients to redirect their default
# network gateway through the VPN, causing
# all IP traffic such as web browsing and
# and DNS lookups to go through the VPN
# (The OpenVPN server machine may need to NAT
# or bridge the TUN/TAP interface to the internet
# in order for this to work properly).
;push "redirect-gateway def1 bypass-dhcp"

# Certain Windows-specific network settings
# can be pushed to clients, such as DNS
# or WINS server addresses.  CAVEAT:
# http://openvpn.net/faq.html#dhcpcaveats
# The addresses below refer to the public
# DNS servers provided by opendns.com.
;push "dhcp-option DNS 208.67.222.222"
;push "dhcp-option DNS 208.67.220.220"

# Uncomment this directive to allow different
# clients to be able to "see" each other.
# By default, clients will only see the server.
# To force clients to only see the server, you
# will also need to appropriately firewall the
# server's TUN/TAP interface.
;client-to-client

# Uncomment this directive if multiple clients
# might connect with the same certificate/key
# files or common names.  This is recommended
# only for testing purposes.  For production use,
# each client should have its own certificate/key
# pair.
#
# IF YOU HAVE NOT GENERATED INDIVIDUAL
# CERTIFICATE/KEY PAIRS FOR EACH CLIENT,
# EACH HAVING ITS OWN UNIQUE "COMMON NAME",
# UNCOMMENT THIS LINE OUT.
;duplicate-cn

# The keepalive directive causes ping-like
# messages to be sent back and forth over
# the link so that each side knows when
# the other side has gone down.
# Ping every 10 seconds, assume that remote
# peer is down if no ping received during
# a 120 second time period.
keepalive 10 120

# For extra security beyond that provided
# by SSL/TLS, create an "HMAC firewall"
# to help block DoS attacks and UDP port flooding.
#
# Generate with:
#   openvpn --genkey --secret ta.key
#
# The server and each client must have
# a copy of this key.
# The second parameter should be '0'
# on the server and '1' on the clients.
tls-auth ta.key 0 # This file is secret
tls-server
tls-timeout=120

# Select a cryptographic cipher.
# This config item must be copied to
# the client config file as well.
;cipher BF-CBC        # Blowfish (default)
cipher AES-128-CBC   # AES
;cipher DES-EDE3-CBC  # Triple-DES

# Enable compression on the VPN link.
# If you enable it here, you must also
# enable it in the client config file.
comp-lzo

# The maximum number of concurrently connected
# clients we want to allow.
;max-clients 100

# It's a good idea to reduce the OpenVPN
# daemon's privileges after initialization.
#
# You can uncomment this out on
# non-Windows systems.
;user nobody
;group nogroup

# The persist options will try to avoid
# accessing certain resources on restart
# that may no longer be accessible because
# of the privilege downgrade.
persist-key
persist-tun

# Output a short status file showing
# current connections, truncated
# and rewritten every minute.
status openvpn-status.log

# By default, log messages will go to the syslog (or
# on Windows, if running as a service, they will go to
# the "Program FilesOpenVPNlog" directory).
# Use log or log-append to override this default.
# "log" will truncate the log file on OpenVPN startup,
# while "log-append" will append to it.  Use one
# or the other (but not both).
;log         openvpn.log
;log-append  openvpn.log

# Set the appropriate level of log
# file verbosity.
#
# 0 is silent, except for fatal errors
# 4 is reasonable for general usage
# 5 and 6 can help to debug connection problems
# 9 is extremely verbose
verb 4

# Silence repeating messages.  At most 20
# sequential messages of the same message
# category will be output to the log.
;mute 20

plugin /usr/lib/openvpn/openvpn-auth-pam.so /etc/pam.d/login

CLIENT

Code: Select all

##############################################
# Sample client-side OpenVPN 2.0 config file #
# for connecting to multi-client server.     #
#                                            #
# This configuration can be used by multiple #
# clients, however each client should have   #
# its own cert and key files.                #
#                                            #
# On Windows, you might want to rename this  #
# file so it has a .ovpn extension           #
##############################################

# Specify that we are a client and that we
# will be pulling certain config file directives
# from the server.
client

# Use the same setting as you are using on
# the server.
# On most systems, the VPN will not function
# unless you partially or fully disable
# the firewall for the TUN/TAP interface.
;dev tap
dev tun

# Windows needs the TAP-Win32 adapter name
# from the Network Connections panel
# if you have more than one.  On XP SP2,
# you may need to disable the firewall
# for the TAP adapter.
;dev-node MyTap

# Are we connecting to a TCP or
# UDP server?  Use the same setting as
# on the server.
proto tcp
;proto udp

# The hostname/IP and port of the server.
# You can have multiple remote entries
# to load balance between the servers.
remote 192.xxx.xxx.xxx 44344
;remote my-server-2 1194

# Choose a random host from the remote
# list for load-balancing.  Otherwise
# try hosts in the order specified.
;remote-random

# Keep trying indefinitely to resolve the
# host name of the OpenVPN server.  Very useful
# on machines which are not permanently connected
# to the internet such as laptops.
resolv-retry infinite

# Most clients don't need to bind to
# a specific local port number.
nobind

# Downgrade privileges after initialization (non-Windows only)
;user nobody
;group nogroup

# Try to preserve some state across restarts.
persist-key
persist-tun

# If you are connecting through an
# HTTP proxy to reach the actual OpenVPN
# server, put the proxy server/IP and
# port number here.  See the man page
# if your proxy server requires
# authentication.
;http-proxy-retry # retry on connection failures
;http-proxy [proxy server] [proxy port #]

# Wireless networks often produce a lot
# of duplicate packets.  Set this flag
# to silence duplicate packet warnings.
;mute-replay-warnings

# SSL/TLS parms.
# See the server config file for more
# description.  It's best to use
# a separate .crt/.key file pair
# for each client.  A single ca
# file can be used for all clients.
ca ca.crt
cert usxxxxx.crt
key usxxxxx.key

# Verify server certificate by checking that the
# certicate has the correct key usage set.
# This is an important precaution to protect against
# a potential attack discussed here:
#  http://openvpn.net/howto.html#mitm
#
# To use this feature, you will need to generate
# your server certificates with the keyUsage set to
#   digitalSignature, keyEncipherment
# and the extendedKeyUsage to
#   serverAuth
# EasyRSA can do this for you.
remote-cert-tls server

# If a tls-auth key is used on the server
# then every client must also have the key.
tls-auth ta.key 1

# Select a cryptographic cipher.
# If the cipher option is used on the server
# then you must also specify it here.
;cipher x

# Enable compression on the VPN link.
# Don't enable this unless it is also
# enabled in the server config file.
comp-lzo

# Set log file verbosity.
verb 4

# Silence repeating messages
;mute 20

auth-user-pass

auth-nocache

ERROR MESSAGE

Code: Select all

.....
Tue Oct 31 16:58:35 2017 us=220420 MANAGEMENT: CMD 'hold off'
Tue Oct 31 16:58:35 2017 us=223425 MANAGEMENT: CMD 'hold release'
Tue Oct 31 16:58:38 2017 us=195222 MANAGEMENT: CMD 'username "Auth" "usxxxxx"'
Tue Oct 31 16:58:38 2017 us=207240 MANAGEMENT: CMD 'password [...]'
Tue Oct 31 16:58:38 2017 us=396519 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Oct 31 16:58:38 2017 us=396519 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Tue Oct 31 16:58:38 2017 us=396519 LZO compression initializing
Tue Oct 31 16:58:38 2017 us=397521 Control Channel MTU parms [ L:1624 D:1182 EF:68 EB:0 ET:0 EL:3 ]
Tue Oct 31 16:58:38 2017 us=397521 Data Channel MTU parms [ L:1624 D:1450 EF:124 EB:406 ET:0 EL:3 ]
Tue Oct 31 16:58:38 2017 us=397521 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_CLIENT,comp-lzo,keydir 1,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-client'
Tue Oct 31 16:58:38 2017 us=397521 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu 1544,tun-mtu 1500,proto TCPv4_SERVER,comp-lzo,keydir 0,cipher BF-CBC,auth SHA1,keysize 128,tls-auth,key-method 2,tls-server'
Tue Oct 31 16:58:38 2017 us=397521 TCP/UDP: Preserving recently used remote address: [AF_INET]192.xxx.xxx.xxx:44344
Tue Oct 31 16:58:38 2017 us=397521 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Oct 31 16:58:38 2017 us=397521 Attempting to establish TCP connection with [AF_INET]192.xxx.xxx.xxx:44344 [nonblock]
Tue Oct 31 16:58:38 2017 us=397521 MANAGEMENT: >STATE:1509465518,TCP_CONNECT,,,,,,
Tue Oct 31 17:00:38 2017 us=452711 TCP: connect to [AF_INET]192.xxx.xxx.xxx:44344 failed: Unknown error

I’m trying to configure my own VPN but when I’m trying to connect my console show me an error :

TCP: connect to [AF_INET]MY IP:1194 failed: Unknown error

I’ve got a public static IP so I don’t use any DNS and in my configuration I always set the DNS provider as my default gateway (192.168.1.1).
My TCP port (1194) is correctly open and my router’s firewall is disable.
Furthrmore, I had tried to connect to the VPN when I had been in and out of the network (internal connection and remote connection).

Console output of pivpn debug

::: Generating Debug Output
:::                                     :::
::              PiVPN Debug              ::
:::                                     :::
::      Latest Commit                    ::
:::                                     :::
commit b7c28af844d7a0fe0bbca5bf867c6f41863d2226
Merge: 8adbff7 d569034
Author: redfast00 <redfast00@users.noreply.github.com>
Date:   Tue May 29 22:38:46 2018 +0200

    Merge pull request #541 from pivpn/test

    Merge test branch into master
:::                                     :::
::      Recursive list of files in       ::
::      /etc/openvpn/easy-rsa/pki        ::
:::                                     :::
/etc/openvpn/easy-rsa/pki/:
ca.crt
crl.pem
Default.txt
dh1024.pem
index.txt
index.txt.attr
index.txt.attr.old
index.txt.old
issued
private
serial
serial.old
ta.key
test2.ovpn
TEST.ovpn

/etc/openvpn/easy-rsa/pki/issued:
server_ocPnhHvY630AEgU8.crt
test2.crt
TEST.crt

/etc/openvpn/easy-rsa/pki/private:
ca.key
server_ocPnhHvY630AEgU8.key
test2.key
TEST.key
:::                                     :::
::      Output of /etc/pivpn/*           ::
:::                                     :::
:: START /etc/pivpn/DET_PLATFORM ::
Raspbian
:: END /etc/pivpn/DET_PLATFORM ::
:: START /etc/pivpn/INSTALL_PORT ::
1194
:: END /etc/pivpn/INSTALL_PORT ::
:: START /etc/pivpn/INSTALL_PROTO ::
tcp
:: END /etc/pivpn/INSTALL_PROTO ::
:: START /etc/pivpn/INSTALL_USER ::
pi
:: END /etc/pivpn/INSTALL_USER ::
:: START /etc/pivpn/NO_UFW ::
1
:: END /etc/pivpn/NO_UFW ::
:: START /etc/pivpn/pivpnINTERFACE ::
eth0
:: END /etc/pivpn/pivpnINTERFACE ::
:: START /etc/pivpn/setupVars.conf ::
pivpnUser=pi
UNATTUPG=
pivpnInterface=eth0
IPv4dns=192.168.1.1
IPv4addr=192.168.1.91
IPv4gw=192.168.1.1
pivpnProto=tcp
PORT=1194
ENCRYPT=1024
APPLY_TWO_POINT_FOUR=false
DOWNLOAD_DH_PARAM=false
PUBLICDNS=
OVPNDNS1=192.168.1.1
OVPNDNS2=
:: END /etc/pivpn/setupVars.conf ::
:: START /etc/pivpn/setupVars.conf.update.bak ::
pivpnUser=pi
UNATTUPG=
pivpnInterface=eth0
IPv4dns=192.168.1.1
IPv4addr=192.168.1.91
IPv4gw=192.168.1.1
pivpnProto=tcp
PORT=443
ENCRYPT=2048
APPLY_TWO_POINT_FOUR=false
DOWNLOAD_DH_PARAM=false
PUBLICDNS=
OVPNDNS1=192.168.1.1
OVPNDNS2=
:: END /etc/pivpn/setupVars.conf.update.bak ::
:::                                     :::
:: /etc/openvpn/easy-rsa/pki/Default.txt ::
:::                                     :::
client
dev tun
proto tcp
remote MYIP 1194
resolv-retry infinite
nobind
persist-key
persist-tun
key-direction 1
remote-cert-tls server
tls-version-min 1.2
verify-x509-name server_ocPnhHvY630AEgU8 name
cipher AES-256-CBC
auth SHA256
comp-lzo
verb 3
:::                                     :::
::      Debug Output Complete            ::
:::                                     :::
:::
::: Debug output completed above.
::: Copy saved to /tmp/debug.txt
:::

Console Output of sudo iptables -t nat -S

-P PREROUTING ACCEPT
-P INPUT ACCEPT
-P OUTPUT ACCEPT
-P POSTROUTING ACCEPT
-A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE

Console Output of sudo iptables -S

-P INPUT ACCEPT
-P FORWARD ACCEPT
-P OUTPUT ACCEPT

output of sudo netstat -uanp | grep openvpn

Sorry for my bad english.

Pages Previous 1 2 3 4 Next

You must login or register to post a reply

26 04.06.2018 15:54:14

  • egor27062005
  • Новичок
  • Offline
  • Registered: 04.06.2018
  • Posts: 1

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Народ, помогите я все делаю как показано на скринах и в тексте, и подключения нету. Вот что он выдает самой последней строчкой: Initialization Sequence Completed With Errors. Там ещё скобки, а в них какая-то сслыка, но сайт не дает отправить(

27 Reply by Rino 04.06.2018 15:58:51

  • Rino
  • Moderator
  • Offline
  • Registered: 20.05.2016
  • Posts: 518

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Посмотрите в сетевых настройках, не отключили ли вы, случайно, виртуальный сетевой адаптер, необходимый для работы клиента OpenVPN.

28 Reply by Henk 06.07.2018 21:59:25

  • Henk
  • Новичок
  • Offline
  • Registered: 06.07.2018
  • Posts: 5

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Подскажите пожалуйста, Всё сделал по инструкции, ввожу логин, пароль, программа просит сделать это 3 раза подряд после чего окно с Не удалось переподключиться к(имя конфига), что делать?(win7 64)

29 Reply by Rino 06.07.2018 22:53:28

  • Rino
  • Moderator
  • Offline
  • Registered: 20.05.2016
  • Posts: 518

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Henk wrote:

Подскажите пожалуйста, Всё сделал по инструкции, ввожу логин, пароль, программа просит сделать это 3 раза подряд после чего окно с Не удалось переподключиться к(имя конфига), что делать?(win7 64)

Не могли бы вы предоставить лог с ошибкой?

30 Reply by Henk 06.07.2018 23:46:35

  • Henk
  • Новичок
  • Offline
  • Registered: 06.07.2018
  • Posts: 5

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Rino wrote:

Henk wrote:

Подскажите пожалуйста, Всё сделал по инструкции, ввожу логин, пароль, программа просит сделать это 3 раза подряд после чего окно с Не удалось переподключиться к(имя конфига), что делать?(win7 64)

Не могли бы вы предоставить лог с ошибкой?

Fri Jul 06 20:56:03 2018 OpenVPN 2.3.18 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Oct 26 2017
Fri Jul 06 20:56:03 2018 Windows version 6.1 (Windows 7) 64bit
Fri Jul 06 20:56:03 2018 library versions: OpenSSL 1.0.2l  25 May 2017, LZO 2.10
Fri Jul 06 20:56:12 2018 Control Channel Authentication: tls-auth using INLINE static key file
Fri Jul 06 20:56:12 2018 Outgoing Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Fri Jul 06 20:56:12 2018 Incoming Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Fri Jul 06 20:56:13 2018 UDPv4 link local: [undef]
Fri Jul 06 20:56:13 2018 UDPv4 link remote: [AF_INET]46.8.209.9:12595
Fri Jul 06 20:56:13 2018 WARNING: this configuration may cache passwords in memory — use the auth-nocache option to prevent this
Fri Jul 06 20:56:13 2018 VERIFY OK: depth=1, O=5a3b83c8c822c107314e2429, CN=5a3b83c8c822c107314e2439
Fri Jul 06 20:56:13 2018 Validating certificate key usage
Fri Jul 06 20:56:13 2018 ++ Certificate has key usage  00a0, expects 00a0
Fri Jul 06 20:56:13 2018 NOTE: —mute triggered…
Fri Jul 06 20:56:13 2018 10 variation(s) on previous 3 message(s) suppressed by —mute
Fri Jul 06 20:56:13 2018 [5a3b83cac822c107314e2443] Peer Connection Initiated with [AF_INET]46.8.209.9:12595
Fri Jul 06 20:56:15 2018 AUTH: Received control message: AUTH_FAILED,CRV1:R:dd1d4ef0f65a47f28e168eee8a8c0aa1:bmls:Enter Pin
Fri Jul 06 20:56:15 2018 SIGUSR1[soft,auth-failure] received, process restarting

31 Reply by Rino 06.07.2018 23:54:40

  • Rino
  • Moderator
  • Offline
  • Registered: 20.05.2016
  • Posts: 518

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Henk wrote:

Fri Jul 06 20:56:15 2018 AUTH: Received control message: AUTH_FAILED,CRV1:R:dd1d4ef0f65a47f28e168eee8a8c0aa1:bmls:Enter Pin

Ошибка авторизации. Вы вводите пароль?

32 Reply by Henk 07.07.2018 00:05:54

  • Henk
  • Новичок
  • Offline
  • Registered: 06.07.2018
  • Posts: 5

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Rino wrote:

Henk wrote:

Fri Jul 06 20:56:15 2018 AUTH: Received control message: AUTH_FAILED,CRV1:R:dd1d4ef0f65a47f28e168eee8a8c0aa1:bmls:Enter Pin

Ошибка авторизации. Вы вводите пароль?

ну конечно, он чувствителен к реестру?

33 Reply by Rino 07.07.2018 11:02:22

  • Rino
  • Moderator
  • Offline
  • Registered: 20.05.2016
  • Posts: 518

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Henk wrote:

Rino wrote:

Henk wrote:

Fri Jul 06 20:56:15 2018 AUTH: Received control message: AUTH_FAILED,CRV1:R:dd1d4ef0f65a47f28e168eee8a8c0aa1:bmls:Enter Pin

Ошибка авторизации. Вы вводите пароль?

ну конечно, он чувствителен к реестру?

Пароль состоит из цифр.

34 Reply by Henk 07.07.2018 14:18:54

  • Henk
  • Новичок
  • Offline
  • Registered: 06.07.2018
  • Posts: 5

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Rino wrote:

Henk wrote:

Rino wrote:

Ошибка авторизации. Вы вводите пароль?

ну конечно, он чувствителен к реестру?

Пароль состоит из цифр.

Спасибо огромное, разобрался.

35 Reply by Rino 07.07.2018 14:22:23

  • Rino
  • Moderator
  • Offline
  • Registered: 20.05.2016
  • Posts: 518

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Henk wrote:

Спасибо огромное, разобрался.

Не за что. Был рад помочь!

36 Reply by mbu_cdb 14.08.2018 09:50:43

  • mbu_cdb
  • Новичок
  • Offline
  • Registered: 14.08.2018
  • Posts: 1

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Добрый день! Помогите разобраться. Установка выполнена, файлы конфигурации скачаны, но при подключение выдает подключение и выходят вот эти строчки и подключение дальше не идет. Пробовали переустанавливать все заново и то же самое повторяется

Tue Aug 14 12:38:32 2018   DHCP LEASE EXPIRES  = Wed Aug 15 10:21:00 2018
Tue Aug 14 12:38:32 2018   DNS SERV = 83.172.32.17/255.255.255.255 83.172.33.18/255.255.255.255
Tue Aug 14 12:38:32 2018 Initialization Sequence Completed With Errors

37 Reply by Rino 14.08.2018 23:29:45

  • Rino
  • Moderator
  • Offline
  • Registered: 20.05.2016
  • Posts: 518

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

mbu_cdb wrote:

Добрый день! Помогите разобраться. Установка выполнена, файлы конфигурации скачаны, но при подключение выдает подключение и выходят вот эти строчки и подключение дальше не идет. Пробовали переустанавливать все заново и то же самое повторяется

Tue Aug 14 12:38:32 2018   DHCP LEASE EXPIRES  = Wed Aug 15 10:21:00 2018
Tue Aug 14 12:38:32 2018   DNS SERV = 83.172.32.17/255.255.255.255 83.172.33.18/255.255.255.255
Tue Aug 14 12:38:32 2018 Initialization Sequence Completed With Errors

Здравствуйте!
А что у вас со временем на компьютере? Из-за разницы во времени DHCP стартует с истекшим сроком.

38 Reply by lukianovandrey17500 19.11.2018 20:04:34

  • lukianovandrey17500
  • Новичок
  • Offline
  • Registered: 19.11.2018
  • Posts: 2

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

enter pin-а где его взять?

39 Reply by MihaGus89 19.11.2018 21:08:18

  • MihaGus89
  • Member
  • Offline
  • Registered: 20.11.2016
  • Posts: 19

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

lukianovandrey17500 wrote:

enter pin-а где его взять?

На странице выбранного вами сервера. smile

40 Reply by lukianovandrey17500 30.11.2018 12:18:06

  • lukianovandrey17500
  • Новичок
  • Offline
  • Registered: 19.11.2018
  • Posts: 2

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

После ввода Логина и пароля возникает иконка Enter Pin Response
Что делать?

41 Reply by Rino 30.11.2018 21:35:34

  • Rino
  • Moderator
  • Offline
  • Registered: 20.05.2016
  • Posts: 518

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

lukianovandrey17500 wrote:

После ввода Логина и пароля возникает иконка Enter Pin Response
Что делать?

Ошибка говорит о том, что вы неверно ввели пароль.

42 Reply by melkor-com 26.12.2018 12:10:29

  • melkor-com
  • Новичок
  • Offline
  • Registered: 26.12.2018
  • Posts: 2

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Добрый день, не могли бы вы помочь с ошибкой при подключении ?
Wed Dec 26 11:07:14 2018 DEPRECATED OPTION: —max-routes option ignored.The number of routes is unlimited as of OpenVPN 2.4. This option will be removed in a future version, please remove it from your configuration.
Wed Dec 26 11:07:14 2018 OpenVPN 2.4.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Sep 26 2017
Wed Dec 26 11:07:14 2018 Windows version 6.2 (Windows 8 or greater) 64bit
Wed Dec 26 11:07:14 2018 library versions: OpenSSL 1.0.2l  25 May 2017, LZO 2.10
Wed Dec 26 11:07:42 2018 Outgoing Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:07:42 2018 Incoming Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:07:42 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]188.130.138.23:443
Wed Dec 26 11:07:42 2018 Attempting to establish TCP connection with [AF_INET]188.130.138.23:443 [nonblock]
Wed Dec 26 11:07:46 2018 TCP: connect to [AF_INET]188.130.138.23:443 failed: Unknown error
Wed Dec 26 11:07:46 2018 SIGUSR1[connection failed(soft),init_instance] received, process restarting
Wed Dec 26 11:07:51 2018 Outgoing Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:07:51 2018 Incoming Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:07:51 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]188.130.138.23:443
Wed Dec 26 11:07:51 2018 Attempting to establish TCP connection with [AF_INET]188.130.138.23:443 [nonblock]
Wed Dec 26 11:07:55 2018 TCP: connect to [AF_INET]188.130.138.23:443 failed: Unknown error
Wed Dec 26 11:07:55 2018 SIGUSR1[connection failed(soft),init_instance] received, process restarting
Wed Dec 26 11:08:00 2018 Outgoing Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:08:00 2018 Incoming Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:08:00 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]188.130.138.23:443
Wed Dec 26 11:08:00 2018 Attempting to establish TCP connection with [AF_INET]188.130.138.23:443 [nonblock]
Wed Dec 26 11:08:04 2018 TCP: connect to [AF_INET]188.130.138.23:443 failed: Unknown error
Wed Dec 26 11:08:04 2018 SIGUSR1[connection failed(soft),init_instance] received, process restarting
Wed Dec 26 11:08:09 2018 Outgoing Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:08:09 2018 Incoming Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:08:09 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]188.130.138.23:443
Wed Dec 26 11:08:09 2018 Attempting to establish TCP connection with [AF_INET]188.130.138.23:443 [nonblock]
Wed Dec 26 11:08:13 2018 TCP: connect to [AF_INET]188.130.138.23:443 failed: Unknown error
Wed Dec 26 11:08:13 2018 SIGUSR1[connection failed(soft),init_instance] received, process restarting
Wed Dec 26 11:08:18 2018 Outgoing Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:08:18 2018 Incoming Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:08:18 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]188.130.138.23:443
Wed Dec 26 11:08:18 2018 Attempting to establish TCP connection with [AF_INET]188.130.138.23:443 [nonblock]
Wed Dec 26 11:08:22 2018 TCP: connect to [AF_INET]188.130.138.23:443 failed: Unknown error
Wed Dec 26 11:08:22 2018 SIGUSR1[connection failed(soft),init_instance] received, process restarting
Wed Dec 26 11:08:32 2018 Outgoing Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:08:32 2018 Incoming Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:08:32 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]188.130.138.23:443
Wed Dec 26 11:08:32 2018 Attempting to establish TCP connection with [AF_INET]188.130.138.23:443 [nonblock]
Wed Dec 26 11:08:36 2018 TCP: connect to [AF_INET]188.130.138.23:443 failed: Unknown error
Wed Dec 26 11:08:36 2018 SIGUSR1[connection failed(soft),init_instance] received, process restarting
Wed Dec 26 11:08:56 2018 Outgoing Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:08:56 2018 Incoming Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:08:56 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]188.130.138.23:443
Wed Dec 26 11:08:56 2018 Attempting to establish TCP connection with [AF_INET]188.130.138.23:443 [nonblock]
Wed Dec 26 11:09:00 2018 TCP: connect to [AF_INET]188.130.138.23:443 failed: Unknown error
Wed Dec 26 11:09:00 2018 SIGUSR1[connection failed(soft),init_instance] received, process restarting
Wed Dec 26 11:09:40 2018 Outgoing Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:09:40 2018 Incoming Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Wed Dec 26 11:09:40 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]188.130.138.23:443
Wed Dec 26 11:09:40 2018 Attempting to establish TCP connection with [AF_INET]188.130.138.23:443 [nonblock]
Wed Dec 26 11:09:44 2018 TCP: connect to [AF_INET]188.130.138.23:443 failed: Unknown error
Wed Dec 26 11:09:44 2018 SIGUSR1[connection failed(soft),init_instance] received, process restarting

43 Reply by Rino 26.12.2018 17:36:27

  • Rino
  • Moderator
  • Offline
  • Registered: 20.05.2016
  • Posts: 518

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

melkor-com wrote:

Добрый день, не могли бы вы помочь с ошибкой при подключении?

Добрый день!
Похоже, вы не обновили файлы конфигурации.

44 Reply by melkor-com 27.12.2018 08:51:10

  • melkor-com
  • Новичок
  • Offline
  • Registered: 26.12.2018
  • Posts: 2

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

я скачал файл для ru srv 3 и закинул его в папку C:Program FilesOpenVPNconfig

45 Reply by Rino 27.12.2018 20:47:31

  • Rino
  • Moderator
  • Offline
  • Registered: 20.05.2016
  • Posts: 518

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

melkor-com wrote:

я скачал файл для ru srv 3 и закинул его в папку C:Program FilesOpenVPNconfig

В представленном вами логе информация об ошибке крайне скудна.
Там написано — Unknown error. То есть — Неизвестная ошибка.
К сожалению определить дистанционно, что именно это за ошибка, очень сложно.

46 Reply by al4akoff 07.04.2019 14:19:33

  • al4akoff
  • Новичок
  • Offline
  • Registered: 07.04.2019
  • Posts: 1

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Подскажите, кто разбирается. 
1. Мне этот VPN подойдёт для маскирования Telegram? А то мой номер мобильного постоянно банят и приходится покупать новую симку для регистрации в Telegram.
2. Как понять п.10 этой инструкции, а именно: как мне узнать, какие файлы конфигурации сервера мне нужны для работы в Telegram, чтоб его не банили, если я живу в Крыму?

47 Reply by murad.abayev 08.04.2019 09:26:59

  • murad.abayev
  • Member
  • Offline
  • Registered: 18.10.2016
  • Posts: 13

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

al4akoff wrote:

Подскажите, кто разбирается. 
1. Мне этот VPN подойдёт для маскирования Telegram? А то мой номер мобильного постоянно банят и приходится покупать новую симку для регистрации в Telegram.
2. Как понять п.10 этой инструкции, а именно: как мне узнать, какие файлы конфигурации сервера мне нужны для работы в Telegram, чтоб его не банили, если я живу в Крыму?

1. Подойдёт
2. Вас банят не только по IP (а в случае с данным VPN по IP вообще не банят), но ещё и по номеру телефона могут, т.к. номер крымский.

48 Reply by Dagoonov 01.06.2019 12:40:49

  • Dagoonov
  • Новичок
  • Offline
  • Registered: 01.06.2019
  • Posts: 1

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Скажите, а в вашем VPN трафик лимитирован? Есть ли вообще какие-то ограничения?

49 Reply by Rino 01.06.2019 13:51:21

  • Rino
  • Moderator
  • Offline
  • Registered: 20.05.2016
  • Posts: 518

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Dagoonov wrote:

Скажите, а в вашем VPN трафик лимитирован? Есть ли вообще какие-то ограничения?

Нет. На главной странице большими буквами написано: Бесплатный VPN-доступ без ограничений! smile

50 Reply by Hostden 03.10.2019 15:19:41

  • Hostden
  • Новичок
  • Offline
  • Registered: 03.10.2019
  • Posts: 1

Re: Подробная инструкция по установке клиента OpenVPN на ОС Windows

Добрый день, помогите решить проблему с подключением. Все сделал по инструкции, добавляю файл конфигурации ввожу логин и пароль, но не могу подключиться выбивает вот такую ошибку

Thu Oct 03 13:05:24 2019 DEPRECATED OPTION: —max-routes option ignored.The number of routes is unlimited as of OpenVPN 2.4. This option will be removed in a future version, please remove it from your configuration.
Thu Oct 03 13:05:24 2019 OpenVPN 2.4.7 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 25 2019
Thu Oct 03 13:05:24 2019 Windows version 6.1 (Windows 7) 64bit
Thu Oct 03 13:05:24 2019 library versions: OpenSSL 1.1.0j  20 Nov 2018, LZO 2.10
Thu Oct 03 13:05:44 2019 Outgoing Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Thu Oct 03 13:05:44 2019 Incoming Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Thu Oct 03 13:05:45 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]5.149.254.26:10986
Thu Oct 03 13:05:45 2019 UDP link local: (not bound)
Thu Oct 03 13:05:45 2019 UDP link remote: [AF_INET]5.149.254.26:10986
Thu Oct 03 13:05:45 2019 WARNING: this configuration may cache passwords in memory — use the auth-nocache option to prevent this
Thu Oct 03 13:05:45 2019 VERIFY OK: depth=1, O=5b7d7da41997ee35a547c363, CN=5b7d7da41997ee35a547c364
Thu Oct 03 13:05:45 2019 VERIFY KU OK
Thu Oct 03 13:05:45 2019 Validating certificate extended key usage
Thu Oct 03 13:05:45 2019 NOTE: —mute triggered…
Thu Oct 03 13:05:45 2019 4 variation(s) on previous 3 message(s) suppressed by —mute
Thu Oct 03 13:05:45 2019 [5b7d7da41997ee35a547c36c] Peer Connection Initiated with [AF_INET]5.149.254.26:10986
Thu Oct 03 13:05:51 2019 AUTH: Received control message: AUTH_FAILED,CRV1:R:16fc10b883f34a429f4bd82b5158f0b9:bmls:Enter Pin
Thu Oct 03 13:05:51 2019 SIGUSR1[soft,auth-failure] received, process restarting
Thu Oct 03 13:06:24 2019 Outgoing Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Thu Oct 03 13:06:24 2019 Incoming Control Channel Authentication: Using 160 bit message hash ‘SHA1’ for HMAC authentication
Thu Oct 03 13:06:24 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]5.149.254.26:10986
Thu Oct 03 13:06:24 2019 UDP link local: (not bound)
Thu Oct 03 13:06:24 2019 UDP link remote: [AF_INET]5.149.254.26:10986
Thu Oct 03 13:06:24 2019 VERIFY OK: depth=1, O=5b7d7da41997ee35a547c363, CN=5b7d7da41997ee35a547c364
Thu Oct 03 13:06:24 2019 VERIFY KU OK
Thu Oct 03 13:06:24 2019 Validating certificate extended key usage
Thu Oct 03 13:06:24 2019 NOTE: —mute triggered…
Thu Oct 03 13:06:24 2019 4 variation(s) on previous 3 message(s) suppressed by —mute
Thu Oct 03 13:06:24 2019 [5b7d7da41997ee35a547c36c] Peer Connection Initiated with [AF_INET]5.149.254.26:10986
Thu Oct 03 13:06:31 2019 AUTH: Received control message: AUTH_FAILED
Thu Oct 03 13:06:31 2019 SIGUSR1[soft,auth-failure] received, process restarting

Pages Previous 1 2 3 4 Next

You must login or register to post a reply

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Openshift error 143
  • Openvpn soft tls error received process restarting
  • Openshift 139 error
  • Openvpn setup ended prematurely because of an error
  • Openshift 137 error

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии