julo
Hello,
I have configured server (debian) and client (WIN 10) for creating stunnel(led) VPN. When I try to connect from client to server I get problem, that my local IP is not bound. Connection resets...
This problem is on serveral forums, but I found no working solution. I am pretty sure that there are no typos in configuration files.
Any suggestions?
OpenVPN log
Fri Aug 31 19:47:53 2018 OpenVPN 2.4.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 26 2018
Fri Aug 31 19:47:53 2018 Windows version 6.2 (Windows 8 or greater) 64bit
Fri Aug 31 19:47:53 2018 library versions: OpenSSL 1.1.0h 27 Mar 2018, LZO 2.10
Enter Management Password:
Fri Aug 31 19:47:53 2018 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Fri Aug 31 19:47:53 2018 Need hold release from management interface, waiting...
Fri Aug 31 19:47:53 2018 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Fri Aug 31 19:47:53 2018 MANAGEMENT: CMD 'state on'
Fri Aug 31 19:47:53 2018 MANAGEMENT: CMD 'log all on'
Fri Aug 31 19:47:53 2018 MANAGEMENT: CMD 'echo all on'
Fri Aug 31 19:47:53 2018 MANAGEMENT: CMD 'bytecount 5'
Fri Aug 31 19:47:53 2018 MANAGEMENT: CMD 'hold off'
Fri Aug 31 19:47:53 2018 MANAGEMENT: CMD 'hold release'
Fri Aug 31 19:47:53 2018 Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Aug 31 19:47:53 2018 Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Fri Aug 31 19:47:53 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]127.0.0.1:1194
Fri Aug 31 19:47:53 2018 Socket Buffers: R=[65536->65536] S=[65536->65536]
Fri Aug 31 19:47:53 2018 Attempting to establish TCP connection with [AF_INET]127.0.0.1:1194 [nonblock]
Fri Aug 31 19:47:53 2018 MANAGEMENT: >STATE:1535737673,TCP_CONNECT,,,,,,
Fri Aug 31 19:47:53 2018 TCP connection established with [AF_INET]127.0.0.1:1194
Fri Aug 31 19:47:53 2018 TCP_CLIENT link local: (not bound)
Fri Aug 31 19:47:53 2018 TCP_CLIENT link remote: [AF_INET]127.0.0.1:1194
Fri Aug 31 19:47:53 2018 MANAGEMENT: >STATE:1535737673,WAIT,,,,,,
Fri Aug 31 19:47:53 2018 Connection reset, restarting [-1]
Fri Aug 31 19:47:53 2018 SIGUSR1[soft,connection-reset] received, process restarting
stunnel log
2018.08.31 19:47:53 LOG5[8]: Service [openvpn] accepted connection from 127.0.0.1:52981
2018.08.31 19:47:53 LOG5[8]: s_connect: connected %SERVER_PUBLICIP%:443
2018.08.31 19:47:53 LOG5[8]: Service [openvpn] connected remote server from %CLIENT_PUBLICIP%:52982 //shouldn't be here 127.0.0.1 ??
2018.08.31 19:47:53 LOG3[8]: SSL_connect: Peer suddenly disconnected
2018.08.31 19:47:58 LOG5[9]: Connection reset: 0 byte(s) sent to TLS, 0 byte(s) sent to socket