OpenVPN server setup in Asus router, it has DDNS support and it is setup. Dynamic IP from ISP, each time WAN IP changes on the router I need to export a new .ovpn file that has the newly leased IP. I put the DNS name in the client config and it will not connect, log below. Maybe I'm missing something in the client config, haven't been able to find it. Any guidance is appreciated.
Log:
Wed Feb 21 18:42:18 2018 OpenVPN 2.4.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Sep 26 2017
Wed Feb 21 18:42:18 2018 Windows version 6.2 (Windows 8 or greater) 64bit
Wed Feb 21 18:42:18 2018 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.10
Enter Management Password:
Wed Feb 21 18:42:24 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]124.197.86.161:1194
Wed Feb 21 18:42:24 2018 UDP link local: (not bound)
Wed Feb 21 18:42:24 2018 UDP link remote: [AF_INET]124.197.86.161:1194
Wed Feb 21 18:43:24 2018 [UNDEF] Inactivity timeout (--ping-restart), restarting
Wed Feb 21 18:43:24 2018 SIGUSR1[soft,ping-restart] received, process restarting
Wed Feb 21 18:43:29 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]124.197.86.161:1194
Wed Feb 21 18:43:29 2018 UDP link local: (not bound)
Wed Feb 21 18:43:29 2018 UDP link remote: [AF_INET]124.197.86.161:1194
Wed Feb 21 18:44:30 2018 [UNDEF] Inactivity timeout (--ping-restart), restarting
Wed Feb 21 18:44:30 2018 SIGUSR1[soft,ping-restart] received, process restarting
Wed Feb 21 18:44:35 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]124.197.86.161:1194
Wed Feb 21 18:44:35 2018 UDP link local: (not bound)
Client config with dynamic IP - unable to connect
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sat Feb 17, 2018 5:19 am
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 2
- Joined: Sat Feb 17, 2018 5:19 am
Re: Client config with dynamic IP - unable to connect
I don't think thats the problem though, I setup DDNS weeks ago.
The IP in the log is the address of the DNS server after I do an nslookup on the DNS name (using asuscomm --> 'name'.asuscomm.com)
Should I be able to connect with the DNS name in the client config, instead of the IP?
The IP in the log is the address of the DNS server after I do an nslookup on the DNS name (using asuscomm --> 'name'.asuscomm.com)
Should I be able to connect with the DNS name in the client config, instead of the IP?
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm