Open VPN thru No-ip Dynamic DNS

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
pescobedo
OpenVpn Newbie
Posts: 1
Joined: Fri Jun 08, 2018 3:16 am

Open VPN thru No-ip Dynamic DNS

Post by pescobedo » Fri Jun 08, 2018 5:22 am

ok, here is the deal,

I am testing an old router, model Nucom R5000 from Movistar Spain to give me VPN access from my house

I've set up a NO-ip.com Dynamic DNS, got a new xxx.hopto.org address.

I am relatively new to OpenVPN, i know how it works, and i use it with my NordVPN account with no issues, anyway...

I didn't saw anywhere to generate certificates, so i used <ca> , <key> and <cert> from here

this is my config file:

client

client
dev tun
resolv-retry infinite
nobind
persist-key
persist-tun
auth-user-pass
auth-nocache
tun-mtu 1500
tun-mtu-extra 32
remote-cert-tls server
cipher AES-256-CBC
auth SHA384
server-poll-timeout 3
proto udp
remote host.hopto.org 1194

sndbuf 0
rcvbuf 0



<ca>
-----BEGIN CERTIFICATE-----
MIIEwTCCA6mgAwIBAgIJANtGjxbsxYjTMA0GCSqGSIb3DQEBBQUAMIGbMQswCQYD
VQQGEwJTRTELMAkGA1UECBMCUVExEjAQBgNVBAcTCUZyb290VG93bjERMA8GA1UE
ChMIRnJvb3RPcmcxETAPBgNVBAsTCGNoYW5nZW1lMREwDwYDVQQDEwhjaGFuZ2Vt
ZTERMA8GA1UEKRMIY2hhbmdlbWUxHzAdBgkqhkiG9w0BCQEWEG1haWxAaG9zdC5k
b21haW4wHhcNMTQwNTA5MjEwMjIxWhcNMjQwNTA2MjEwMjIxWjCBmzELMAkGA1UE
BhMCU0UxCzAJBgNVBAgTAlFRMRIwEAYDVQQHEwlGcm9vdFRvd24xETAPBgNVBAoT
CEZyb290T3JnMREwDwYDVQQLEwhjaGFuZ2VtZTERMA8GA1UEAxMIY2hhbmdlbWUx
ETAPBgNVBCkTCGNoYW5nZW1lMR8wHQYJKoZIhvcNAQkBFhBtYWlsQG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czub8945SfkMMbLClBIfXqVjQAM//oit+2PkxvBp95eY7Z2cWFGpczs
7Nt/DpE/NXkXvnnLAzEhBVNrXWxyZ4gyHvh7GlfJW3vxPS4SS5WvNkWIWzcGNKJm
3ickhkUl8J1rmmoksvbvUIuGfcD8Kg4KE+cSvOECgYEAsX+GdWvo4EguqtDqiOWA
5xIjJsc6sAlUu1JzNUYuTv7l6fmKG5IVM3lL1n6PCc+c15sofFosA1dHINyhpyC6
LuIQQV37gBRZDFcH5PkggmdmhWkOvm84YiulO2smidD4D0N/qsqLCpgJ9XDyteF4
c2h3FhYC3DC06hHX9ozbyAk=
-----END PRIVATE KEY-----
</key>



I can't connect to the VPN, it gives me this error "Server poll timeout, restarting" and it keeps going and going....

this is the log:

[oconf=]Thu Jun 07 19:16:45 2018 OpenVPN 2.4.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 26 2018
Thu Jun 07 19:16:45 2018 Windows version 6.2 (Windows 8 or greater) 64bit
Thu Jun 07 19:16:45 2018 library versions: OpenSSL 1.1.0h 27 Mar 2018, LZO 2.10
Enter Management Password:
Thu Jun 07 19:16:53 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:1194
Thu Jun 07 19:16:53 2018 UDP link local: (not bound)
Thu Jun 07 19:16:53 2018 UDP link remote: [AF_INET]x.x.x.x:1194
Thu Jun 07 19:16:56 2018 Server poll timeout, restarting
Thu Jun 07 19:16:56 2018 SIGUSR1[soft,server_poll] received, process restarting
Thu Jun 07 19:16:56 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:1194
Thu Jun 07 19:16:56 2018 UDP link local: (not bound)
Thu Jun 07 19:16:56 2018 UDP link remote: [AF_INET]x.x.x.x:1194
Thu Jun 07 19:16:59 2018 Server poll timeout, restarting
Thu Jun 07 19:16:59 2018 SIGUSR1[soft,server_poll] received, process restarting
Thu Jun 07 19:16:59 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:1194
Thu Jun 07 19:16:59 2018 UDP link local: (not bound)
Thu Jun 07 19:16:59 2018 UDP link remote: [AF_INET]x.x.x.x:1194
Thu Jun 07 19:17:02 2018 Server poll timeout, restarting
Thu Jun 07 19:17:02 2018 SIGUSR1[soft,server_poll] received, process restarting
Thu Jun 07 19:17:02 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:1194
Thu Jun 07 19:17:02 2018 UDP link local: (not bound)
Thu Jun 07 19:17:02 2018 UDP link remote: [AF_INET]x.x.x.x:1194
Thu Jun 07 19:17:05 2018 Server poll timeout, restarting
Thu Jun 07 19:17:05 2018 SIGUSR1[soft,server_poll] received, process restarting
Thu Jun 07 19:17:05 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]x.x.x.x:1194
Thu Jun 07 19:17:05 2018 UDP link local: (not bound)
Thu Jun 07 19:17:05 2018 UDP link remote: [AF_INET]x.x.x.x:1194[/oconf]


now, i have configured a static ip address to the testing computer,

Adaptador de LAN inalámbrica Wi-Fi:

Sufijo DNS específico para la conexión. . :

Dirección IPv4. . . . . . . . . . . . . . : 192.168.1.111
Máscara de subred . . . . . . . . . . . . : 255.255.255.0
Puerta de enlace predeterminada . . . . . : 192.168.1.1

and i am connecting from my work's Wi-Fi to test if the VPN works, it doesn't, so i've tried using my cellphone's AP, using the same static ip address, and even not connected, i was able for a brief time to connect to 192.168.1.1 and see the router's configuration, then i was disconnected, and i haven't een able to "connect" to the VPN, i am using the " " because i am not fully connected to the VPN

any help is very much apreciated.

thanks

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 4421
Joined: Fri Jun 03, 2016 1:17 pm

Re: Open VPN thru No-ip Dynamic DNS

Post by TinCanTech » Fri Jun 08, 2018 11:39 am

99.99% it is your firewall .. but check your server log also.

Post Reply