Firmware 3.0.0.4.270.26 (Merlin build)
VPN service - IPVanish http://www.ipvanish.com/
I followed DD-WRT instructions on their website - http://www.ipvanish.com/vpn-setup.php
See attachments for router settings.
The VPN appears to be restarting following the error
Apr 14 20:08:02 openvpn[2168]: ERROR: Linux route add command failed: external program exited with error status: 1
(highlighted below in red)
Full Log -
Apr 14 20:07:40 notify_rc : start_vpnclient1
Apr 14 20:07:40 openvpn[2162]: OpenVPN 2.3.0 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Mar 17 2013
Apr 14 20:07:40 openvpn[2162]: WARNING: Make sure you understand the semantics of --tls-remote before using it (see the man page).
Apr 14 20:07:40 openvpn[2162]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Apr 14 20:07:40 kernel: tun: Universal TUN/TAP device driver, 1.6
Apr 14 20:07:40 kernel: tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Apr 14 20:07:40 openvpn[2162]: Socket Buffers: R=[87380->131072] S=[16384->131072]
Apr 14 20:07:41 openvpn[2168]: Attempting to establish TCP connection with [AF_INET]81.171.97.3:443 [nonblock]
Apr 14 20:07:42 openvpn[2168]: TCP connection established with [AF_INET]81.171.97.3:443
Apr 14 20:07:42 openvpn[2168]: TCPv4_CLIENT link local: [undef]
Apr 14 20:07:42 openvpn[2168]: TCPv4_CLIENT link remote: [AF_INET]81.171.97.3:443
Apr 14 20:07:42 openvpn[2168]: TLS: Initial packet from [AF_INET]81.171.97.3:443, sid=09b6c0a7 9066c5c9
Apr 14 20:07:42 openvpn[2168]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Apr 14 20:07:52 openvpn[2168]: VERIFY OK: depth=1, C=US, ST=FL, L=Winter Park, O=IPVanish, OU=IPVanish VPN, CN=IPVanish CA, emailAddress=support@ipvanish.com
Apr 14 20:07:52 openvpn[2168]: VERIFY X509NAME OK: C=US, ST=FL, L=Winter Park, O=IPVanish, OU=IPVanish VPN, CN=lon-a02.ipvanish.com, emailAddress=support@ipvanish.com
Apr 14 20:07:52 openvpn[2168]: VERIFY OK: depth=0, C=US, ST=FL, L=Winter Park, O=IPVanish, OU=IPVanish VPN, CN=lon-a02.ipvanish.com, emailAddress=support@ipvanish.com
Apr 14 20:07:59 openvpn[2168]: Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Apr 14 20:07:59 openvpn[2168]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Apr 14 20:07:59 openvpn[2168]: Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Apr 14 20:07:59 openvpn[2168]: Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Apr 14 20:07:59 openvpn[2168]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Apr 14 20:07:59 openvpn[2168]: [lon-a02.ipvanish.com] Peer Connection Initiated with [AF_INET]81.171.97.3:443
Apr 14 20:08:01 openvpn[2168]: SENT CONTROL [lon-a02.ipvanish.com]: 'PUSH_REQUEST' (status=1)
Apr 14 20:08:02 openvpn[2168]: PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 81.171.97.3,dhcp-option DNS 8.8.8.8,rcvbuf 262144,explicit-exit-notify 5,route-gateway 172.20.24.1,topology subnet,ping 20,ping-restart 40,ifconfig 172.20.24.239 255.255.248.0'
Apr 14 20:08:02 openvpn[2168]: Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:5: explicit-exit-notify (2.3.0)
Apr 14 20:08:02 openvpn[2168]: OPTIONS IMPORT: timers and/or timeouts modified
Apr 14 20:08:02 openvpn[2168]: OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
Apr 14 20:08:02 openvpn[2168]: Socket Buffers: R=[131072->229376] S=[131072->131072]
Apr 14 20:08:02 openvpn[2168]: OPTIONS IMPORT: --ifconfig/up options modified
Apr 14 20:08:02 openvpn[2168]: OPTIONS IMPORT: route options modified
Apr 14 20:08:02 openvpn[2168]: OPTIONS IMPORT: route-related options modified
Apr 14 20:08:02 openvpn[2168]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Apr 14 20:08:02 openvpn[2168]: TUN/TAP device tun11 opened
Apr 14 20:08:02 openvpn[2168]: updown.sh tun11 1500 1560 172.20.24.239 255.255.248.0 init
Apr 14 20:08:02 notify_rc : updateresolv
Apr 14 20:08:02 dnsmasq[505]: read /etc/hosts - 3 addresses
Apr 14 20:08:02 dnsmasq[505]: read /etc/hosts.dnsmasq - 0 addresses
Apr 14 20:08:02 dnsmasq-dhcp[505]: read /etc/ethers - 2 addresses
Apr 14 20:08:02 dnsmasq[505]: using nameserver 8.8.8.8#53
Apr 14 20:08:02 dnsmasq[505]: using nameserver 81.171.97.3#53
Apr 14 20:08:02 openvpn[2168]: /sbin/route add -net 81.171.97.3 netmask 255.255.255.255 gw 46.64.40.1
Apr 14 20:08:02 openvpn[2168]: ERROR: Linux route add command failed: external program exited with error status: 1
Apr 14 20:08:02 openvpn[2168]: /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 172.20.24.1
Apr 14 20:08:02 openvpn[2168]: /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 172.20.24.1
Apr 14 20:08:02 openvpn[2168]: Initialization Sequence Completed
Apr 14 20:08:03 openvpn[2168]: Connection reset, restarting [0]
Apr 14 20:08:03 openvpn[2168]: SIGUSR1[soft,connection-reset] received, process restarting
Apr 14 20:08:03 openvpn[2168]: Restart pause, 5 second(s)
I've been stumbling around for hours, trying different settings and I now accept defeat. Anyone able to help?
VPN service - IPVanish http://www.ipvanish.com/
I followed DD-WRT instructions on their website - http://www.ipvanish.com/vpn-setup.php
See attachments for router settings.
The VPN appears to be restarting following the error
Apr 14 20:08:02 openvpn[2168]: ERROR: Linux route add command failed: external program exited with error status: 1
(highlighted below in red)
Full Log -
Apr 14 20:07:40 notify_rc : start_vpnclient1
Apr 14 20:07:40 openvpn[2162]: OpenVPN 2.3.0 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Mar 17 2013
Apr 14 20:07:40 openvpn[2162]: WARNING: Make sure you understand the semantics of --tls-remote before using it (see the man page).
Apr 14 20:07:40 openvpn[2162]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Apr 14 20:07:40 kernel: tun: Universal TUN/TAP device driver, 1.6
Apr 14 20:07:40 kernel: tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Apr 14 20:07:40 openvpn[2162]: Socket Buffers: R=[87380->131072] S=[16384->131072]
Apr 14 20:07:41 openvpn[2168]: Attempting to establish TCP connection with [AF_INET]81.171.97.3:443 [nonblock]
Apr 14 20:07:42 openvpn[2168]: TCP connection established with [AF_INET]81.171.97.3:443
Apr 14 20:07:42 openvpn[2168]: TCPv4_CLIENT link local: [undef]
Apr 14 20:07:42 openvpn[2168]: TCPv4_CLIENT link remote: [AF_INET]81.171.97.3:443
Apr 14 20:07:42 openvpn[2168]: TLS: Initial packet from [AF_INET]81.171.97.3:443, sid=09b6c0a7 9066c5c9
Apr 14 20:07:42 openvpn[2168]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Apr 14 20:07:52 openvpn[2168]: VERIFY OK: depth=1, C=US, ST=FL, L=Winter Park, O=IPVanish, OU=IPVanish VPN, CN=IPVanish CA, emailAddress=support@ipvanish.com
Apr 14 20:07:52 openvpn[2168]: VERIFY X509NAME OK: C=US, ST=FL, L=Winter Park, O=IPVanish, OU=IPVanish VPN, CN=lon-a02.ipvanish.com, emailAddress=support@ipvanish.com
Apr 14 20:07:52 openvpn[2168]: VERIFY OK: depth=0, C=US, ST=FL, L=Winter Park, O=IPVanish, OU=IPVanish VPN, CN=lon-a02.ipvanish.com, emailAddress=support@ipvanish.com
Apr 14 20:07:59 openvpn[2168]: Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Apr 14 20:07:59 openvpn[2168]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Apr 14 20:07:59 openvpn[2168]: Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Apr 14 20:07:59 openvpn[2168]: Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Apr 14 20:07:59 openvpn[2168]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Apr 14 20:07:59 openvpn[2168]: [lon-a02.ipvanish.com] Peer Connection Initiated with [AF_INET]81.171.97.3:443
Apr 14 20:08:01 openvpn[2168]: SENT CONTROL [lon-a02.ipvanish.com]: 'PUSH_REQUEST' (status=1)
Apr 14 20:08:02 openvpn[2168]: PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 81.171.97.3,dhcp-option DNS 8.8.8.8,rcvbuf 262144,explicit-exit-notify 5,route-gateway 172.20.24.1,topology subnet,ping 20,ping-restart 40,ifconfig 172.20.24.239 255.255.248.0'
Apr 14 20:08:02 openvpn[2168]: Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:5: explicit-exit-notify (2.3.0)
Apr 14 20:08:02 openvpn[2168]: OPTIONS IMPORT: timers and/or timeouts modified
Apr 14 20:08:02 openvpn[2168]: OPTIONS IMPORT: --sndbuf/--rcvbuf options modified
Apr 14 20:08:02 openvpn[2168]: Socket Buffers: R=[131072->229376] S=[131072->131072]
Apr 14 20:08:02 openvpn[2168]: OPTIONS IMPORT: --ifconfig/up options modified
Apr 14 20:08:02 openvpn[2168]: OPTIONS IMPORT: route options modified
Apr 14 20:08:02 openvpn[2168]: OPTIONS IMPORT: route-related options modified
Apr 14 20:08:02 openvpn[2168]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Apr 14 20:08:02 openvpn[2168]: TUN/TAP device tun11 opened
Apr 14 20:08:02 openvpn[2168]: updown.sh tun11 1500 1560 172.20.24.239 255.255.248.0 init
Apr 14 20:08:02 notify_rc : updateresolv
Apr 14 20:08:02 dnsmasq[505]: read /etc/hosts - 3 addresses
Apr 14 20:08:02 dnsmasq[505]: read /etc/hosts.dnsmasq - 0 addresses
Apr 14 20:08:02 dnsmasq-dhcp[505]: read /etc/ethers - 2 addresses
Apr 14 20:08:02 dnsmasq[505]: using nameserver 8.8.8.8#53
Apr 14 20:08:02 dnsmasq[505]: using nameserver 81.171.97.3#53
Apr 14 20:08:02 openvpn[2168]: /sbin/route add -net 81.171.97.3 netmask 255.255.255.255 gw 46.64.40.1
Apr 14 20:08:02 openvpn[2168]: ERROR: Linux route add command failed: external program exited with error status: 1
Apr 14 20:08:02 openvpn[2168]: /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 172.20.24.1
Apr 14 20:08:02 openvpn[2168]: /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 172.20.24.1
Apr 14 20:08:02 openvpn[2168]: Initialization Sequence Completed
Apr 14 20:08:03 openvpn[2168]: Connection reset, restarting [0]
Apr 14 20:08:03 openvpn[2168]: SIGUSR1[soft,connection-reset] received, process restarting
Apr 14 20:08:03 openvpn[2168]: Restart pause, 5 second(s)
I've been stumbling around for hours, trying different settings and I now accept defeat. Anyone able to help?