I’m using a GL-AR750S Slate device on the 3.013 testing firmware, trying to establish an OpenVPN connection (in this case, to the provider VPNUnlimited). It’s failing to connect after a 30 second timeout, and the reason seems to be that it is using an incorrect IP “recently used” address:
Sun Feb 10 13:08:05 2019 daemon.notice openvpn: OpenVPN 2.4.5 mips-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD]
Sun Feb 10 13:08:05 2019 daemon.notice openvpn: library versions: OpenSSL 1.0.2o 27 Mar 2018, LZO 2.10
Sun Feb 10 13:08:05 2019 daemon.warn openvpn: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Sun Feb 10 13:08:05 2019 daemon.notice openvpn: TCP/UDP: Preserving recently used remote address: [AF_INET]18.104.22.168:1194
Sun Feb 10 13:08:05 2019 daemon.notice openvpn: UDP link local: (not bound)
Sun Feb 10 13:08:05 2019 daemon.notice openvpn: UDP link remote: [AF_INET]22.214.171.124:1194
Sun Feb 10 13:08:35 2019 daemon.notice openvpn: [UNDEF] Inactivity timeout (–ping-exit), exiting
Sun Feb 10 13:08:35 2019 daemon.notice openvpn: SIGTERM[soft,ping-exit] received, process exiting
That 126.96.36.199 address seems like a Honk Kong address (?), so I’m guessing it is falling back on some previous data which happens to be in the firmware because it can’t resolve the name in my config? The actual server name is us-sf.vpnunlimitedapp.com, which should resolve to a totally different address. I’ve tried a few different VPNUnlimited servers.
Maybe the underlying cause is that OpenVPN can’t resolve DNS? If I put a hard-coded address into my OpenVPN config file I am able to connect. For DNS I’m currently using the manual setting “188.8.131.52”, but I’ve tried various settings on the Slate’s “Custom DNS Server” tab and it always seems to use that same IP when connecting to a named OpenDNS host. My PC is connected via WISP, and DNS is working fine on that side; it just seems to be OpenVPN that is having DNS trouble (or at least that’s what I’m guessing is happening).