What's new

Openvpn issue with latest RT-AC3200_384.6_0 release

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

fabien007

New Around Here
Hello to snbforums community!

I just switched from stock asuswrt firmware to merlin 384.6 on my RT-3200, but I can't connect to my own VPN server (hosted by a VPS provider) after reconfiguration of the router as a vpn client, I am getting this error:

Sep 22 11:48:03 ovpn-client1[19397]: OpenVPN 2.4.6 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jul 25 2018
Sep 22 11:48:03 ovpn-client1[19397]: library versions: OpenSSL 1.0.2o 27 Mar 2018, LZO 2.08
...
Sep 22 11:48:05 ovpn-client1[19398]: OPTIONS IMPORT: timers and/or timeouts modified
Sep 22 11:48:05 ovpn-client1[19398]: OPTIONS IMPORT: --ifconfig/up options modified
Sep 22 11:48:05 ovpn-client1[19398]: OPTIONS IMPORT: route options modified
Sep 22 11:48:05 ovpn-client1[19398]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sep 22 11:48:05 ovpn-client1[19398]: Outgoing Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
Sep 22 11:48:05 ovpn-client1[19398]: Outgoing Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Sep 22 11:48:05 ovpn-client1[19398]: Incoming Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
Sep 22 11:48:05 ovpn-client1[19398]: Incoming Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Sep 22 11:48:05 ovpn-client1[19398]: ERROR: Cannot open TUN/TAP dev openvpntap: No such file or directory (errno=2)
Sep 22 11:48:05 ovpn-client1[19398]: Exiting due to fatal error

Sep 22 11:48:10 dnsmasq[264]: nameserver 192.168.8.1 refused to do a recursive query

I don't understand where this openvpntap device is coming from, isn't it supposed to be automatically created by openvpn?
Thanks for any suggestion!
Regards,
Fabien
 
Hello to snbforums community!

I just switched from stock asuswrt firmware to merlin 384.6 on my RT-3200, but I can't connect to my own VPN server (hosted by a VPS provider) after reconfiguration of the router as a vpn client, I am getting this error:

Sep 22 11:48:03 ovpn-client1[19397]: OpenVPN 2.4.6 arm-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Jul 25 2018
Sep 22 11:48:03 ovpn-client1[19397]: library versions: OpenSSL 1.0.2o 27 Mar 2018, LZO 2.08
...
Sep 22 11:48:05 ovpn-client1[19398]: OPTIONS IMPORT: timers and/or timeouts modified
Sep 22 11:48:05 ovpn-client1[19398]: OPTIONS IMPORT: --ifconfig/up options modified
Sep 22 11:48:05 ovpn-client1[19398]: OPTIONS IMPORT: route options modified
Sep 22 11:48:05 ovpn-client1[19398]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Sep 22 11:48:05 ovpn-client1[19398]: Outgoing Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
Sep 22 11:48:05 ovpn-client1[19398]: Outgoing Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Sep 22 11:48:05 ovpn-client1[19398]: Incoming Data Channel: Cipher 'AES-256-CBC' initialized with 256 bit key
Sep 22 11:48:05 ovpn-client1[19398]: Incoming Data Channel: Using 160 bit message hash 'SHA1' for HMAC authentication
Sep 22 11:48:05 ovpn-client1[19398]: ERROR: Cannot open TUN/TAP dev openvpntap: No such file or directory (errno=2)
Sep 22 11:48:05 ovpn-client1[19398]: Exiting due to fatal error

Sep 22 11:48:10 dnsmasq[264]: nameserver 192.168.8.1 refused to do a recursive query

I don't understand where this openvpntap device is coming from, isn't it supposed to be automatically created by openvpn?
Thanks for any suggestion!
Regards,
Fabien

Post your custom config section. You most likely have some invalid parameters in there, because nothing in the firmware refers to openvpntap.
 
Thanks a lot RMerlin!
exactly as you said, I had a "dev-node openvpntap" line in custom config section, a leftover of an imported ovpn config.
Problem solved.
 

Similar threads

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top