casals
New Around Here
Hello,
I've installed the 270.26 Merlin build on the RT-N66U and now I'm trying to configure the OpenVPN client - I want all traffic from all computers connected to the router to be redirected through the tunnel.
After setting all keys for the Client1 (Static Key/CA/Client Certificate/Client Key) I used the following settings:
--Basic Settings--
Start with WAN: Yes
Interface Type: TUN
Protocol: UDP
Firewall: Automatic
Auth Mode: TLS
Username/Pwd Auth: No
Extra HMAC auth: Disable
--Advanced Settings--
Poll Interval: 0
Redirect Internet Traffic: Yes
Accept DNS Configuration: Strict
Encryption Cypher: BF-CBC
Compression: Disabled
TLS Renegotiation Time: -1
Connection Retry: 30
Verify Server Certificate: No
Custom Configuration:
script-security 2
setenv FORWARD_COMPATIBLE 1
client
nobind
ns-cert-type server
reneg-sec 604800
sndbuf 100000
rcvbuf 100000
comp-lzo no
verb 3
setenv PUSH_PEER_INFO
I can turn the client on without any problems - but it has no apparent effect. All clients connected to the router seem to ignore the tunnel. I checked the system log and there was a TLS handshake error on it - which I couldn't figure why. I tried to change the configurations to use username/password authentication as well - with no success.
Here's what is being shown in the System Log:
Jun 16 15:15:15 openvpn[3524]: OpenVPN 2.3.0 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Mar 17 2013
Jun 16 15:15:15 openvpn[3524]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jun 16 15:15:15 openvpn[3524]: Socket Buffers: R=[114688->200000] S=[114688->200000]
Jun 16 15:15:15 openvpn[3528]: UDPv4 link local: [undef]
Jun 16 15:15:15 openvpn[3528]: UDPv4 link remote: [AF_INET]205.164.4.5:1194
Jun 16 15:16:15 openvpn[3528]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Jun 16 15:16:15 openvpn[3528]: TLS Error: TLS handshake failed
Jun 16 15:16:15 openvpn[3528]: SIGUSR1[soft,tls-error] received, process restarting
Jun 16 15:16:15 openvpn[3528]: Restart pause, 2 second(s)
Any ideas?
Thanks
I've installed the 270.26 Merlin build on the RT-N66U and now I'm trying to configure the OpenVPN client - I want all traffic from all computers connected to the router to be redirected through the tunnel.
After setting all keys for the Client1 (Static Key/CA/Client Certificate/Client Key) I used the following settings:
--Basic Settings--
Start with WAN: Yes
Interface Type: TUN
Protocol: UDP
Firewall: Automatic
Auth Mode: TLS
Username/Pwd Auth: No
Extra HMAC auth: Disable
--Advanced Settings--
Poll Interval: 0
Redirect Internet Traffic: Yes
Accept DNS Configuration: Strict
Encryption Cypher: BF-CBC
Compression: Disabled
TLS Renegotiation Time: -1
Connection Retry: 30
Verify Server Certificate: No
Custom Configuration:
script-security 2
setenv FORWARD_COMPATIBLE 1
client
nobind
ns-cert-type server
reneg-sec 604800
sndbuf 100000
rcvbuf 100000
comp-lzo no
verb 3
setenv PUSH_PEER_INFO
I can turn the client on without any problems - but it has no apparent effect. All clients connected to the router seem to ignore the tunnel. I checked the system log and there was a TLS handshake error on it - which I couldn't figure why. I tried to change the configurations to use username/password authentication as well - with no success.
Here's what is being shown in the System Log:
Jun 16 15:15:15 openvpn[3524]: OpenVPN 2.3.0 mipsel-unknown-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on Mar 17 2013
Jun 16 15:15:15 openvpn[3524]: NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Jun 16 15:15:15 openvpn[3524]: Socket Buffers: R=[114688->200000] S=[114688->200000]
Jun 16 15:15:15 openvpn[3528]: UDPv4 link local: [undef]
Jun 16 15:15:15 openvpn[3528]: UDPv4 link remote: [AF_INET]205.164.4.5:1194
Jun 16 15:16:15 openvpn[3528]: TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Jun 16 15:16:15 openvpn[3528]: TLS Error: TLS handshake failed
Jun 16 15:16:15 openvpn[3528]: SIGUSR1[soft,tls-error] received, process restarting
Jun 16 15:16:15 openvpn[3528]: Restart pause, 2 second(s)
Any ideas?
Thanks