Hi,
I’ve just got an MT300N and I’m in the process of setting it up. Everything has been really easy to set up so far, however I can’t get it to connect to my Asus AC87U OpenVPN TAP Server. I know the server works as I can connect from my Windows and OSX clients.
Here’s the log when the device tries to connect:
Tue May 2 17:42:31 2017 daemon.notice openvpn[25302]: OpenVPN 2.3.10 mipsel-openwrt-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6]Tue May 2 17:42:31 2017 daemon.notice openvpn[25302]: library versions: OpenSSL 1.0.2g 1 Mar 2016, LZO 2.08
Tue May 2 17:42:31 2017 daemon.notice openvpn[25303]: UDPv4 link local: [undef]
Tue May 2 17:42:31 2017 daemon.notice openvpn[25303]: UDPv4 link remote: [AF_INET]XXX.XXX.103.152:1194
Tue May 2 17:42:31 2017 daemon.warn openvpn[25303]: WARNING: this configuration may cache passwords in memory – use the auth-nocache option to prevent this
Tue May 2 17:42:33 2017 daemon.notice openvpn[25303]: [RT-AC87U] Peer Connection Initiated with [AF_INET]XXX.XXX.103.152:1194
Tue May 2 17:42:36 2017 daemon.notice netifd: Interface ‘VPN_client’ is enabled
Tue May 2 17:42:36 2017 daemon.notice netifd: Network device ‘tap0’ link is up
Tue May 2 17:42:36 2017 daemon.notice netifd: Interface ‘VPN_client’ has link connectivity
Tue May 2 17:42:36 2017 daemon.notice netifd: Interface ‘VPN_client’ is setting up now
Tue May 2 17:42:36 2017 daemon.notice openvpn[25303]: TUN/TAP device tap0 opened
Tue May 2 17:42:36 2017 daemon.notice netifd: Interface ‘VPN_client’ is now up
Tue May 2 17:42:36 2017 user.notice firewall: Reloading firewall due to ifup of VPN_client (tap0)
Tue May 2 17:42:47 2017 daemon.warn openvpn[25303]: ERROR: Linux route add command failed: external program exited with error status: 1
Tue May 2 17:42:47 2017 daemon.warn openvpn[25303]: ERROR: Linux route add command failed: external program exited with error status: 1
Tue May 2 17:42:47 2017 daemon.warn openvpn[25303]: ERROR: Linux route add command failed: external program exited with error status: 1
Tue May 2 17:42:47 2017 daemon.warn openvpn[25303]: ERROR: Linux route add command failed: external program exited with error status: 1
Tue May 2 17:42:47 2017 daemon.notice openvpn[25303]: Initialization Sequence Completed
Tue May 2 17:45:33 2017 daemon.warn dnsmasq-dhcp[2005]: DHCP packet received on tap0 which has no address
Here’s the ovpn config file I’m uploading to the client router:
clientdev tap
Windows needs the TAP-Win32 adapter name
from the Network Connections panel
if you have more than one. On XP SP2,
you may need to disable the firewall
for the TAP adapter.
;dev-node MyTap
proto udp
remote XXX.asuscomm.com 1194
float
comp-lzo adaptive
route-delay 10
keepalive 15 60
auth-user-pass
ns-cert-type server
<ca>
-----BEGIN CERTIFICATE-----
XXX
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
XXX
-----END CERTIFICATE-----
</cert>
<key>
-----BEGIN PRIVATE KEY-----
XXX
-----END PRIVATE KEY-----
</key>
resolv-retry infinite
nobind
All during this time, the status says: “OpenVPN is: connecting …”
Anybody have any ideas?
Thanks!