yannes
(usa Fedora)
Enviado em 09/04/2012 - 16:01h
Olá,
Configurei um servidor openvpn conforme configuração abaixo, porém o cliente windows não consegue conectar nesse servidor, segue abaixo erro:
No client windows apresenta o erro:
Mon Apr 09 15:48:33 2012 TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)
Mon Apr 09 15:48:33 2012 TLS Error: TLS handshake failed
No log do Servidor apresenta:
Mon Apr 9 15:49:08 2012 us=768567 TLS Error: cannot locate HMAC in incoming packet from 10.1.3.39:1194
SERVER.CONF
dev tun
proto udp
port 1194
server 192.168.168.0 255.255.255.0
push "route route 10.1.3.0 255.255.255.0"
comp-lzo
keepalive 10 120
max-clients 10
persist-key
persist-tun
ifconfig-pool-persist /etc/openvpn/ipp.txt
float
log-append /etc/openvpn/erros/servidor.log
verb 6
tls-server
dh /etc/openvpn/keys/dh1024.pem
ca /etc/openvpn/keys/ca.crt
cert /etc/openvpn/keys/servidor.crt
key /etc/openvpn/keys/servidor.key
tls-auth /etc/openvpn/keys/servidor.key
status /etc/openvpn/erros/servidor.status
IPTABLES SERVER
[root@localhost erros]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
CLIENT.CONF
remote 10.1.3.126
proto udp
port 1194
dev tun
client
pull
comp-lzo
keepalive 10 120
persist-key
persist-tun
float
tls-client
dh keys/dh1024.pem
ca keys/ca.crt
cert keys/client1.crt
key keys/client1.key
alguem me ajude por favor!!!!!