- VPN não conecta
+ Responder ao Tópico
-
VPN não conecta
Log do /var/log/messages
Ago 4 16:29:13 Barney ipsec_setup: Starting FreeS/WAN IPsec 1.95...
Ago 4 16:29:14 Barney ipsec_setup: Warning: loading /lib/modules/2.4.18-3U8_4cl/kernel/net/ipsec/ipsec.o will taint the kernel: no license
Aug 4 16:29:14 Barney ipsec_setup: KLIPS ipsec0 on eth0 200.xxx.16.x/255.255.255.0 broadcast 200.xxx.16.yyy
Aug 4 16:29:14 Barney ipsec_setup: ...FreeS/WAN IPsec started
Aug 4 16:29:15 Barney ipsec__plutorun: 003 "/etc/ipsec.secrets" line 1: PSK data malformed (input does not begin with format prefix): "a senha"
Aug 4 16:30:25 Barney ipsec__plutorun: 104 "greenline" #1: STATE_MAIN_I1: initiate
Aug 4 16:30:25 Barney ipsec__plutorun: 010 "greenline" #1: STATE_MAIN_I1: retransmission; will wait 20s for response
Aug 4 16:30:25 Barney ipsec__plutorun: 010 "greenline" #1: STATE_MAIN_I1: retransmission; will wait 40s for response
Aug 4 16:30:25 Barney ipsec__plutorun: 031 "greenline" #1: max number of retransmissions (2) reached STATE_MAIN_I1. No acceptable response to our first IKE message
Aug 4 16:30:25 Barney ipsec__plutorun: 000 "greenline" #1: starting keying attempt 2 of at most 3, but releasing whack
Aug 4 16:30:25 Barney ipsec__plutorun: ...could not start conn "greenline"
To todo enrolado..porfavor me ajude...
-
VPN não conecta
Pequeno probleminha comum de autenticaçao, bro... Qual tipo de autenticaçao voce esta usando? Chaves RSA ou segredo compartilhado, essas coisas?
Posta seu ipsec.conf ae, e me diz qual foi o procedimento que voce usou pra se autenticar.
-
VPN não conecta
ipsec.conf
config setup
interfaces=%defaultroute
klipsdebug=none
plutodebug=none
plutoload=%search
plutostart=%search
conn greenline
authby=secret
keyexchange=ike
keylife=8h
left=200.xxx.16.x
leftsubnet=132.0.0.1/255.255.0.0
leftnexthop=200.xxx.16.x
right=200.yyy.1.yyy
rightsubnet=132.4.0.1/255.255.0.0
rightnexthop=200.yyy.1.yyy
auto=start
ipsec.secrets
: PSK "a senha"