TLS Error in OpenWRT
Posted: Tue Oct 20, 2015 1:10 pm
Hi there,
I'm trying to run openVPN in a OpenWRT router, I'm out of my country and I need to navigate like I'm in my home, I have follow some tutorials and my head is a mess now, but this are my config files:
Server config:
Client config:
And this is the error I'm getting:
I have generate my keys like 4 times, changes the directories, modify the config files... I don't know where is it the error.May you could help.
Thanks in advance.
I'm trying to run openVPN in a OpenWRT router, I'm out of my country and I need to navigate like I'm in my home, I have follow some tutorials and my head is a mess now, but this are my config files:
Server config:
Code: Select all
config 'openvpn' 'lan'
option 'enable' '1'
option 'port' '1194'
option 'proto' 'udp'
option 'dev' 'tun'
option 'ca' '/etc/openvpn/ca.crt'
option 'cert' '/etc/openvpn/server.crt'
option 'key' '/etc/openvpn/server.key'
option 'dh' 'dh1024.pem'
option 'tls-auth' '/etc/openvpn/ta.key 0'
option 'ifconfig_pool_persist' '/tmp/ipp.txt'
option 'keepalive' '10 120'
option 'comp_lzo' 'no'
option 'persist_key' '1'
option 'persist_tun' '1'
option 'status' '/var/log/openvpn-status.log'
option 'verb' '9'
option 'server' '10.0.0.0 255.255.255.0'
option 'client_to_client' '1'
list 'push' 'redirect-gateway def1'
list 'push' 'dhcp-option DNS 192.168.0.1'
list 'push' 'route 192.168.0.0 255.255.255.0'
Code: Select all
client
dev tun
proto udp
remote myserver 1194
resolv-retry infinite
nobind
persist-key
persist-tun
ca ca.crt
cert client1.crt
key client1.key
tls-auth ta.key 1
comp-lzo
verb 9
Code: Select all
daemon.notice openvpn(lan)[16465]: MULTI: multi_create_instance called
daemon.notice openvpn(lan)[16465]: X.X.X.X:59560 Re-using SSL/TLS context
daemon.notice openvpn(lan)[16465]: X.X.X.X:59560 Control Channel MTU parms [ L:1541 D:138 EF:38 EB:0 ET:0 EL:0 ]
daemon.notice openvpn(lan)[16465]: X.X.X.X:59560 Data Channel MTU parms [ L:1541 D:1450 EF:41 EB:4 ET:0 EL:0 ]
daemon.notice openvpn(lan)[16465]: X.X.X.X:59560 UDPv4 READ [42] from X.X.X.X:59560: P_CONTROL_HARD_RESET_CLIENT_V2 kid=0 sid=f189317b 51b86847 [ 4216079658 4158251462 1871985208 2938466926 2954037248 342 641054208 0 ]
daemon.notice openvpn(lan)[16465]: X.X.X.X:59560 TLS: Initial packet from X.X.X.X:59560, sid=f189317b 51b86847
daemon.err openvpn(lan)[16465]: X.X.X.X:59560 TLS Error: reading acknowledgement record from packet
Thanks in advance.