skiron
By:
skiron

[Turials: OpenVPN Server on Debian 8] MANAGEMENT: >STATE:1490140715,WAIT,,, on windows

March 22, 2017 3.6k views
VPN

Hello, (sorry for my bad english ^^ )

I follow the tutorial : *How To Set Up an OpenVPN Server on Debian 8 * and finnaly it don't work ^^.
I install onpen vpn server on my debian machine and client on my windows 10.

On debian i properly installed openvpn :

# service openvpn service 
Activate: active (exited) 
starting openvpn service...
started openvpn serivce...

i copy on windows this files and put in C:\Program Files\OpenVPN\config

  • client.crt
  • client.key
  • client.ovpn
  • ca.crt

When i lauch (on windows) openvpn i have this :

Wed Mar 22 04:20:28 2017 NOTE: --user option is not implemented on Windows
Wed Mar 22 04:20:28 2017 NOTE: --group option is not implemented on Windows
Wed Mar 22 04:20:28 2017 OpenVPN 2.3.14 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Feb  1 2017
Wed Mar 22 04:20:28 2017 Windows version 6.2 (Windows 8 or greater) 64bit
Wed Mar 22 04:20:28 2017 library versions: OpenSSL 1.0.2k  26 Jan 2017, LZO 2.09
Wed Mar 22 04:20:28 2017 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Wed Mar 22 04:20:28 2017 Need hold release from management interface, waiting...
Wed Mar 22 04:20:29 2017 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Wed Mar 22 04:20:29 2017 MANAGEMENT: CMD 'state on'
Wed Mar 22 04:20:29 2017 MANAGEMENT: CMD 'log all on'
Wed Mar 22 04:20:29 2017 MANAGEMENT: CMD 'hold off'
Wed Mar 22 04:20:29 2017 MANAGEMENT: CMD 'hold release'
Wed Mar 22 04:20:29 2017 Socket Buffers: R=[65536->65536] S=[65536->65536]
Wed Mar 22 04:20:29 2017 UDPv4 link local: [undef]
Wed Mar 22 04:20:29 2017 UDPv4 link remote: [AF_INET]192.168.1.29:1194
Wed Mar 22 04:20:29 2017 MANAGEMENT: >STATE:1490142029,WAIT,,,

I don't follow Step 9 — Creating a Unified OpenVPN Profile for Client Devices, i understood that it's if we use others clients machines ?

4 Answers

@skiron
From searching a bit, it seems like this is a problem, when you're being blocked on the client side (that could be a firewall or even the ISP trying to block traffic on port 1194)
If you change port to 443 on the server, restart openvpn, then change it on the client, does that fix it?
https://superuser.com/questions/822161/openvpn-wont-connect-from-remote-location

Hello,

i change the port in server and client, i have the same problem

in debian (server)

vi /etc/openvpn/server.conf

port 443

ufw allow 443/udp
ufw status
To Action From


22 ALLOW Anywhere
443/udp ALLOW Anywhere
22 (v6) ALLOW Anywhere (v6)
443/udp (v6) ALLOW Anywhere (v6)

in windows (client)
i wrote in file client.ovpn
remote x.x.x.x 443

(i can ping debian -> windows and windows -> debian, To rule out some assumptions ^^.)

when i do netstat -antu i don't have port 443 listening may be it's a clue ?
netstat -antu | grep '443' return nothing

Hello,
I started the tutorial again and everything works (By putting the port 443).
I have a question, my vpn server have a nat address 192.168.x.x, if I am outside of my home how the vpn client can find the vpn server ? i need

Have another answer? Share your knowledge.