error13
(usa Ubuntu)
Enviado em 31/10/2013 - 14:57h
brunarega escreveu:
Coloca no começo do arquivo o parametro "mode server" no arquivo do servidor, add o parâmetro de log, depois verifica no logs para ver o q ele informa, vê se com o 3 ele te da alguma informação útil se não disser nada muda para 5 ou 6.
Ola Bruna Obrigado pela Dica
fiz as alteracoes no matriz.conf:
segue as alteracoes:
####################### server ####################
dev tap
port 5001
proto udp
ca keys/ca.crt
cert keys/matriz.crt
key keys/matriz.key
dh keys/dh1024.pem
server 192.168.255.0 255.255.255.0
push "route 10.0.0.0 255.255.255.0"
#push "dhcp-option DNS 192.168.0.1"
comp-lzo
max-clients 10
user nobody
group nogroup
persist-key
persist-tun
#log
status /var/log/openvpn/openvpn-status.log
log /var/log/openvpn/openvpn.log
log-append /var/log/openvpn/openvpn.log
#duplicate-cn
####################################################
gero esse log, mais nao achei muito esclarecedor!:
cat /var/log/openvpn/openvpn.log
Thu Oct 31 14:50:46 2013 OpenVPN 2.2.1 i686-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Feb 27 2013
Thu Oct 31 14:50:46 2013 WARNING: --keepalive option is missing from server config
Thu Oct 31 14:50:46 2013 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
Thu Oct 31 14:50:46 2013 TUN/TAP device tap0 opened
Thu Oct 31 14:50:46 2013 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Oct 31 14:50:46 2013 /sbin/ifconfig tap0 192.168.255.1 netmask 255.255.255.0 mtu 1500 broadcast 192.168.255.255
Thu Oct 31 14:50:46 2013 GID set to nogroup
Thu Oct 31 14:50:46 2013 UID set to nobody
Thu Oct 31 14:50:46 2013 UDPv4 link local (bound): [undef]
Thu Oct 31 14:50:46 2013 UDPv4 link remote: [undef]
Thu Oct 31 14:50:46 2013 Initialization Sequence Completed
Thu Oct 31 14:50:55 2013 179.209.116.128:5001 Re-using SSL/TLS context
Thu Oct 31 14:50:55 2013 179.209.116.128:5001 LZO compression initialized
Thu Oct 31 14:51:01 2013 179.209.116.128:5001 WARNING: 'ifconfig' is present in remote config but missing in local config, remote='ifconfig 192.168.255.12 192.168.255.12'
Thu Oct 31 14:51:01 2013 179.209.116.128:5001 [filial] Peer Connection Initiated with [AF_INET]x.209.x.x:5001
Thu Oct 31 14:51:01 2013 filial/179.209.116.128:5001 MULTI_sva: pool returned IPv4=192.168.255.2,
por ex: esse waring pode ser preocupante para intermitencia?