Open VPN error in messages

  • ATTENTION! As of November 1, 2020, you are not able to reply to threads 6 months after the thread is opened if there are more than 500 posts in the thread.
    Threads will not be locked, so posts may still be edited by their authors.
    Just start a new thread on the topic to post if you get an error message when trying to reply to a thread.

Wishmaster1965

Regular Contributor
Hi,

I was trying to setup openvpn on my AC-RT88U running 384.19 and I get an error

1605717662686.png


Upon looking in system message log I see

Nov 18 15:19:06 RT-AC88U-EB98 custom_script: Running /jffs/scripts/service-event (args: restart vpnserver1)
Nov 18 15:19:08 RT-AC88U-EB98 kernel: EMF_ERROR: Interface tap21 doesn't exist
Nov 18 15:19:08 RT-AC88U-EB98 ovpn-server1[16615]: Options error: --keepalive conflicts with --ping, --ping-exit, or --ping-restart. If you use --keepalive, you don't need any of the other --ping directives.
Nov 18 15:19:08 RT-AC88U-EB98 ovpn-server1[16615]: Use --help for more information.
Nov 18 15:19:08 RT-AC88U-EB98 openvpn: Starting OpenVPN server 1 failed!
Nov 18 15:19:08 RT-AC88U-EB98 kernel: EMF_ERROR: Interface tap21 doesn't exist
Nov 18 15:19:08 RT-AC88U-EB98 kernel: EMF_ERROR: Interface tun21 doesn't exist
Nov 18 15:19:08 RT-AC88U-EB98 custom_script: Running /jffs/scripts/service-event-end (args: restart vpnserver1)

Running ifconfig I see no tap21 or tun21 interfaces

Where else should I be looking ?
 

eibgrad

Very Senior Member
Sounds like you didn't specify the necessary keys/certs (see "Keys and Certificates" option and select Edit).
 
Last edited:

Wishmaster1965

Regular Contributor
Sounds like you didn't specify the necessary keys/certs (see Keys and Certificates and select Edit).

These are generated automatically, I did click on Advanced then edit on keys and the edit, then saved

Still errorored

I seen the update to 386.1 for firmware and could possibly give this a shot
 

RMerlin

Asuswrt-Merlin dev
Nov 18 15:19:08 RT-AC88U-EB98 ovpn-server1[16615]: Options error: --keepalive conflicts with --ping, --ping-exit, or --ping-restart. If you use --keepalive, you don't need any of the other --ping directives.
 

Wishmaster1965

Regular Contributor

Similar threads

Sign Up For SNBForums Daily Digest

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