ozgurcnbyz
Regular Contributor
I am trying to setup openvpn server on my ac66u but i get an error when i activate it . it reads Error when starting the OpenVPN server! Check your configuration and try again. (Error code: 0)
Checked the syslog and this is what i get.
P.S my asus router has a private ip set on its wan if
Jan 14 19:45:54 rc_service: httpd 325:notify_rc start_vpnserver1
Jan 14 19:45:54 kernel: tun: Universal TUN/TAP device driver, 1.6
Jan 14 19:45:54 kernel: tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Jan 14 19:45:54 kernel: device tun21 entered promiscuous mode
Jan 14 19:45:57 openvpn[1179]: OpenVPN 2.3.2 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Jan 12 2014
Jan 14 19:45:57 openvpn[1179]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jan 14 19:45:57 openvpn[1179]: PLUGIN_INIT: POST /usr/lib/openvpn-plugin-auth-pam.so '[/usr/lib/openvpn-plugin-auth-pam.so] [openvpn]' intercepted=PLUGIN_AUTH_USER_PASS_VERIFY
Jan 14 19:45:57 openvpn[1179]: Diffie-Hellman initialized with 512 bit key
Jan 14 19:45:57 openvpn[1179]: Socket Buffers: R=[118784->131072] S=[118784->131072]
Jan 14 19:45:57 openvpn[1179]: TUN/TAP device tun21 opened
Jan 14 19:45:57 openvpn[1179]: TUN/TAP TX queue length set to 100
Jan 14 19:45:57 openvpn[1179]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Jan 14 19:45:57 openvpn[1179]: /usr/sbin/ip link set dev tun21 up mtu 1500
Jan 14 19:45:57 openvpn[1179]: /usr/sbin/ip addr add dev tun21 local 10.8.0.1 peer 10.8.0.2
Jan 14 19:45:57 openvpn[1179]: updown.sh tun21 1500 1542 10.8.0.1 10.8.0.2 init
Jan 14 19:45:57 openvpn[1179]: WARNING: Failed running command (--up/--down): could not execute external program
Jan 14 19:45:57 openvpn[1179]: Exiting due to fatal error
Checked the syslog and this is what i get.
P.S my asus router has a private ip set on its wan if
Jan 14 19:45:54 rc_service: httpd 325:notify_rc start_vpnserver1
Jan 14 19:45:54 kernel: tun: Universal TUN/TAP device driver, 1.6
Jan 14 19:45:54 kernel: tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Jan 14 19:45:54 kernel: device tun21 entered promiscuous mode
Jan 14 19:45:57 openvpn[1179]: OpenVPN 2.3.2 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [eurephia] [MH] [IPv6] built on Jan 12 2014
Jan 14 19:45:57 openvpn[1179]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jan 14 19:45:57 openvpn[1179]: PLUGIN_INIT: POST /usr/lib/openvpn-plugin-auth-pam.so '[/usr/lib/openvpn-plugin-auth-pam.so] [openvpn]' intercepted=PLUGIN_AUTH_USER_PASS_VERIFY
Jan 14 19:45:57 openvpn[1179]: Diffie-Hellman initialized with 512 bit key
Jan 14 19:45:57 openvpn[1179]: Socket Buffers: R=[118784->131072] S=[118784->131072]
Jan 14 19:45:57 openvpn[1179]: TUN/TAP device tun21 opened
Jan 14 19:45:57 openvpn[1179]: TUN/TAP TX queue length set to 100
Jan 14 19:45:57 openvpn[1179]: do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Jan 14 19:45:57 openvpn[1179]: /usr/sbin/ip link set dev tun21 up mtu 1500
Jan 14 19:45:57 openvpn[1179]: /usr/sbin/ip addr add dev tun21 local 10.8.0.1 peer 10.8.0.2
Jan 14 19:45:57 openvpn[1179]: updown.sh tun21 1500 1542 10.8.0.1 10.8.0.2 init
Jan 14 19:45:57 openvpn[1179]: WARNING: Failed running command (--up/--down): could not execute external program
Jan 14 19:45:57 openvpn[1179]: Exiting due to fatal error