I feel like a straight up noob after running around in circles for the past few hours trying to get this to work. I think I have read every single forum post on the topic and yet I'm still not any farther. Here's the issue:
I have an Asus RT-N66U with the latest Merlin build (says 270.25, but I flashed the 25b).
I want to set up a VPN connection as a client connecting to ipredator.se in the router. After some initial issues with the settings, I have figured out what to enter where and the router is connecting. Here's the log:
Mar 4 13:24:11 notify_rc : start_vpnclient1
Mar 4 13:24:11 kernel: tun: Universal TUN/TAP device driver, 1.6
Mar 4 13:24:11 kernel: tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Mar 4 13:24:11 openvpn[4499]: OpenVPN 2.3.0 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Mar 3 2013
Mar 4 13:24:11 openvpn[4499]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mar 4 13:24:11 openvpn[4499]: Control Channel Authentication: tls-auth using INLINE static key file
Mar 4 13:24:11 openvpn[4499]: Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mar 4 13:24:11 openvpn[4499]: Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mar 4 13:24:11 openvpn[4499]: Socket Buffers: R=[114688->131072] S=[114688->131072]
Mar 4 13:24:11 openvpn[4501]: UDPv4 link local: [undef]
Mar 4 13:24:11 openvpn[4501]: UDPv4 link remote: [AF_INET]93.182.149.2:1194
Mar 4 13:24:11 openvpn[4501]: TLS: Initial packet from [AF_INET]93.182.149.2:1194, sid=e0545b2d 2053a238
Mar 4 13:24:11 openvpn[4501]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Mar 4 13:24:11 openvpn[4501]: VERIFY OK: depth=1, C=SE, ST=Bryggland, L=Oeldal, O=Royal Swedish Beer Squadron, OU=Internetz, CN=Royal Swedish Beer Squadron CA, emailAddress=hostmaster@ipredator.se
Mar 4 13:24:11 openvpn[4501]: VERIFY OK: nsCertType=SERVER
Mar 4 13:24:11 openvpn[4501]: VERIFY OK: depth=0, C=SE, ST=Bryggland, L=Oeldal, O=Royal Swedish Beer Squadron, OU=Internetz, CN=pw.openvpn.ipredator.se, emailAddress=hostmaster@ipredator.se
Mar 4 13:24:12 openvpn[4501]: Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Mar 4 13:24:12 openvpn[4501]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mar 4 13:24:12 openvpn[4501]: Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Mar 4 13:24:12 openvpn[4501]: Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mar 4 13:24:12 openvpn[4501]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Mar 4 13:24:12 openvpn[4501]: [pw.openvpn.ipredator.se] Peer Connection Initiated with [AF_INET]93.182.149.2:1194
Mar 4 13:24:14 openvpn[4501]: SENT CONTROL [pw.openvpn.ipredator.se]: 'PUSH_REQUEST' (status=1)
Mar 4 13:24:14 openvpn[4501]: PUSH: Received control message: 'PUSH_REPLY,route 93.182.149.2 255.255.255.255 net_gateway,route-gateway 93.182.149.1,redirect-gateway def1,topology subnet,dhcp-option DOMAIN ipredator.se,dhcp-option DNS 93.182.132.32,dhcp-option DNS 93.182.182.93,ip-win32 dynamic,ping 10,ping-restart 60,ifconfig 93.182.149.105 255.255.255.128'
Mar 4 13:24:14 openvpn[4501]: Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:8: ip-win32 (2.3.0)
Mar 4 13:24:14 openvpn[4501]: OPTIONS IMPORT: timers and/or timeouts modified
Mar 4 13:24:14 openvpn[4501]: OPTIONS IMPORT: --ifconfig/up options modified
Mar 4 13:24:14 openvpn[4501]: OPTIONS IMPORT: route options modified
Mar 4 13:24:14 openvpn[4501]: OPTIONS IMPORT: route-related options modified
Mar 4 13:24:14 openvpn[4501]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Mar 4 13:24:14 openvpn[4501]: WARNING: potential conflict between --remote address [93.182.149.2] and --ifconfig address pair [93.182.149.105, 255.255.255.128] -- this is a warning only that is triggered when local/remote addresses exist within the same /24 subnet as --ifconfig endpoints. (silence this warning with --ifconfig-nowarn)
Mar 4 13:24:14 openvpn[4501]: TUN/TAP device tun0 opened
Mar 4 13:24:14 openvpn[4501]: TUN/TAP TX queue length set to 100
Mar 4 13:24:14 openvpn[4501]: /sbin/route add -net 93.182.149.2 netmask 255.255.255.255 gw 62.214.64.181
Mar 4 13:24:14 openvpn[4501]: /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 93.182.149.1
Mar 4 13:24:14 openvpn[4501]: /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 93.182.149.1
Mar 4 13:24:14 openvpn[4501]: /sbin/route add -net 93.182.149.2 netmask 255.255.255.255 gw 62.214.64.181
Mar 4 13:24:14 openvpn[4501]: ERROR: Linux route add command failed: external program exited with error status: 1
Mar 4 13:24:14 openvpn[4501]: Initialization Sequence Completed
Mar 4 13:24:19 openvpn[4501]: event_wait : Interrupted system call (code=4)
Mar 4 13:24:19 openvpn[4501]: OpenVPN STATISTICS
Mar 4 13:24:19 openvpn[4501]: Updated,Mon Mar 4 13:24:19 2013
Mar 4 13:24:19 openvpn[4501]: TUN/TAP read bytes,5058
Mar 4 13:24:19 openvpn[4501]: TUN/TAP write bytes,173
Mar 4 13:24:19 openvpn[4501]: TCP/UDP read bytes,7010
Mar 4 13:24:19 openvpn[4501]: TCP/UDP write bytes,8823
Mar 4 13:24:19 openvpn[4501]: Auth read bytes,173
Mar 4 13:24:19 openvpn[4501]: pre-compress bytes,3906
Mar 4 13:24:19 openvpn[4501]: post-compress bytes,3846
Mar 4 13:24:27 openvpn[4501]: event_wait : Interrupted system call (code=4)
Mar 4 13:24:27 openvpn[4501]: OpenVPN STATISTICS
Mar 4 13:24:27 openvpn[4501]: Updated,Mon Mar 4 13:24:27 2013
Mar 4 13:24:27 openvpn[4501]: TUN/TAP read bytes,7768
Mar 4 13:24:27 openvpn[4501]: TUN/TAP write bytes,1259
Mar 4 13:24:27 openvpn[4501]: TCP/UDP read bytes,8490
Mar 4 13:24:27 openvpn[4501]: TCP/UDP write bytes,11670
Mar 4 13:24:27 openvpn[4501]: Auth read bytes,1259
Mar 4 13:24:27 openvpn[4501]: pre-compress bytes,3906
Mar 4 13:24:27 openvpn[4501]: post-compress bytes,3846
Mar 4 13:24:30 openvpn[4501]: event_wait : Interrupted system call (code=4)
Mar 4 13:24:30 openvpn[4501]: OpenVPN STATISTICS
Mar 4 13:24:30 openvpn[4501]: Updated,Mon Mar 4 13:24:30 2013
Mar 4 13:24:30 openvpn[4501]: TUN/TAP read bytes,17419
Mar 4 13:24:30 openvpn[4501]: TUN/TAP write bytes,1259
Mar 4 13:24:30 openvpn[4501]: TCP/UDP read bytes,8490
Mar 4 13:24:30 openvpn[4501]: TCP/UDP write bytes,21848
Mar 4 13:24:30 openvpn[4501]: Auth read bytes,1259
Mar 4 13:24:30 openvpn[4501]: pre-compress bytes,3906
Mar 4 13:24:30 openvpn[4501]: post-compress bytes,3846
Mar 4 13:24:47 openvpn[4501]: event_wait : Interrupted system call (code=4)
Mar 4 13:24:47 openvpn[4501]: OpenVPN STATISTICS
Mar 4 13:24:47 openvpn[4501]: Updated,Mon Mar 4 13:24:47 2013
Mar 4 13:24:47 openvpn[4501]: TUN/TAP read bytes,21532
Mar 4 13:24:47 openvpn[4501]: TUN/TAP write bytes,1765
Mar 4 13:24:47 openvpn[4501]: TCP/UDP read bytes,9187
Mar 4 13:24:47 openvpn[4501]: TCP/UDP write bytes,26940
Mar 4 13:24:47 openvpn[4501]: Auth read bytes,1765
Mar 4 13:24:47 openvpn[4501]: pre-compress bytes,3906
Mar 4 13:24:47 openvpn[4501]: post-compress bytes,3846
Mar 4 13:24:56 openvpn[4501]: event_wait : Interrupted system call (code=4)
Mar 4 13:24:56 openvpn[4501]: OpenVPN STATISTICS
Mar 4 13:24:56 openvpn[4501]: Updated,Mon Mar 4 13:24:56 2013
Mar 4 13:24:56 openvpn[4501]: TUN/TAP read bytes,21573
Mar 4 13:24:56 openvpn[4501]: TUN/TAP write bytes,1853
Mar 4 13:24:56 openvpn[4501]: TCP/UDP read bytes,9389
Mar 4 13:24:56 openvpn[4501]: TCP/UDP write bytes,27025
Mar 4 13:24:56 openvpn[4501]: Auth read bytes,1853
Mar 4 13:24:56 openvpn[4501]: pre-compress bytes,3906
Mar 4 13:24:56 openvpn[4501]: post-compress bytes,3846
The only problem is that with the VPN connected, I cannot access the internet using any of my devices, neither wired nor wireless. I have tried everything I can think of: firewall on/off, playing with the NAT settings, restarting devices, etc., but nothing seems to work. Is there some setting I'm missing or anything in my log that points to an error? Sorry if the answer is obvious but many many people seem to have this issue but I haven't been able to find a definitive answer anywhere.
I have an Asus RT-N66U with the latest Merlin build (says 270.25, but I flashed the 25b).
I want to set up a VPN connection as a client connecting to ipredator.se in the router. After some initial issues with the settings, I have figured out what to enter where and the router is connecting. Here's the log:
Mar 4 13:24:11 notify_rc : start_vpnclient1
Mar 4 13:24:11 kernel: tun: Universal TUN/TAP device driver, 1.6
Mar 4 13:24:11 kernel: tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
Mar 4 13:24:11 openvpn[4499]: OpenVPN 2.3.0 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Mar 3 2013
Mar 4 13:24:11 openvpn[4499]: NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Mar 4 13:24:11 openvpn[4499]: Control Channel Authentication: tls-auth using INLINE static key file
Mar 4 13:24:11 openvpn[4499]: Outgoing Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mar 4 13:24:11 openvpn[4499]: Incoming Control Channel Authentication: Using 160 bit message hash 'SHA1' for HMAC authentication
Mar 4 13:24:11 openvpn[4499]: Socket Buffers: R=[114688->131072] S=[114688->131072]
Mar 4 13:24:11 openvpn[4501]: UDPv4 link local: [undef]
Mar 4 13:24:11 openvpn[4501]: UDPv4 link remote: [AF_INET]93.182.149.2:1194
Mar 4 13:24:11 openvpn[4501]: TLS: Initial packet from [AF_INET]93.182.149.2:1194, sid=e0545b2d 2053a238
Mar 4 13:24:11 openvpn[4501]: WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Mar 4 13:24:11 openvpn[4501]: VERIFY OK: depth=1, C=SE, ST=Bryggland, L=Oeldal, O=Royal Swedish Beer Squadron, OU=Internetz, CN=Royal Swedish Beer Squadron CA, emailAddress=hostmaster@ipredator.se
Mar 4 13:24:11 openvpn[4501]: VERIFY OK: nsCertType=SERVER
Mar 4 13:24:11 openvpn[4501]: VERIFY OK: depth=0, C=SE, ST=Bryggland, L=Oeldal, O=Royal Swedish Beer Squadron, OU=Internetz, CN=pw.openvpn.ipredator.se, emailAddress=hostmaster@ipredator.se
Mar 4 13:24:12 openvpn[4501]: Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Mar 4 13:24:12 openvpn[4501]: Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mar 4 13:24:12 openvpn[4501]: Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Mar 4 13:24:12 openvpn[4501]: Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
Mar 4 13:24:12 openvpn[4501]: Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 2048 bit RSA
Mar 4 13:24:12 openvpn[4501]: [pw.openvpn.ipredator.se] Peer Connection Initiated with [AF_INET]93.182.149.2:1194
Mar 4 13:24:14 openvpn[4501]: SENT CONTROL [pw.openvpn.ipredator.se]: 'PUSH_REQUEST' (status=1)
Mar 4 13:24:14 openvpn[4501]: PUSH: Received control message: 'PUSH_REPLY,route 93.182.149.2 255.255.255.255 net_gateway,route-gateway 93.182.149.1,redirect-gateway def1,topology subnet,dhcp-option DOMAIN ipredator.se,dhcp-option DNS 93.182.132.32,dhcp-option DNS 93.182.182.93,ip-win32 dynamic,ping 10,ping-restart 60,ifconfig 93.182.149.105 255.255.255.128'
Mar 4 13:24:14 openvpn[4501]: Options error: Unrecognized option or missing parameter(s) in [PUSH-OPTIONS]:8: ip-win32 (2.3.0)
Mar 4 13:24:14 openvpn[4501]: OPTIONS IMPORT: timers and/or timeouts modified
Mar 4 13:24:14 openvpn[4501]: OPTIONS IMPORT: --ifconfig/up options modified
Mar 4 13:24:14 openvpn[4501]: OPTIONS IMPORT: route options modified
Mar 4 13:24:14 openvpn[4501]: OPTIONS IMPORT: route-related options modified
Mar 4 13:24:14 openvpn[4501]: OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Mar 4 13:24:14 openvpn[4501]: WARNING: potential conflict between --remote address [93.182.149.2] and --ifconfig address pair [93.182.149.105, 255.255.255.128] -- this is a warning only that is triggered when local/remote addresses exist within the same /24 subnet as --ifconfig endpoints. (silence this warning with --ifconfig-nowarn)
Mar 4 13:24:14 openvpn[4501]: TUN/TAP device tun0 opened
Mar 4 13:24:14 openvpn[4501]: TUN/TAP TX queue length set to 100
Mar 4 13:24:14 openvpn[4501]: /sbin/route add -net 93.182.149.2 netmask 255.255.255.255 gw 62.214.64.181
Mar 4 13:24:14 openvpn[4501]: /sbin/route add -net 0.0.0.0 netmask 128.0.0.0 gw 93.182.149.1
Mar 4 13:24:14 openvpn[4501]: /sbin/route add -net 128.0.0.0 netmask 128.0.0.0 gw 93.182.149.1
Mar 4 13:24:14 openvpn[4501]: /sbin/route add -net 93.182.149.2 netmask 255.255.255.255 gw 62.214.64.181
Mar 4 13:24:14 openvpn[4501]: ERROR: Linux route add command failed: external program exited with error status: 1
Mar 4 13:24:14 openvpn[4501]: Initialization Sequence Completed
Mar 4 13:24:19 openvpn[4501]: event_wait : Interrupted system call (code=4)
Mar 4 13:24:19 openvpn[4501]: OpenVPN STATISTICS
Mar 4 13:24:19 openvpn[4501]: Updated,Mon Mar 4 13:24:19 2013
Mar 4 13:24:19 openvpn[4501]: TUN/TAP read bytes,5058
Mar 4 13:24:19 openvpn[4501]: TUN/TAP write bytes,173
Mar 4 13:24:19 openvpn[4501]: TCP/UDP read bytes,7010
Mar 4 13:24:19 openvpn[4501]: TCP/UDP write bytes,8823
Mar 4 13:24:19 openvpn[4501]: Auth read bytes,173
Mar 4 13:24:19 openvpn[4501]: pre-compress bytes,3906
Mar 4 13:24:19 openvpn[4501]: post-compress bytes,3846
Mar 4 13:24:27 openvpn[4501]: event_wait : Interrupted system call (code=4)
Mar 4 13:24:27 openvpn[4501]: OpenVPN STATISTICS
Mar 4 13:24:27 openvpn[4501]: Updated,Mon Mar 4 13:24:27 2013
Mar 4 13:24:27 openvpn[4501]: TUN/TAP read bytes,7768
Mar 4 13:24:27 openvpn[4501]: TUN/TAP write bytes,1259
Mar 4 13:24:27 openvpn[4501]: TCP/UDP read bytes,8490
Mar 4 13:24:27 openvpn[4501]: TCP/UDP write bytes,11670
Mar 4 13:24:27 openvpn[4501]: Auth read bytes,1259
Mar 4 13:24:27 openvpn[4501]: pre-compress bytes,3906
Mar 4 13:24:27 openvpn[4501]: post-compress bytes,3846
Mar 4 13:24:30 openvpn[4501]: event_wait : Interrupted system call (code=4)
Mar 4 13:24:30 openvpn[4501]: OpenVPN STATISTICS
Mar 4 13:24:30 openvpn[4501]: Updated,Mon Mar 4 13:24:30 2013
Mar 4 13:24:30 openvpn[4501]: TUN/TAP read bytes,17419
Mar 4 13:24:30 openvpn[4501]: TUN/TAP write bytes,1259
Mar 4 13:24:30 openvpn[4501]: TCP/UDP read bytes,8490
Mar 4 13:24:30 openvpn[4501]: TCP/UDP write bytes,21848
Mar 4 13:24:30 openvpn[4501]: Auth read bytes,1259
Mar 4 13:24:30 openvpn[4501]: pre-compress bytes,3906
Mar 4 13:24:30 openvpn[4501]: post-compress bytes,3846
Mar 4 13:24:47 openvpn[4501]: event_wait : Interrupted system call (code=4)
Mar 4 13:24:47 openvpn[4501]: OpenVPN STATISTICS
Mar 4 13:24:47 openvpn[4501]: Updated,Mon Mar 4 13:24:47 2013
Mar 4 13:24:47 openvpn[4501]: TUN/TAP read bytes,21532
Mar 4 13:24:47 openvpn[4501]: TUN/TAP write bytes,1765
Mar 4 13:24:47 openvpn[4501]: TCP/UDP read bytes,9187
Mar 4 13:24:47 openvpn[4501]: TCP/UDP write bytes,26940
Mar 4 13:24:47 openvpn[4501]: Auth read bytes,1765
Mar 4 13:24:47 openvpn[4501]: pre-compress bytes,3906
Mar 4 13:24:47 openvpn[4501]: post-compress bytes,3846
Mar 4 13:24:56 openvpn[4501]: event_wait : Interrupted system call (code=4)
Mar 4 13:24:56 openvpn[4501]: OpenVPN STATISTICS
Mar 4 13:24:56 openvpn[4501]: Updated,Mon Mar 4 13:24:56 2013
Mar 4 13:24:56 openvpn[4501]: TUN/TAP read bytes,21573
Mar 4 13:24:56 openvpn[4501]: TUN/TAP write bytes,1853
Mar 4 13:24:56 openvpn[4501]: TCP/UDP read bytes,9389
Mar 4 13:24:56 openvpn[4501]: TCP/UDP write bytes,27025
Mar 4 13:24:56 openvpn[4501]: Auth read bytes,1853
Mar 4 13:24:56 openvpn[4501]: pre-compress bytes,3906
Mar 4 13:24:56 openvpn[4501]: post-compress bytes,3846
The only problem is that with the VPN connected, I cannot access the internet using any of my devices, neither wired nor wireless. I have tried everything I can think of: firewall on/off, playing with the NAT settings, restarting devices, etc., but nothing seems to work. Is there some setting I'm missing or anything in my log that points to an error? Sorry if the answer is obvious but many many people seem to have this issue but I haven't been able to find a definitive answer anywhere.