1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice

Welcome To SNBForums

SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.

If you'd like to post a question, simply register and have at it!

While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!

Openvpn issue with latest RT-AC3200_384.6_0 release

Discussion in 'Asuswrt-Merlin' started by fabien007, Sep 22, 2018.

  1. fabien007

    fabien007 New Around Here

    Joined:
    Sep 22, 2018
    Messages:
    2
    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
     
  2. Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!
  3. RMerlin

    RMerlin Super Moderator

    Joined:
    Apr 14, 2012
    Messages:
    27,975
    Location:
    Canada
    Post your custom config section. You most likely have some invalid parameters in there, because nothing in the firmware refers to openvpntap.
     
  4. fabien007

    fabien007 New Around Here

    Joined:
    Sep 22, 2018
    Messages:
    2
    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.
     
Please support SNBForums! Just click on this link before you buy something from Amazon and we'll get a small commission on anything you buy. Thanks!